| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | proto: Move CircHop{Inbound,Outbound} out of the client module. | Gabriela Moldovan | 2025-11-17 | 2 | -575/+599 | |
| | | | | | 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 | 7 | -20/+22 | |
| | | ||||||
| * | proto: Update SendRelayCell docs | Gabriela Moldovan | 2025-11-17 | 1 | -2/+3 | |
| | | ||||||
| * | proto: Move SendRelayCell to circhop (fmt) | Gabriela Moldovan | 2025-11-17 | 4 | -5/+5 | |
| | | ||||||
| * | proto: Move SendRelayCell to circhop | Gabriela Moldovan | 2025-11-17 | 5 | -20/+23 | |
| | | | | | | 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 | 5 | -26/+29 | |
| | | ||||||
| * | 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 | 9 | -10/+325 | |
| |\ | | | | | | | | | | | | | Implement a usage-based timeout for strongly isolated circuits (prop368) Closes #2237 See merge request tpo/core/arti!3430 | |||||
| | * | fix a documentation link. | Nick Mathewson | 2025-11-13 | 1 | -1/+1 | |
| | | | ||||||
| | * | proto: run add_warning to update tunnel_activity.rs | Nick Mathewson | 2025-11-12 | 1 | -1/+1 | |
| | | | ||||||
| | * | proto: assert that no member of InTunnelActivity needs_drop. | Nick Mathewson | 2025-11-12 | 1 | -1/+15 | |
| | | | ||||||
| | * | proto: Use a ZST-token pattern to enforce correctness for TunnelActivity | Nick Mathewson | 2025-11-12 | 2 | -14/+58 | |
| | | | ||||||
| | * | tor-proto: Track information on when tunnels were last used | Nick Mathewson | 2025-11-12 | 9 | -1/+258 | |
| | | | | | | | | | 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 'reduce-channel-frame-high-water-mark' into 'main' | Nick Mathewson | 2025-11-10 | 1 | -1/+3 | |
| |\ | | | | | | | | | tor-proto: Reduce `high_water_mark` of ChannelFrame See merge request tpo/core/arti!3447 | |||||
| | * | tor-proto: Reduce `high_water_mark` of ChannelFrame | nield | 2025-11-06 | 1 | -1/+3 | |
| | | | ||||||
| * | | Merge branch 'relay-circ' into 'main' | David Goulet | 2025-11-10 | 3 | -16/+24 | |
| |\ \ | | | | | | | | | | | | | proto: Rename RelayReatorHandle to RelayCirc, make it pub See merge request tpo/core/arti!3410 | |||||
| | * | | proto: Remove doc ref to private item | Gabriela Moldovan | 2025-10-29 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | proto: Add RelayCirc API for checking if circuit is closed | Gabriela Moldovan | 2025-10-29 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | proto: Remove redundant channel from RelayCirc | Gabriela Moldovan | 2025-10-29 | 2 | -4/+0 | |
| | | | | | | | | | | | | | | | | We don't really need this channel here, because we already have control and command channels for checking if the reactor task is still alive. | |||||
| | * | | proto: Make RelayCirc public | Gabriela Moldovan | 2025-10-29 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | proto: Rename RelayReatorHandle to RelayCirc | Gabriela Moldovan | 2025-10-29 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this is technically a "reactor handle", I think RelayCirc sounds better, because this is essentially our only public API for interacting with a relay circuit (it will be used outside of tor-proto). (This would also be consistent with our existing ClientCirc client-side terminology). | |||||
| | * | | proto: Move RelayReactorHandle to relay module | Gabriela Moldovan | 2025-10-29 | 2 | -11/+16 | |
| | | | | | | | | | | | | | This will soon become `pub`, so I am factoring it out of `reactor.rs`. | |||||
| | * | | proto: Update RelayReactorHandle docs | Gabriela Moldovan | 2025-10-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | BackwardReactor is an implementation detail, so it shouldn't really be mentioned in the soon-to-be-public-facing docs. And besides, the control messages are no longer handled by the BackwardReactor. | |||||
| * | | | Merge branch 'deftly-1.5' into 'main' | Alexander Hansen Færøy | 2025-11-10 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.5.0 See merge request tpo/core/arti!3451 | |||||
| | * | | | Bump derive-deftly to 1.5.0 | Ian Jackson | 2025-11-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has the meta attributes with optional values feature and also hygiene rework for modules. The breaking changes don't break arti. | |||||
| * | | | | Merge branch 'cell-sender' into 'main' | Alexander Hansen Færøy | 2025-11-10 | 3 | -10/+10 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | 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 | 3 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | |||||
| * | | | Merge branch 'deftly-1.4' into 'main' | opara | 2025-11-06 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.4.0 See merge request tpo/core/arti!3448 | |||||
| | * | | | Bump derive-deftly to 1.4.0 | Ian Jackson | 2025-11-06 | 1 | -1/+1 | |
| | | |/ | |/| | | | | | | | | | | | | | This will let us use the new modules feature. There are no breaking changes to beta features in 1.4.0. | |||||
| * | | | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 30 | -31/+31 | |
| | | | | | | | | | | | | | 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 | 4 | -4/+4 | |
| | | | ||||||
| * | | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt` | Steven Engler | 2025-11-04 | 5 | -5/+5 | |
| | | | ||||||
| * | | 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 | 2 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | 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 | 2 | -3/+3 | |
| | | | ||||||
| * | | proto: Replace ClientCircSyncView in IncomingStreamRequestFilter | Gabriela Moldovan | 2025-10-30 | 5 | -7/+10 | |
| | | | ||||||
| * | | proto: Add a new CircSyncView type | Gabriela Moldovan | 2025-10-30 | 2 | -0/+40 | |
| | | | | | | | | | | | | | This will replace ClientCircView in the IncomingStreamRequestFilter APIs, which will enable us to use IncomingStreamRequestFilter for incoming streams on the exit side too. | |||||
