summaryrefslogtreecommitdiff
path: root/crates/arti
Commit message (Collapse)AuthorAgeFilesLines
* Bump versions: set version of arti to 2.2.0Ian Jackson2026-03-301-1/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773
* Bump versions: tor-* and arti-* unstable cratesIan Jackson2026-03-301-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773 Made with nailing-cargo -Eu set-version -p arti-client 0.41.0 nailing-cargo -Eu set-version -p arti-relay 0.41.0 nailing-cargo -Eu set-version -p arti-rpcserver 0.41.0 nailing-cargo -Eu set-version -p arti-ureq 0.41.0 nailing-cargo -Eu set-version -p arti-rpc-client-core 0.41.0 nailing-cargo -Eu set-version -p tor-basic-utils 0.41.0 nailing-cargo -Eu set-version -p tor-error 0.41.0 nailing-cargo -Eu set-version -p tor-general-addr 0.41.0 nailing-cargo -Eu set-version -p tor-geoip 0.41.0 nailing-cargo -Eu set-version -p tor-memquota-cost 0.41.0 nailing-cargo -Eu set-version -p tor-llcrypto 0.41.0 nailing-cargo -Eu set-version -p tor-cert-x509 0.41.0 nailing-cargo -Eu set-version -p tor-rtcompat 0.41.0 nailing-cargo -Eu set-version -p tor-rtmock 0.41.0 nailing-cargo -Eu set-version -p tor-async-utils 0.41.0 nailing-cargo -Eu set-version -p tor-config 0.41.0 nailing-cargo -Eu set-version -p tor-config-path 0.41.0 nailing-cargo -Eu set-version -p tor-rpc-connect 0.41.0 nailing-cargo -Eu set-version -p tor-log-ratelim 0.41.0 nailing-cargo -Eu set-version -p tor-rpcbase 0.41.0 nailing-cargo -Eu set-version -p tor-memquota 0.41.0 nailing-cargo -Eu set-version -p tor-units 0.41.0 nailing-cargo -Eu set-version -p tor-bytes 0.41.0 nailing-cargo -Eu set-version -p tor-protover 0.41.0 nailing-cargo -Eu set-version -p tor-checkable 0.41.0 nailing-cargo -Eu set-version -p tor-cert 0.41.0 nailing-cargo -Eu set-version -p tor-key-forge 0.41.0 nailing-cargo -Eu set-version -p tor-hscrypto 0.41.0 nailing-cargo -Eu set-version -p tor-socksproto 0.41.0 nailing-cargo -Eu set-version -p tor-linkspec 0.41.0 nailing-cargo -Eu set-version -p tor-cell 0.41.0 nailing-cargo -Eu set-version -p tor-persist 0.41.0 nailing-cargo -Eu set-version -p tor-keymgr 0.41.0 nailing-cargo -Eu set-version -p tor-relay-crypto 0.41.0 nailing-cargo -Eu set-version -p tor-proto 0.41.0 nailing-cargo -Eu set-version -p tor-netdoc 0.41.0 nailing-cargo -Eu set-version -p tor-consdiff 0.41.0 nailing-cargo -Eu set-version -p tor-netdir 0.41.0 nailing-cargo -Eu set-version -p tor-relay-selection 0.41.0 nailing-cargo -Eu set-version -p tor-chanmgr 0.41.0 nailing-cargo -Eu set-version -p tor-ptmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dircommon 0.41.0 nailing-cargo -Eu set-version -p tor-guardmgr 0.41.0 nailing-cargo -Eu set-version -p tor-circmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dirclient 0.41.0 nailing-cargo -Eu set-version -p tor-dirmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dirserver 0.41.0 nailing-cargo -Eu set-version -p tor-hsclient 0.41.0 nailing-cargo -Eu set-version -p tor-hsservice 0.41.0 nailing-cargo -Eu set-version -p tor-hsrproxy 0.41.0
* Bump versions: patchlevel, with dependenciesIan Jackson2026-03-301-1/+1
| | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773 Made with cargo set-version --offline --bump patch -p safelog
* Merge branch 'fixup-features' into 'main'Ian Jackson2026-03-301-0/+1
|\ | | | | | | | | Fix up cargo features See merge request tpo/core/arti!3828
| * Plumb web-time-compat/full dependency through everywhere.Ian Jackson2026-03-301-0/+1
| | | | | | | | As generated by maint/fixup-features.
* | arti: test: rename unrecognized-entry to hs_unrecognized_entry to fix the CIhjrgrn2026-03-304-3/+3
| | | | | | | | This changes save us from adding a new entry in .editorconfig
* | arti: test: correct typo in hss.rshjrgrn2026-03-301-2/+2
| |
* | arti: test: Add description of the test file structure of the keys test suitehjrgrn2026-03-301-0/+43
| |
* | arti: tests: Rename some keys test files using more intuitive nameshjrgrn2026-03-304-5/+5
| |
* | arti: test: Update tests README.mdhjrgrn2026-03-301-5/+18
| |
* | arti: test: Remove unused test data hsc-common/hsc.inhjrgrn2026-03-305-37/+0
|/ | | | | These test files were previously used by hsc-common/hsc.md but are now ignored
* Merge branch 'webtime-v3' into 'main'Nick Mathewson2026-03-262-6/+4
|\ | | | | | | | | | | | | Port to use web-time for compatibility with wasm32 Closes #2356 See merge request tpo/core/arti!3820
| * arti: Port to web-time-compat.Nick Mathewson2026-03-262-6/+4
| |
* | Merge branch 'http-connect-wrapup' into 'main'Nick Mathewson2026-03-267-27/+101
|\ \ | |/ |/| | | | | | | | | arti: Add option and documentation for http connect, then mark it stable. Closes #2409 See merge request tpo/core/arti!3811
| * Feature-gate the proxy.enable_http_connect optionNick Mathewson2026-03-261-1/+14
| |
| * Mark the http-connect feature as stable.Nick Mathewson2026-03-251-2/+2
| | | | | | | | | | | | | | (It is not yet in default, though we intend that it eventually should be.) Closes #2409.
| * arti: Add an option to disable http_connect.Nick Mathewson2026-03-256-25/+86
| | | | | | | | | | | | | | | | | | This option affects all socks listeners, because: - We don't have a convenient way to associate an option with each port. - The main purpose of having this option is as a switch in case we discover a major problem with this code.
* | arti: Mostly make clippy happy for wasm with --no-default-features.Nick Mathewson2026-03-253-1/+5
| | | | | | | | | | (With no-default-features there is no runtime, and that still causes a compiler error.)
* | docs: fix config file path on windowsSteven Engler2026-03-241-1/+1
|/
* Fix typosTobias Stoeckmann2026-03-244-4/+4
| | | | Typos found with codespell
* tor-chanmgr: add base64ct dependency and docsNihal2026-03-181-7/+16
|
* Merge branch 'typos' into 'main'opara2026-03-164-4/+4
|\ | | | | | | | | Fix various typos See merge request tpo/core/arti!3781
| * Fix word duplicate typosTobias Stoeckmann2026-03-154-4/+4
| |
* | rpc: Add support for set_dormant.Nick Mathewson2026-03-163-7/+60
| | | | | | | | | | This is not exactly the most _urgent_ superuser functionality, but it is probably the easiest to implement.
* | rpc: Implement superuser mode.Nick Mathewson2026-03-164-7/+50
| | | | | | | | | | When connection point provides superuser support, provide a (currently inert) RpcSuperuser object to the RPC session.
* | rpc: Move responsibility for Session creation to ConnectionNick Mathewson2026-03-161-3/+10
|/ | | | | The Connection will know the options that the listener was created with, as opposed to RpcMgr, which is the same for every listener.
* arti: Bump trycmd to 1.0.0Gabriela Moldovan2026-03-041-1/+1
|
* Bump toml to 1.0.3Gabriela Moldovan2026-03-041-1/+1
|
* Remove semver.md files post-releaseGabriela Moldovan2026-03-031-1/+0
|
* arti: Add placeholder derive-deftly featureGabriela Moldovan2026-03-022-1/+5
| | | | | | | | | | | `derive-deftly` used to be an optional dependency in `arti` (with a corresponding `derive-deftly` feature to enable it). In 28081850a5b475e9ae557a926d7f9a08a2ac9c82, we made `derive-deftly` a non-optional dependency, which made the implicit feature disappear. This was detected as a semver breakage by `cargo-semver-checks`, so I am adding a placeholder deprecated feature to make sure this doesn't break anyone's builds.
* Bump arti crate to 2.1.0Gabriela Moldovan2026-03-021-1/+1
| | | | | | | | Done using: ``` cargo set-version --bump minor -p arti ```
* Bump all the unstable tor- and arti- crates to 0.40.0.Gabriela Moldovan2026-03-021-26/+26
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.40.0 done
* Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2026-03-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list-crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` Because this release bumps the MSRV, I am bumping the minor version of all of them. MINOR=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* arti: Fix some visibility-based compilation errors.Nick Mathewson2026-02-242-6/+10
|
* 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
|