aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | tor-netdoc: ParseInput: document changesIan Jackson2026-06-031-0/+1
| | | | | | |
| * | | | | | tor-netdoc: ParseInput: add retain_unknown_values convenience setterIan Jackson2026-06-031-0/+10
| | | | | | |
| * | | | | | tor-netdoc: ParseInput: add accessorsIan Jackson2026-06-031-1/+4
| | | | | | |
| * | | | | | tor-netdoc: ParseInput: add some blank linesIan Jackson2026-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the code clearer, especially since we're going to add attributes.
| * | | | | | tor-netdoc: ParseInput: impl Debug and CloneIan Jackson2026-06-031-0/+1
| |/ / / / /
* | | | | | Merge branch 'move-token-bucket' into 'main'David Goulet2026-06-0815-74/+92
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Move TokenBucket to tor-basic-utils See merge request tpo/core/arti!4077
| * | | | | | proto: Move RateLimitedWriter to tor-async-utilsDavid Goulet2026-06-0812-41/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Move TokenBucket to tor-basic-utilsDavid Goulet2026-06-086-35/+32
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | | | Merge branch 'connect-options' into 'main'opara2026-06-0823-87/+508
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | tor-rtcompat: Support connect() options (`SO_SNDBUF` and `SO_RCVBUF`) See merge request tpo/core/arti!4020
| * | | | | tor-rtcompat: change `Default` impls for connect/listen optionsSteven Engler2026-06-081-37/+60
| | | | | | | | | | | | | | | | | | | | | | | | The new `Default`s have no panicking code paths.
| * | | | | tor-rtcompat: replace `_options` with `()`Steven Engler2026-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hopefully better shows that there's nothing to use here for general socket types.
| * | | | | tor-rtcompat: updated semver.md for `connect()` changesSteven Engler2026-06-081-0/+3
| | | | | |
| * | | | | tor-rtcompat: add connect() options to set the socket buf sizesSteven Engler2026-06-082-2/+25
| | | | | |
| * | | | | tor-rtcompat: manually create and connect() socketSteven Engler2026-06-085-15/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow us in the future to set custom sockopts on the socket before calling connect(). I tested an arti proxy with tokio and async-std manually. Arti doesn't yet support smol so I was not able to test it, but it's using the same code as async-std so I would expect it to work.
| * | | | | tor-rtcompat+misc: add `NetStreamProvider::ConnectOptions`Steven Engler2026-06-0820-58/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the trait type `ConnectOptions` to `NetStreamProvider` and adds this `ConnectOptions` as an argument to `NetStreamProvider::connect()`. You probably want to look at the changes in tor-rtcompat first, then the rest of this commit is updating the various places we use `NetStreamProvider`.
| * | | | | tor-rtcompat: add structs to hold connect() optionsSteven Engler2026-06-082-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now this just sets up the structure. We'll add options for TCP later.
| * | | | | tor-rtcompat: improve comment on `UnixListenOptions`Steven Engler2026-06-081-1/+1
|/ / / / /
* | | | | Merge branch 'defer_bootstrap_v1' into 'main'Nick Mathewson2026-06-0812-27/+270
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Configuration and RPC support for deferred bootstrapping Closes #2547 See merge request tpo/core/arti!4056
| * | | | | rpc tests: test deferred_bootstrap.Nick Mathewson2026-06-083-2/+42
| | | | | |
| * | | | | arti: rpc functionality to bootstrap a defer_bootstrapped client.Nick Mathewson2026-06-086-8/+101
| | | | | |
| * | | | | Option to defer bootstrapping at startup.Nick Mathewson2026-06-085-17/+127
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | This option will primarily be used by integrators who want to modify the configuration, either directly or via RPC, before launching Arti completely.
* | | | | Merge branch 'destroy-cell3' into 'main'gabi-2502026-06-089-28/+395
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | proto: Add a new channel -> circuit queue type See merge request tpo/core/arti!4025
| * | | | | proto: Update the tests to use the new CircuitRx{Receiver,Sender}sGabriela Moldovan2026-06-086-16/+17
| | | | | |
| * | | | | proto: Replace CircuitRx{Sender,Receiver} with new channel typeGabriela Moldovan2026-06-083-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for relays as part of #2490. Note that changing this type affects the client implementation too (i.e. clients will start prioritizing inbound DESTROY, discarding any queued data without forwarding it to their local streams). But that's okay, because it will generally only affect misbehaving clients, and clients unlucky enough to encounter a hibernating relay.
| * | | | | proto: Remove now-unused importGabriela Moldovan2026-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CircuitRxSender` is no longer a `Sink`, so we don't need this import anymore.
| * | | | | proto: Add a new channel -> circuit queue typeGabriela Moldovan2026-06-082-0/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds new a `CircuitRxSender`/`CircuitRxReceiver` queue type. The corresponding (`Sink`-link) sender and `Stream` implementations prioritize the delivery of `DESTROY` messages, which get delivered immediately, even if there are other messages queued in the underlying MPSC message queue. We are okay with the resulting data loss, because inbound DESTROY can be indicative of malicious activity on the circuit. We choose to err on the safe side, and free up the resources associated with such circuits as soon as possible. DESTROY messages are also sent by relays when they're about to hibernate, and by clients once they've decided to stop using a circuit. In the latter case, the lack of an `RELAY_COMMAND_END_ACK` does mean that this prioritization can cause data loss in cases where the client closes the circuit immediately after END-ing a stream. However, this is a deficiency in the protocol, and not something we want to fix by implementing custom flushing logic in the reactor. See torspec#196 and the discussion in #2490. Part of #2490
* | | | | | Merge branch 'stream-ctrl-opt' into 'main'gabi-2502026-06-082-17/+28
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | proto: Make the ClientDataStreamCtrl optional throughout See merge request tpo/core/arti!4074
| * | | | | proto: Enable the relay exit stream testGabriela Moldovan2026-06-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This passes now that we can build a `DataStream` without a `ClientDataStreamCtrl`.
| * | | | | proto: Set the ClientDataStreamCtrl to None for relay streams (fmt)Gabriela Moldovan2026-06-081-5/+7
| | | | | |
| * | | | | proto: Set the ClientDataStreamCtrl to None for relay streamsGabriela Moldovan2026-06-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Previously this would panic.
| * | | | | proto: Make the ClientDataStreamCtrl optional throughoutGabriela Moldovan2026-06-081-12/+22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will reuse `DataStream` for relay exit streams, and those aren't going to have a `ClientDataStreamCtrl`. Part of #2557
* | | | | Merge branch 'cargo-audit-proc-macro' into 'main'Nick Mathewson2026-06-081-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | maint/cargo-audit: Ignore RUSTSEC-2026-0173 See merge request tpo/core/arti!4075
| * | | | | maint/cargo-audit: Ignore RUSTSEC-2026-0173Gabriela Moldovan2026-06-081-0/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | `proc-macro-error2` is unmaintained. We depend on it via `getset` and `dynasm`, so we'll this exception until they're updated.
* | | | | Merge branch 'coverage-target-dir' into 'main'Nick Mathewson2026-06-081-3/+5
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | fix coverage_fuzz_corpora to use the target-coverage dir See merge request tpo/core/arti!4071
| * | | | fix coverage_fuzz_corpora to use the target-coverage dir52252252026-06-041-3/+5
|/ / / /
* | | | Merge branch 'tokio-1.47.1' into 'main'Nick Mathewson2026-06-0313-14/+14
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Upgrade tokio to LTS 1.47.1 Closes #2137 See merge request tpo/core/arti!4033
| * | | Upgrade tokio to LTS 1.47.1Neel Chauhan2026-06-0313-14/+14
| | | | | | | | | | | | | | | | Closes #2137.
* | | | Merge branch 'filetime' into 'main'gabi-2502026-06-032-24/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Upgrade to filetime 0.2.29 Closes #2562 See merge request tpo/core/arti!4064
| * | | Bump filetime to 0.2.29Gabriela Moldovan2026-06-031-22/+3
| | | | | | | | | | | | | | | | Closes #2562
| * | | CI: bump shadow commitGabriela Moldovan2026-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Needed so we can upgrade to the latest `filetime`. See #2562
* | | | Merge branch 'portpolicy-split-ws' into 'main'Clara Engler2026-06-033-11/+22
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-netdoc: Avoid use of string slices in PortPolicy See merge request tpo/core/arti!4062
| * | | tor-netdoc: Test for UTF-8 port policy edge case52252252026-06-033-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a tor-netdoc test for checking for an edge case related to UTF-8 symbols found within netdocs. See arti#2566
| * | | tor-netdoc: Avoid use of string slices in PortPolicyClara Engler2026-06-031-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the use of string slices in PortPolicy::from_str() by making use of `str::split_once` instead. See arti#2566 Co-authored-by: 5225225 <[email protected]>
* | | | Merge branch 'no-result' into 'main'Clara Engler2026-06-033-38/+37
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-netdoc: No longer import crate::Result in doc::netstatus See merge request tpo/core/arti!4050
| * | | tor-netdoc: netstatus: Abolish StdResult aliasIan Jackson2026-06-022-13/+12
| | | |
| * | | tor-netdoc: netstatus: No longer use crate::ResultIan Jackson2026-06-022-24/+24
| | | |
| * | | tor-netdoc: Change one call to use try_collect()Ian Jackson2026-06-021-1/+1
| | | | | | | | | | | | | | | | This is a clearer.
* | | | Merge branch 'bump-deps' into 'main'Alexander Hansen Færøy2026-06-035-32/+28
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Bump some deps that have had breaking changes See merge request tpo/core/arti!4053
| * | | dirserver,netdoc: Upgrade to the latest saturating-timeGabriela Moldovan2026-06-033-4/+4
| | | |
| * | | arti: Bump the versions of our opentelemetry depsGabriela Moldovan2026-06-033-28/+24
| | | | | | | | | | | | | | | | Part of #2559