| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We need the unique_id here, because the Forward handler will soon start
using the `ChannelProvider::get_or_launch()` to launch outbound
channels, which takes the reactor unique_id as an argument.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The channel provider is relay-specific, so I am moving it to the relay
`ForwardHandler` implementation. This enables us to get rid of some of
the feature gating from the generic reactor.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is currently very similar to its client counterpart.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
We will need the ability to build one from within tor-proto.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Needed for handling the linkspecs in an EXTEND2 cell.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This was leftover from back when this command was only for Sendmes.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This just removes an unnecessary `async`.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tor-rtcompat: Fix clippy warning
See merge request tpo/core/arti!3640
|
| |/ / / / / / |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
proto: Make ChannelProvider::get_or_launch() synchronous
See merge request tpo/core/arti!3647
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This just removes an unnecessary `async`.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Revert "Merge branch 'UpdateAPI' into 'main'"
See merge request tpo/core/arti!3659
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This reverts commit 645787d50df49806b238e8afa9b89b8a7dfc1dd0, reversing
changes made to 927b78ca8313d6f0fbc7291b526f1e1bd0b90afe.
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | |
| | | | | | | |
| | | | | | | | |
maint/cargo-audit: Ignore RUSTSEC-2026-0009 for now
See merge request tpo/core/arti!3658
|
| | | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
See
https://gitlab.torproject.org/tpo/core/arti/-/issues/2341#note_3339657
|
| |\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Update socks5 API
Closes #2335
See merge request tpo/core/arti!3654
|
| | | | | | | | |
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Allow to set paths in CLI arguments
See merge request tpo/core/arti!3556
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
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 warnings
See merge request tpo/core/arti!3643
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-dirclient: Document retriability of failures
See merge request tpo/core/arti!3649
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This commit documents the retriability of `RequestFailedError`,
following an IRC conversation with nickm.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
proto: Relay channel type refactor
See merge request tpo/core/arti!3642
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove the use of traits, the caller will handle the specific type.
Signed-off-by: David Goulet <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
No need for these types, we've replaced them with more specific types.
Signed-off-by: David Goulet <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
itself
Previous function "build_auth_data()" is still around but will be
removed in the upcoming commits.
Signed-off-by: David Goulet <[email protected]>
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
proto: Replace send_sendme() with general-purpose function
See merge request tpo/core/arti!3641
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This was leftover from back when the BWD was a relay-specific type.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will soon be used for instructing the BWD to send other types of
messages too.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.md
See merge request tpo/core/arti!3646
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This isn't really semver related, but should be added in the changelog,
so here seems to be a reasonable place to put this.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
deps: Upgrade fast-socks5 to 1.0.0.
See merge request tpo/core/arti!3638
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
One of the APIs we use, `Socks5Server`, is deprecated, and this commit
does not change to the new API. I don't plan to immediately rewrite this
to use the new API, as it seems nontrivial, but it still seems worth
updating.
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Fix RUSTSEC-2026-0007
See merge request tpo/core/arti!3645
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
This commit upgrades the `bytes` crate to `1.11.1` in order to fix the
`RUSTSEC-2026-0007` vulnerability.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
deps: Upgrade getrandom to 0.4.0.
See merge request tpo/core/arti!3633
|
| | |/ / /
| | | |
| | | |
| | | | |
This does not have any breaking changes that affect us.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
arti-relay: Add "client" object to be used for building circuits
See merge request tpo/core/arti!3639
|
| | | | | | |
|