summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | arti: Move restricted-discovery closer to onion-service-serviceGabriela Moldovan2025-10-211-1/+1
| | | | | | |
| * | | | | | hsrproxy: Sort Cargo.tomlGabriela Moldovan2025-10-211-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is needed to satisfy `maint/cargo_sort`
| * | | | | | hsrproxy: Place non-experimental features at the topGabriela Moldovan2025-10-211-1/+1
| | | | | | |
| * | | | | | arti: Mark restricted-discovery as non-experimentalGabriela Moldovan2025-10-213-8/+8
| | |_|/ / / | |/| | | | | | | | | | | | | | | | As per the team decision from the 14 Oct Arti sync.
* | | | | | Merge branch 'relay-bin-4' into 'main'opara2025-10-217-43/+124
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-relay: More work on bootstrapping See merge request tpo/core/arti!3375
| * | | | | | arti-relay: add line breaks between `InertTorRelay` fieldsSteven Engler2025-10-211-0/+5
| | | | | | |
| * | | | | | arti-relay: add a `MemoryQuotaTracker`Steven Engler2025-10-211-3/+12
| | | | | | |
| * | | | | | arti-relay: add a `SystemConfig` to the relay configSteven Engler2025-10-211-0/+18
| | | | | | |
| * | | | | | arti-relay: add some TODO commentsSteven Engler2025-10-211-0/+3
| | | | | | |
| * | | | | | arti-relay: small refactoringSteven Engler2025-10-211-7/+6
| | | | | | |
| * | | | | | arti-relay: generate keys only when bootstrappingSteven Engler2025-10-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want to create new files just when creating a `InertTorRelay`. We should only generate the keys before bootstrapping.
| * | | | | | arti-relay: add note to `StorageConfig::permissions`Steven Engler2025-10-211-0/+6
| | | | | | |
| * | | | | | arti-relay: copy `state_mgr.try_lock()` from arti-clientSteven Engler2025-10-212-1/+9
| | | | | | |
| * | | | | | tor-proto: fix `clippy::needless_pass_by_value` warningSteven Engler2025-10-211-0/+1
| | | | | | |
| * | | | | | arti-relay: small change to `create_keymgr()`Steven Engler2025-10-212-30/+8
| | | | | | |
| * | | | | | arti-relay: use `TokioRustlsRuntime` instead of `PreferredRuntime`Steven Engler2025-10-211-5/+8
| | | | | | |
| * | | | | | arti-relay: initialize the `StateDirectory` and `FsStateMgr`Steven Engler2025-10-214-1/+52
|/ / / / / /
* | | | | | Merge branch 'ticket2217_01' into 'main'David Goulet2025-10-214-11/+106
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | relay: Implement a first relay background task See merge request tpo/core/arti!3363
| * | | | | relay: Implement a blocking run() that starts the relayDavid Goulet2025-10-212-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have bootstrap() to prepare everything we need before starting the relay which yields a TorRelay. This commit then adds a run() function which starts the relay by launching background task. At the moment, we only have one task and it is the channel expiry one. The relay blocks on the task handle set until one task is on error or stops which leads to shutting down the relay. Part of #2217 Signed-off-by: David Goulet <[email protected]>
| * | | | | relay: Add channel housekeeping taskDavid Goulet2025-10-213-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a background task in charge of expiring closing channels and future work is to also prune duplicate channels. This is not used nor called at this commit, next commit will add the task handling. Part of #2217 Signed-off-by: David Goulet <[email protected]>
* | | | | | Merge branch 'p2-misc-fixes' into 'main'opara2025-10-212-2/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: parse2: Minor fixes See merge request tpo/core/arti!3376
| * | | | | | tor-netdoc: Reference `build::ItemArgument` from `NoramlItemArgument` docIan Jackson2025-10-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 9ce85acb3ab0d1a0b1be6ef0f10707983f4362a3 tor-netdoc: replace impl_item_argument_as_display with NormalItemArgument this trait impl has implications for encoding as well as parsing.
| * | | | | | tor-netdoc: NetdocParseable derive: use more explicit syntaxIan Jackson2025-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In principle some other trait might be in scope.
| * | | | | | tor-netdoc: parse2: Don't declare internal error on subdoc intro itemsIan Jackson2025-10-211-0/+4
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | subdoc intro items aren't inherently incoherent, but implementing them is nontrivial. Let's reject them with a bespoke error instead.
* | | | | | Merge branch 'msrv-1-86-0' into 'main'David Goulet2025-10-2166-66/+66
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump MSRV from 1.85.1 to 1.86 See merge request tpo/core/arti!3382
| * | | | | | Bump MSRV from 1.85.1 to 1.86Clara Engler2025-10-2166-66/+66
| |/ / / / /
* | | | | | Merge branch 'p2-blanket-arc' into 'main'David Goulet2025-10-212-7/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: blanket impl parse2 traits for Arc See merge request tpo/core/arti!3381
| * | | | | | tor-netdoc: blanket impl parse2 traits for ArcIan Jackson2025-10-212-7/+30
| |/ / / / / | | | | | | | | | | | | | | | | | | This replaces one ad-hoc impl and will avoid having to have any more.
* | | | | | Merge branch 'relay-reactor-fun-2' into 'main'gabi-2502025-10-2120-499/+1472
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | proto: Add the initial implementation of the relay reactor(s) See merge request tpo/core/arti!3369
| * | | | | proto: Fix broken doc linksGabriela Moldovan2025-10-211-2/+3
| | | | | |
| * | | | | proto: Prioritize shutdown over everything elseGabriela Moldovan2025-10-211-8/+8
| | | | | |
| * | | | | proto: Ensure RelayReactor shuts down the other reactorsGabriela Moldovan2025-10-213-21/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `RelayReactor` now holds the sending end of the shutdown broadcast channel, so if `RelayReactor` exits, both the forward and the backward relay reactor will notice and shut down too. Similarly, if the forward or backward reactor exits, the `RelayReactor` will notice (because it select!s between the two), and will shut down
| * | | | | proto: Add TODO about moving control message handling to RelayReactorGabriela Moldovan2025-10-211-0/+3
| | | | | |
| * | | | | proto: Use select not joinGabriela Moldovan2025-10-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I used `futures::join` by mistake: the intention here is to have `RelayReactor` exit when either one of the fwd/bwd reactors exits.
| * | | | | proto: Emphasize that we think 2 reactors are better for perfGabriela Moldovan2025-10-211-4/+8
| | | | | |
| * | | | | proto: Add a TODO about splitting out fields out of BackwardReactorGabriela Moldovan2025-10-211-0/+9
| | | | | |
| * | | | | proto: Move StreamMap split closer to cell_tx docsGabriela Moldovan2025-10-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | This also clarifies why we reroute cells to `BackwardReactor`.
| * | | | | proto: s/inbound_rx/input for consistency with other reactorsGabriela Moldovan2025-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Things will get very confusing if every reactor uses different variable names for this, so I am renaming it back to input.
| * | | | | proto: Move channel provider to ForwardReactorGabriela Moldovan2025-10-213-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The channel provider is used to request outgoing channels from the `ChanMgr` in response to `EXTEND`/`EXTEND2` cells, so it belongs in the `ForwardReactor`. (This was leftover from the old circ reactor architecture)
| * | | | | proto: Remove no longer needed MutexGabriela Moldovan2025-10-211-7/+5
| | | | | |
| * | | | | proto: Remove stray words from docsGabriela Moldovan2025-10-211-1/+1
| | | | | |
| * | | | | proto: Disambiguate "channel" and "stream"Gabriela Moldovan2025-10-213-52/+52
| | | | | |
| * | | | | proto: Say why there are two reactors instead of just oneGabriela Moldovan2025-10-211-0/+23
| | | | | |
| * | | | | proto: Clarify why we may need to forward cells to BackwardReactorGabriela Moldovan2025-10-211-2/+3
| | | | | |
| * | | | | proto: Fix docs post-renamingGabriela Moldovan2025-10-211-3/+3
| | | | | |
| * | | | | proto: Avoid calling BackwardReactor "primary"Gabriela Moldovan2025-10-211-5/+1
| | | | | |
| * | | | | proto: Replace select_biased! with PollAllGabriela Moldovan2025-10-211-32/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step towards parallelizing stream reads and writes.
| * | | | | proto: Replace placeholder () with stream id and msgGabriela Moldovan2025-10-213-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it a bit clearer that `cell_rx` is for moving stream data between `ForwardReactor` and `BackwardReactor`.
| * | | | | proto: Replace inbound/outbound terminologyGabriela Moldovan2025-10-212-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | The forward/backward terminology is clearer.
| * | | | | proto: Write a debug log when the reactor startsGabriela Moldovan2025-10-211-2/+12
| | | | | |