| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Replace signal-hook-async-std with async-signal to fix RUSTSEC-2024-0384 | Vijaya Bhaskar | 2025-04-26 | 1 | -4/+3 |
| | | |||||
| * | arti,arti-client: Add an option to override required protocols | Nick Mathewson | 2025-04-16 | 2 | -0/+15 |
| | | | | | | (This isn't a boolean, because we really don't want people ignoring all possible required protocols.) | ||||
| * | Remove hsc quiet and force flags in favor of batch | hjrgrn | 2025-04-14 | 1 | -33/+31 |
| | | |||||
| * | metrics: config tests: Correct a comment | Ian Jackson | 2025-04-08 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185867 | ||||
| * | metrics: config: Correct the docs on the MetricsConfig type | Ian Jackson | 2025-04-08 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185866 | ||||
| * | metrics: config: Correct the docs on the listen config field | Ian Jackson | 2025-04-08 | 1 | -9/+4 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185864 | ||||
| * | metrics: config: Fix typo in the example config file | Ian Jackson | 2025-04-08 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185863 | ||||
| * | metrics: config: Correct the docs in the example config file | Ian Jackson | 2025-04-08 | 1 | -1/+2 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185862 | ||||
| * | arti: cfg tests: Improve formatting of an assert | Ian Jackson | 2025-04-08 | 1 | -3/+6 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185859 | ||||
| * | arti: Optionally set up a Prometheus metrics exporter | Ian Jackson | 2025-04-08 | 3 | -0/+150 |
| | | | | | | | | | | | | | | New cargo feature `metrics`, currently experimental. New config option `metrics.prometheus.listen`. Uses standard `Listen` syntax, but not every configuration is supported due to upstream limitations. If the config option is set, use metrics-exporter-prometheus to offer an HTTP scrape endpoint. Or, if compiled out, fail. Currently there are no actual metrics exported at all. | ||||
| * | arti: cfg tests: On mismatch, report which config file | Ian Jackson | 2025-04-08 | 1 | -2/+2 |
| | | | | | | Otherwise it can be very confusing pushing the bump in the carpet back and forth. | ||||
| * | arti: Fix TODO: Rework test: onion_proxy::build_list | playbahn | 2025-04-01 | 1 | -71/+31 |
| | | |||||
| * | arti: onion_proxy::build_list: fix TODO: Add test | playbahn | 2025-04-01 | 1 | -6/+104 |
| | | |||||
| * | Add examples and tests for RPC options. | Nick Mathewson | 2025-03-25 | 3 | -3/+121 |
| | | | | | Closes #1830. | ||||
| * | arti: warn when rpc options are set without rpc feature. | Nick Mathewson | 2025-03-25 | 1 | -0/+21 |
| | | | | | Closes #1309. | ||||
| * | Merge branch '1630-scrub-address-from-output' into 'main' | gabi-250 | 2025-03-19 | 1 | -23/+28 |
| |\ | | | | | | | | | | | | | hsc: remove onion-address flag in favour of stdin Closes #1630 See merge request tpo/core/arti!2861 | ||||
| | * | hsc: Improve get_onion_address function | hjrgrn | 2025-03-18 | 1 | -2/+3 |
| | | | |||||
| | * | hsc: Add --quite CLI flag | hjrgrn | 2025-03-17 | 1 | -10/+15 |
| | | | | | | | | | | | * Add `quite` to the common arguments * Substitute dialoguer in favor of `read_line` in `get_onion_address` | ||||
| | * | hsc: Improve get_onion_address function | hjrgrn | 2025-03-17 | 1 | -4/+3 |
| | | | |||||
| | * | hsc: remove onion-address flag in favour of stdin | hjrgrn | 2025-03-14 | 1 | -22/+22 |
| | | | | | | | | | | | * The user will be prompted interactively for the onion-address to prevent onion-address leaking in shell history | ||||
| * | | Merge branch 'hsc-lf' into 'main' | gabi-250 | 2025-03-18 | 1 | -1/+1 |
| |\ \ | |/ |/| | | | | | arti: hsc-key-get: Print LF after discovery key See merge request tpo/core/arti!2856 | ||||
| | * | arti: hsc-key-get: Print LF after discovery key | playbahn | 2025-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | Did not print a newline after service discovery key. Looked bad. Prints newline now. Looks better. | ||||
| * | | hsc: remove TODO about display_service_discovery_key error handling. | hjrgrn | 2025-03-14 | 1 | -1/+0 |
| |/ | |||||
| * | Deprecate --onion-name; introduce --onion-address | disha | 2025-03-12 | 2 | -30/+42 |
| | | |||||
| * | arti: Remove incorrect deprecation warning in hsc | hjrgrn | 2025-03-10 | 1 | -1/+0 |
| | | |||||
| * | tor-rtcompat: Remove ToplevelBlockon from Runtime | Ian Jackson | 2025-03-04 | 2 | -5/+5 |
| | | | | | | | | | Introduce ToplevelRuntime as an alias, and use it in the top-level programs. Now none of the principal protocol implementation code has access to the executor's toplevel entrypoint, and can't call it by mistake. | ||||
| * | arti: Disable color when stdout is not a tty. | Nick Mathewson | 2025-02-24 | 1 | -1/+7 |
| | | | | | | Closes #1763. Closes #1862. | ||||
| * | socks.rs: Update documentation; RpcDataStream has been renamed. | Nick Mathewson | 2025-01-30 | 1 | -9/+5 |
| | | |||||
| * | rpc: Correct API documentation about optimism | Nick Mathewson | 2025-01-30 | 1 | -2/+1 |
| | | | | | | | | | | | | Our documentation had dated to an older version of our RPC stream code, where all streams were automatically optimistic. But as explained, our use of "optimistic"ness in RPC stream code is now purely internal, to make it possible to get an DataStreamCtrl. This isn't user-visible in our rpc_conn_open_stream code. Closes #1583 | ||||
| * | Merge branch 'rpc-missing-dir' into 'main' | Nick Mathewson | 2025-01-23 | 1 | -8/+16 |
| |\ | | | | | | | | | rpc: Tolerate NotFound on configured connect point directory. See merge request tpo/core/arti!2735 | ||||
| | * | connpts: Document behavior on nonexistent directory | Nick Mathewson | 2025-01-23 | 1 | -0/+2 |
| | | | |||||
| | * | rpc: Tolerate NotFound on configured connect point directory. | Nick Mathewson | 2025-01-23 | 1 | -8/+14 |
| | | | | | | | | | | | | | | | | | If Arti tries to bind to a directory of connect points, and that directory isn't there, the right behavior is to treat the directory as if it were empty. Otherwise, the user would have to create the default connect point directory (as empty) before Arti would start. | ||||
| * | | arti: Make Rpc argument unconditional when constructing socks proxy | Nick Mathewson | 2025-01-23 | 6 | -33/+43 |
| | | | | | | | | | | | | | Formerly this was a conditional method argument, which is a huge antipattern. Now it is unconditionally present, as `Option<T>` for a type that is uninhabited when RPC isn't supported. | ||||
| * | | arti::socks: Re-wrap a section. | Nick Mathewson | 2025-01-23 | 1 | -2/+3 |
| | | | | | | | | | | | rust-analyzer keeps re-wrapping this piece for me, even though rustfmt doesn't complain. | ||||
| * | | arti: remove an obsolete rpc todo. | Nick Mathewson | 2025-01-23 | 1 | -1/+0 |
| | | | | | | | | | Information _is_ passed to the RpcMgr, via the argument to new_connection. | ||||
| * | | arti: remove an obsolete rpc todo. | Nick Mathewson | 2025-01-23 | 1 | -1/+0 |
| | | | | | | | | | | | The RpcMgr does indirectly hold a reference to the client, via its make_session argument. | ||||
| * | | arti: remove an obsolete rpc todo. | Nick Mathewson | 2025-01-23 | 1 | -1/+0 |
| | | | | | | | | | We _do_ have error detection from this function, and have for ages. | ||||
| * | | arti: Remove old workaround for runtime selection under RPC. | Nick Mathewson | 2025-01-23 | 1 | -6/+1 |
| |/ | | | | | This was necessary before we had support for implementing RPC methods on generic types. | ||||
| * | rpc: Rename new_stream_handle to new_oneshot_client. | Nick Mathewson | 2025-01-15 | 1 | -1/+1 |
| | | | | | | | | | This method doesn't actually create a new stream; it creates a single-use client object that can be used with SOCKS to launch a new stream, and capture an RPC object for that stream. Closes #1664. | ||||
| * | arti-rpcserver: Tell connections what kind of auth to expect. | Nick Mathewson | 2025-01-15 | 1 | -13/+1 |
| | | |||||
| * | Merge branch 'mod-module-files' into 'main' | Nick Mathewson | 2025-01-07 | 2 | -0/+2 |
| |\ | | | | | | | | | clippy: deny `mod_module_files` See merge request tpo/core/arti!2689 | ||||
| | * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 2 | -0/+2 |
| | | | | | | | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | | fix: fix typos | Dimitris Apostolou | 2025-01-06 | 1 | -1/+1 |
| |/ | |||||
| * | rpc: Add a test for config parsing and defaults. | Nick Mathewson | 2024-12-19 | 2 | -1/+90 |
| | | |||||
| * | rpc: Clarify listen_defaults behavior. | Nick Mathewson | 2024-12-19 | 1 | -1/+2 |
| | | |||||
| * | rpc: Rename RpcListnerConfig=>RpcListenerSetConfig to clarify plurality. | Nick Mathewson | 2024-12-19 | 1 | -14/+17 |
| | | |||||
| * | rpc: Test that we can parse our defaults. | Nick Mathewson | 2024-12-19 | 2 | -1/+35 |
| | | |||||
| * | rpc: comments to explain where connect points are disabled. | Nick Mathewson | 2024-12-19 | 2 | -1/+7 |
| | | |||||
| * | rpc: Make names reflect configuration keys better. | Nick Mathewson | 2024-12-19 | 1 | -17/+11 |
| | | |||||
| * | rpc: Document that default-index is 1-based | Nick Mathewson | 2024-12-19 | 2 | -1/+5 |
| | | |||||
