aboutsummaryrefslogtreecommitdiff
path: root/crates/arti
Commit message (Collapse)AuthorAgeFilesLines
...
* arti: Migrate top-level configuration to dd(TorConfig).Nick Mathewson2026-02-244-144/+83
|
* arti: Port rpc configuration to dd(TorConfig).Nick Mathewson2026-02-243-74/+74
|
* arti: Port logging config to dd(TorConfig)Nick Mathewson2026-02-242-132/+71
|
* arti: Fix up proxy launching documentationNick Mathewson2026-02-192-3/+5
|
* arti: Extract responsibility for port listing.Nick Mathewson2026-02-196-98/+108
| | | | | Instead of doing this when we construct the listeners, we can do it in a separate method, to simplify the return type.
* arti: Refactor socks proxy launcher function.Nick Mathewson2026-02-192-16/+40
| | | | Part of #2301.
* arti: Refactor dns proxy launcher function.Nick Mathewson2026-02-192-9/+34
| | | | Part of #2301.
* arti: Enable experimental-api for onion-service-cli-extraGabriela Moldovan2026-02-181-0/+1
| | | | | | | The keymgr CLI uses the `TorClient::dirmgr()` experimental API to download the consensus. Closes #2364
* arti: test: hsc: add test get_fails_if_no_gen_and_no_keyhjrgrn2026-02-173-92/+151
| | | | | | - remove build_hsc_key_cmd in favor of KeyCmd - use KeyCmdBuilder in CTorMigrateCmd::keystore_contains_client_key to remove duplication - adapt hsc.rs to the changes
* Merge branch 'mr_3616_rebased' into 'main'Nick Mathewson2026-02-162-0/+42
|\ | | | | | | | | | | | | Mr 3616 rebased Closes #1800 See merge request tpo/core/arti!3681
| * docs: add outbound proxy implementation notesNihal2026-02-161-0/+21
| |
| * docs: add outbound proxyNihal2026-02-161-0/+21
| |
* | Allow clippy::collapsible_if to triggerGabriela Moldovan2026-02-162-0/+2
| | | | | | | | | | | | | | | | | | `clippy::collapsible_if` started triggering after bumping the MSRV to 1.88. Since this triggers from a lot of places, and since there even are a couple of instances where we explicitly allow `clippy::collapsible_ifs`, I've opened #2342 for deciding what to do about it.
* | Bump MSRV from 1.86 to 1.89Gabriela Moldovan2026-02-161-1/+1
| | | | | | | | | | | | | | As agreed at our last team meeting. See https://gitlab.torproject.org/tpo/core/arti/#minimum-supported-rust-version
* | Bump time to 0.3.47Gabriela Moldovan2026-02-161-1/+1
|/ | | | | | This enables us to un-ignore RUSTSEC-2026-0009. See #2341 for analysis of impact.
* arti: Use ErrorSources in extract_proto_errRobert Bartlensky2026-02-141-12/+5
|
* arti: Enable tor-hsservice/onion-service-cli-extra when needed (fmt)Gabriela Moldovan2026-02-111-1/+7
|
* arti: Enable tor-hsservice/onion-service-cli-extra when neededGabriela Moldovan2026-02-111-1/+1
| | | | | | | Without this change `arti` fails to compile with the `onion-service-cli` and `onion-service-service` features enabled. Closes #2347
* Don't log Circuit Closed errors as warningsrobertb2026-02-051-1/+6
|
* arti: note TROVE-2026-001 in semver.mdSteven Engler2026-02-041-0/+1
| | | | | This isn't really semver related, but should be added in the changelog, so here seems to be a reasonable place to put this.
* Merge branch 'int-test-scope' into 'main'wesleyac2026-02-033-31/+33
|\ | | | | | | | | arti: test: rescope entities form util.rs files See merge request tpo/core/arti!3624
| * arti: test: rescope entities form util.rs fileshjrgrn2026-02-033-31/+33
| |
* | Merge branch 'legacy-port-config' into 'main'David Goulet2026-02-032-12/+8
|\ \ | | | | | | | | | | | | arti: Improve handling of `-p` and `-d` options See merge request tpo/core/arti!3628
| * | arti: improve error message for invalid socks/dns portSteven Engler2026-02-022-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses the standard clap error messages, for example: ```text $ cargo run -p arti -- proxy -p 123a error: invalid value '123a' for '-p <PORT>': invalid digit found in string For more information, try '--help'. ```
| * | arti: improve help text for `-p` and `-d`Steven Engler2026-02-021-2/+2
| | |
* | | release: Remove semver.md files from 2.0.0 release.Wesley Aptekar-Cassels2026-02-021-10/+0
| | |
* | | Upgrade rlimit crate.Wesley Aptekar-Cassels2026-02-021-1/+1
|/ / | | | | | | | | The only breaking change here appears to be a MSRV bump that is lower than our MSRV, so no changes are required on our end.
* | release: Bump `arti` version to 2.0.0.Wesley Aptekar-Cassels2026-02-021-1/+1
| |
* | release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-021-26/+26
| | | | | | | | | | | | | | | | | | | | Done via: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.39.0 done ```
* | Merge branch 'legacy-port-config' into 'main'wesleyac2026-02-024-128/+31
|\ \ | |/ |/| | | | | | | | | arti: Remove `proxy.socks_port` and `proxy.dns_port` Closes #2300 See merge request tpo/core/arti!3622
| * arti: remove `resolve_listen_port!` macroSteven Engler2026-01-291-35/+0
| | | | | | | | | | | | I'm undecided whether we want to keep `resolve_alternative_specs` around, but it seems possible/likely that we'll want it in the future, so I think we can keep it.
| * arti: remove deprecated `proxy.dns_port` config optionSteven Engler2026-01-294-20/+6
| |
| * arti: remove deprecated `proxy.socks_port` config optionSteven Engler2026-01-294-21/+11
| |
| * arti: small changes to socks/dns listen config testsSteven Engler2026-01-291-16/+13
| |
| * arti: relax '_listen'/'_port' config compat testsSteven Engler2026-01-291-40/+2
| | | | | | | | | | This is in preparation for removing the `listen_port` and `dns_port` config options.
| * arti: reword+reformat warning messageSteven Engler2026-01-291-1/+4
| |
* | Merge branch 'main' into 'main'gabi-2502026-02-021-1/+1
|\ \ | | | | | | | | | | | | fix(minver): Update paste dependency to be minver compatible See merge request tpo/core/arti!3610
| * | fix(minver): Update paste dependency to be minver compatibleSamuel Cobb2026-01-261-1/+1
| | |
* | | cli_tests: Rename tests for clarity and consistencyGabriela Moldovan2026-02-021-3/+3
| | |
* | | cli_tests: Insert spacing between top-level itemsGabriela Moldovan2026-02-021-0/+8
| | | | | | | | | | | | For readability.
* | | cli_tests: Fix typo in test nameGabriela Moldovan2026-02-021-2/+2
| | |
* | | cli_tests: Clarify a comment in ctor-migrate testGabriela Moldovan2026-02-021-1/+1
| | |
* | | cli_tests: Rename test closure for clarityGabriela Moldovan2026-02-021-3/+3
| | | | | | | | | | | | | | | The previous name was misleading (the closure asserts the exact opposite).
* | | Add integration test suite for `hsc ctor-migrate` subcommandhjrgrn2026-02-0218-91/+485
| | |
* | | Merge branch 'release-2.0.0-fixup-features' into 'main'wesleyac2026-01-291-0/+1
|\ \ \ | |_|/ |/| | | | | | | | release: run fixup-features. See merge request tpo/core/arti!3620
| * | release: run fixup-features.Wesley Aptekar-Cassels2026-01-291-0/+1
| | |
* | | arti: Do not panic when invalid ports are given as arguments to proxyNiel Duysters2026-01-301-2/+8
|/ / | | | | | | Use anyhow::Context to wrap error in useful message.
* | arti: Pass the request by referenceGabriela Moldovan2026-01-271-2/+2
| | | | | | | | This resolves a newly-triggered lint.
* | arti: Make internal helper synchronousGabriela Moldovan2026-01-271-2/+2
| |
* | maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-272-0/+2
| | | | | | | | This adds the lint to all our crates.