aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | proto: Make ChannelProvider::get_or_launch() synchronousGabriela Moldovan2026-02-043-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | This just removes an unnecessary `async`.
* | | | | | Merge branch 'feature/cmdline-paths' into 'main'Nick Mathewson2026-02-091-2/+10
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | Allow to set paths in CLI arguments See merge request tpo/core/arti!3556
| * | | | | Expand allowable unquoted syntax for configuration arguments in CLI.carti-it2026-02-091-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | The set of allowable characters now includes colon, dot, slash, and backslash. This makes it a bit more convenient to pass in paths.
* | | | | | Don't log Circuit Closed errors as warningsrobertb2026-02-051-1/+6
| |_|/ / / |/| | | |
* | | | | tor-dirclient: Document retriability of failuresClara Engler2026-02-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | This commit documents the retriability of `RequestFailedError`, following an IRC conversation with nickm.
* | | | | chanmgr: Always use connect target for error reportingDavid Goulet2026-02-041-14/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | | chanmgr: Use the new tor-proto relay channel APIDavid Goulet2026-02-041-43/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With specific types now for relay channels, add a function to build the channel and run the reactor. That function is feature gated and thus relay only. Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Add missing clock_skew() to unverified channelsDavid Goulet2026-02-043-8/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Remove unused traits after type refactoringDavid Goulet2026-02-041-73/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Make channel client to use a specific typeDavid Goulet2026-02-041-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the use of traits, the caller will handle the specific type. Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Relay channel code cleanupDavid Goulet2026-02-041-323/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need for these types, we've replaced them with more specific types. Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Introduce new relay responder channel typesDavid Goulet2026-02-043-20/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the unverified, verified, non verifiable flavor types of a responder channel. This follow on the previous commit to use the type system for stronger guarantees. Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Introduce new relay initiator channel typesDavid Goulet2026-02-043-4/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the Unverified and Verified flavor of a relay channel specific to an initiator. We decided to use the type system for safety and avoid patterns like: "if chan.is_initiator() {...} else {...}" This allows us also to not duplicate code between initiator and responder code. The downside is that we expose these types outside of tor-proto meaning the caller needs to feature gate the usage of these types with the "relay" flag. Small price to pay for strong guarantees with the type system. Signed-off-by: David Goulet <[email protected]>
* | | | | proto: Move the ChannelAuthenticationData::build() function into the object ↵David Goulet2026-02-041-0/+85
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | itself Previous function "build_auth_data()" is still around but will be removed in the upcoming commits. Signed-off-by: David Goulet <[email protected]>
* | | | Merge branch 'bwd-msg-send-refactor' into 'main'gabi-2502026-02-043-22/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | proto: Replace send_sendme() with general-purpose function See merge request tpo/core/arti!3641
| * | | | proto: Remove assumption that we are a relay from BWD docGabriela Moldovan2026-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | This was leftover from back when the BWD was a relay-specific type.
| * | | | proto: Replace SendSendme with a more general-purpose command (fmt)Gabriela Moldovan2026-02-041-5/+4
| | | | |
| * | | | proto: Replace SendSendme with a more general-purpose commandGabriela Moldovan2026-02-043-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | This will soon be used for instructing the BWD to send other types of messages too.
| * | | | proto: Replace send_sendme() with general-purpose functionGabriela Moldovan2026-02-041-8/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | The backward reactor will soon need the ability to send other types of relay messages too: it will soon need the ability to respond to EXTEND2 by sending back an EXTENDED2, so I am preemptively making this function more general so we can reuse it.
* / | | 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 'upgrade-getrandom-0.4.0' into 'main'Alexander Hansen Færøy2026-02-032-2/+2
|\ \ \ | | | | | | | | | | | | | | | | deps: Upgrade getrandom to 0.4.0. See merge request tpo/core/arti!3633
| * | | deps: Upgrade getrandom to 0.4.0.Wesley Aptekar-Cassels2026-02-022-2/+2
| | | | | | | | | | | | | | | | This does not have any breaking changes that affect us.
* | | | arti-relay: launch the client's background tasksSteven Engler2026-02-032-9/+41
| | | |
* | | | arti-relay: rename 'bootstrap()' method to 'init()'Steven Engler2026-02-032-7/+8
| | | | | | | | | | | | | | | | This method won't really be used for bootstrapping anymore.
* | | | arti-relay: remove old TODOSteven Engler2026-02-031-10/+0
| | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/2329
* | | | arti-relay: move code into a "client" objectSteven Engler2026-02-033-64/+129
| | | |
* | | | 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-027-25/+0
| |_|/ / / |/| | | |
* | | | | Merge branch 'tls-cows' into 'main'Nick Mathewson2026-02-029-27/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rtcompat: Return certificates as Cow. Closes #2331 See merge request tpo/core/arti!3619
| * | | | | rtcompat: Return certificates as Cow.Nick Mathewson2026-02-029-27/+38
| | | | | |
* | | | | | 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: Update release date.Wesley Aptekar-Cassels2026-02-021-1/+1
|/ / / /
* | | | release: Update hashx and equix benches.Wesley Aptekar-Cassels2026-02-022-81/+81
| | | |
* | | | release: bump-nodep various crates.Wesley Aptekar-Cassels2026-02-0210-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were all only changed by a98faf72, which simply adds deny statements for clippy::unused_async in various places. It's not clear to me that we even need to bump these versions, but that seems to be what our release documentation implies.
* | | | release: Bump `slotmap-careful` to 0.6.0.Wesley Aptekar-Cassels2026-02-027-7/+7
| | | | | | | | | | | | | | | | Since we removes a existing feature, we need to bump the version.
* | | | release: Bump `arti` version to 2.0.0.Wesley Aptekar-Cassels2026-02-023-3/+3
| | | |
* | | | release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-0254-507/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-026-207/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Remove `proxy.socks_port` and `proxy.dns_port` Closes #2300 See merge request tpo/core/arti!3622
| * | | | tor-config: remove `resolve_alternative_specs` functionSteven Engler2026-02-012-81/+1
| | | | |
| * | | | arti: remove `resolve_listen_port!` macroSteven Engler2026-01-292-38/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | |
* | | | | rtcompat: tweaks to no-tls-server case.Nick Mathewson2026-02-021-0/+9
| | | | |