| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | proto: Allow unstable_name_collisions in several places | Gabriela Moldovan | 2025-12-01 | 2 | -0/+10 |
| | | |||||
| * | opentelemetry: Instrument a bunch of functions. | Wesley Aptekar-Cassels | 2025-11-24 | 4 | -3/+22 |
| | | | | | | These are all aimed at figuring out in more detail what's going on in #2079 and related issues. | ||||
| * | proto: Remove unused function from ClientChannelBuilder | David Goulet | 2025-11-19 | 1 | -7/+0 |
| | | | | | Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Make cargo doc happy | David Goulet | 2025-11-19 | 1 | -1/+1 |
| | | | | | Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Split VerifiedChannel::finish() | David Goulet | 2025-11-19 | 1 | -2/+17 |
| | | | | | | | | | | | Move the client specific code into VerifiedClientChannel as in sending the NETINFO cell. The rest is pretty much boiler plate to build a channel reactor. The relay finish() code is coming in a followup commit. Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Use the new client specific channels | David Goulet | 2025-11-19 | 1 | -11/+19 |
| | | | | | | | | | | By changing the connect() returned object we therefore officially make VerifiedChannel and UnverifiedChannel crate only objects. Thus, this commit changes visibility on most things. Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Add client specific handshake channel structs | David Goulet | 2025-11-19 | 2 | -6/+90 |
| | | | | | | | | | | | | | | | This adds the UnverifiedClientChannel and VerifiedClientChannel mirroring the relay API for channels. It plainly uses the generic object underneath as for now those objects are client only. Followup commits will make things more client specific. No behavior change. Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Move client handshake into client channel module | David Goulet | 2025-11-19 | 2 | -0/+209 |
| | | | | | | | | | | | | | | This only moves code from src/channel to src/client/channel. It introduces a ClientChanBuilder that is used to launch client specific channel by the public ChanBuilder. The followup commits will add a VerifiedClientChannel and UnverifiedClientChannel in order to again decouple client and relay code from the generic objects. Signed-off-by: David Goulet <[email protected]> | ||||
| * | proto: Fix up doc links post-refactoring | Gabriela Moldovan | 2025-11-17 | 1 | -2/+2 |
| | | |||||
| * | proto: Make cc state shared between CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 2 | -13/+10 |
| | | | | | | | | | | | | | | The relay reactor needs the cc state to be shared between the inbound and outbound components (i.e. the forward and backward reactors), so we need to put the cc state behind a mutex. There will never be any contention on this mutex in the client impl, because the client reactor doesn't split the `CircHop` into `CircHopInbound` and `CircHopOutbound`. In the future, we should work on trying to reduce the number of locks in the `CircHop` states. | ||||
| * | proto: Move CircHop{Inbound,Outbound} out of the client module. | Gabriela Moldovan | 2025-11-17 | 1 | -573/+9 |
| | | | | | These will be soon used by relays too. | ||||
| * | proto: Add constructors for CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 1 | -19/+46 |
| | | |||||
| * | proto: Move some of CircHop's impl to CircHop{Inbound,Outbound} | Gabriela Moldovan | 2025-11-17 | 1 | -141/+340 |
| | | | | | | The Inbound/Outbound CircHop states will be used in the relay reactor, so it's helpful to move some of the `CircHop` impl there. | ||||
| * | proto: Make the hop in SendRelayCell optional (fmt) | Gabriela Moldovan | 2025-11-17 | 1 | -1/+5 |
| | | |||||
| * | proto: Make the hop in SendRelayCell optional | Gabriela Moldovan | 2025-11-17 | 6 | -18/+20 |
| | | |||||
| * | proto: Move SendRelayCell to circhop (fmt) | Gabriela Moldovan | 2025-11-17 | 2 | -2/+2 |
| | | |||||
| * | proto: Move SendRelayCell to circhop | Gabriela Moldovan | 2025-11-17 | 4 | -18/+7 |
| | | | | | | This will be used by relays too, once we modify it to make the `HopNum` optional. | ||||
| * | proto: Split CircHop into inbound and outbound components (fmt) | Gabriela Moldovan | 2025-11-17 | 1 | -7/+13 |
| | | |||||
| * | proto: Split CircHop into inbound and outbound components | Gabriela Moldovan | 2025-11-17 | 1 | -52/+76 |
| | | | | | | | | | | Unlike the client reactor, the relay reactor uses these components in separate tasks. Splitting `CircHop` this way enables us to reuse its parts instead of duplicating them in the relay impl. Eventually, I'd like us to rewrite the client reactor to follow a similar pattern. | ||||
| * | proto: Rename cell decoder field for clarity | Gabriela Moldovan | 2025-11-14 | 1 | -3/+3 |
| | | |||||
| * | proto: Avoid exposing stream map field (fmt) | Gabriela Moldovan | 2025-11-14 | 1 | -8/+11 |
| | | |||||
| * | proto: Avoid exposing stream map field | Gabriela Moldovan | 2025-11-14 | 1 | -3/+3 |
| | | |||||
| * | proto: Import StreamMap to reduce cognitive complexity | Gabriela Moldovan | 2025-11-14 | 1 | -6/+6 |
| | | |||||
| * | proto: Move CloseStreamBehavior to top-level stream module | Gabriela Moldovan | 2025-11-14 | 2 | -24/+3 |
| | | |||||
| * | proto: Remove extraneous backtick in CloseStreamBehavior docs | Gabriela Moldovan | 2025-11-14 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'prop368-v4' into 'main' | Nick Mathewson | 2025-11-13 | 4 | -0/+53 |
| |\ | | | | | | | | | | | | | Implement a usage-based timeout for strongly isolated circuits (prop368) Closes #2237 See merge request tpo/core/arti!3430 | ||||
| | * | tor-proto: Track information on when tunnels were last used | Nick Mathewson | 2025-11-12 | 4 | -0/+53 |
| | | | | | | | | | This is part of an implementation for proposal 368. | ||||
| * | | proto: Remove duplicated function in CircHop | Gabriela Moldovan | 2025-11-13 | 2 | -7/+2 |
| | | | | | | | | | | | `CircHop::relay_format()` returned the same thing as `CircHop::relay_cell_format()`. | ||||
| * | | proto: Remove a no longer relevant TODO | Gabriela Moldovan | 2025-11-12 | 1 | -3/+0 |
| |/ | | | | | | | I think this was addressed by @opara in eca15143ba80b789382ba7cbe19601d3b98e42c2. Spotted while refactoring `CircHop`. | ||||
| * | Merge branch 'cell-sender' into 'main' | Alexander Hansen Færøy | 2025-11-10 | 2 | -303/+1 |
| |\ | | | | | | | | | proto: Move cell_sender out of the client module See merge request tpo/core/arti!3407 | ||||
| | * | proto: Move cell_sender out of the client module | Gabriela Moldovan | 2025-10-28 | 2 | -303/+1 |
| | | | | | | | | | | | | | | | Soon we'll use CircuitCellSender in the relay reactor too (we need to, because it provides a useful abstraction for handling block/unblock padding actions, and because it has some handy helper functions such as `congestion_signals()`). | ||||
| | * | proto: Make everything in CircuitCellSender pub(crate) | Gabriela Moldovan | 2025-10-28 | 1 | -8/+8 |
| | | | | | | | | | | | | | This is in preparation for moving `CircuitCellSender` out of the client module (it makes the next commit easier to review, because `cell_sender.rs` will be moved without any modifications). | ||||
| * | | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 2 | -2/+2 |
| | | | | | | | | | Run maint/add_warning | ||||
| * | | Drop two use's that seem no longer to be necessary | Ian Jackson | 2025-11-06 | 1 | -1/+1 |
| | | | |||||
| * | | all: run cargo fmt | Steven Engler | 2025-11-04 | 1 | -1/+1 |
| | | | |||||
| * | | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt` | Steven Engler | 2025-11-04 | 1 | -1/+1 |
| | | | |||||
| * | | bad_extend_test_impl: Wait for message instead of a 100 ms delay. | Nick Mathewson | 2025-11-04 | 1 | -8/+18 |
| | | | | | | | | | Possible fix for #2232. | ||||
| * | | proto: use assert_matches in circuit.rs tests. | Nick Mathewson | 2025-11-04 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | Unlike assert!(matches!(..)), assert_matches prints the value of the expression on a failure. Probably we should use this macro more widely in the future. This might help diagnose recurrences of #2232 | ||||
| * | | proto: Move a TODO to CircSyncView | Gabriela Moldovan | 2025-10-30 | 1 | -3/+0 |
| | | | |||||
| * | | proto: Replace ClientCircSyncView in IncomingStreamRequestFilter | Gabriela Moldovan | 2025-10-30 | 4 | -7/+8 |
| |/ | |||||
| * | tor-proto: fix `clippy::needless_pass_by_value` warning | Steven Engler | 2025-10-21 | 1 | -0/+1 |
| | | |||||
| * | proto: Fix doc links post-refactoring | Gabriela Moldovan | 2025-10-21 | 1 | -1/+5 |
| | | |||||
| * | proto: Move StreamMpsc{Sender,Receiver} to stream module (fmt) | Gabriela Moldovan | 2025-10-21 | 3 | -3/+3 |
| | | |||||
| * | proto: Move StreamMpsc{Sender,Receiver} to stream module | Gabriela Moldovan | 2025-10-21 | 5 | -9/+8 |
| | | | | | These will be shared with the relay code. | ||||
| * | proto: Move hop settings into a shared module | Gabriela Moldovan | 2025-10-21 | 5 | -306/+15 |
| | | |||||
| * | proto: Move streammap out of the client module (fmt) | Gabriela Moldovan | 2025-10-21 | 3 | -5/+3 |
| | | |||||
| * | proto: Move halfstream under streammap | Gabriela Moldovan | 2025-10-21 | 1 | -247/+0 |
| | | | | | | | That way we don't need to make halfstream `pub(crate)` (we only really use it in streammap, and in the client reactor, because of the `handle_msg()` kludge). | ||||
| * | proto: Move streammap out of the client module | Gabriela Moldovan | 2025-10-21 | 7 | -685/+11 |
| | | |||||
| * | proto: Move dumb pipes to top-lvl stream module (fmt) | Gabriela Moldovan | 2025-10-21 | 6 | -6/+6 |
| | | |||||
| * | proto: Move dumb pipes to top-lvl stream module | Gabriela Moldovan | 2025-10-21 | 8 | -264/+7 |
| | | |||||
