| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | tor-netdoc: Fix grammar in a comment | Ian Jackson | 2026-07-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-netdoc testdata-live: Save selected routers' descriptors (effect) | Ian Jackson | 2026-07-22 | 15 | -0/+819 | |
| | | | | | | | | | | | | | | | | | | | | | | Run crates/tor-netdoc/testdata-live-download with the locally saved, previously downloaded, network statuses. It downloaded these descriptors. | |||||
| | * | | tor-netdoc testdata-live: Save selected routers' descriptors | Ian Jackson | 2026-07-22 | 2 | -0/+30 | |
| | | | | ||||||
| | * | | tor-netdoc testdata-live: Split off selected routers' routerstatus entries ↵ | Ian Jackson | 2026-07-22 | 15 | -0/+120 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (effect) Run crates/tor-netdoc/testdata-live-download with the locally saved, previously downloaded, network statuses. (It didn't download anything extra, but it did produced these new output files, as expected.) | |||||
| | * | | tor-netdoc testdata-live: Split off selected routers' routerstatus entries | Ian Jackson | 2026-07-22 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | This will be convenient for saving their descriptors, and may be useful for other purposes too. | |||||
| | * | | tor-netdoc testdata-live: Download fresh data | Ian Jackson | 2026-07-22 | 3 | -70/+380 | |
| | | | | | | | | | | | | | Precisely a run of crates/tor-netdoc/testdata-live-download. | |||||
| | * | | tor-netdoc testdata-live: Document the contents of testdata-live/ | Ian Jackson | 2026-07-22 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | tor-netdoc testdata-live: Report URLs we are downloading to stderr | Ian Jackson | 2026-07-22 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | tor-netdoc testdata-live: Do not re-download already-fetched inputs | Ian Jackson | 2026-07-22 | 4 | -398/+93 | |
| | | | | | | | | | | | | | We don't fetch files to the names we commit. | |||||
| | * | | tor-netdoc testdata-live: Add http:// to URLs | Ian Jackson | 2026-07-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | curl infers this, but we should include it. | |||||
| | * | | tor-netdoc testdata-live: Break out run-curl function | Ian Jackson | 2026-07-21 | 1 | -1/+7 | |
| | | | | ||||||
| | * | | tor-netdoc tests; work around version number ordering issue | Ian Jackson | 2026-07-21 | 1 | -0/+16 | |
| | |/ | | | | | | | | | | | | | | | | | Ideally we would have Arti sort things sensibly but currently we have no types in Arti that are (1) faithful (2) sort correctly. Most of the existing types eventually have a `TorVersion` inside, which is lossy, so we can't use them for (eg) dirauth network status processing. | |||||
| * | | Merge branch 'relay-incoming-stream4' into 'main' | gabi-250 | 2026-07-22 | 12 | -25/+310 | |
| |\ \ | | | | | | | | | | | | | arti-relay: Spawn DirMirror, start handling BEGIN_DIR See merge request tpo/core/arti!4222 | |||||
| | * | | arti-relay: Turn a TODO(relay-tuning) into TODO DIRMIRROR | Gabriela Moldovan | 2026-07-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Context: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4222#note_3437336 | |||||
| | * | | dirserver: Add a TODO about reworking the DirMirror listener type | Gabriela Moldovan | 2026-07-22 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | arti-relay: Add a TODO from @opara | Gabriela Moldovan | 2026-07-22 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | arti-relay: s/stream/tor_stream for clarity | Gabriela Moldovan | 2026-07-22 | 1 | -5/+5 | |
| | | | | ||||||
| | * | | arti-relay: Warn if incoming stream handler task can't be launched | Gabriela Moldovan | 2026-07-22 | 1 | -2/+4 | |
| | | | | ||||||
| | * | | proto: Remove misleading comment about CircuitIncomingStreamReceiver | Gabriela Moldovan | 2026-07-22 | 1 | -3/+0 | |
| | | | | ||||||
| | * | | proto: Update CreateRequestHandler::new() docs | Gabriela Moldovan | 2026-07-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | As suggested in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4222#note_3437129 | |||||
| | * | | proto: Reword CircuitIncomingStreamReceiver docs for clarity | Gabriela Moldovan | 2026-07-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | | Applies @opara's suggested rephrasing. | |||||
| | * | | dirserver: Return a dummy response from DirMirror::serve() | Gabriela Moldovan | 2026-07-22 | 1 | -2/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the `DirMirror` return a dummy 500 response. This enables us to (manually) verify that the new relay BEGIN_DIR stream handler works as expected. We will of course need some automated e2e tests too, but for the time being a manual test should do. This will all be replaced by the real implementation, once that's ready (TODO DIRMIRROR). | |||||
| | * | | arti-relay: Handle directory streams | Gabriela Moldovan | 2026-07-22 | 2 | -2/+12 | |
| | | | | | | | | | | | | | | | | | | | Directory streams are accepted and turned into `DataStreams` by an `arti-relay` task. The `DataStream`s are then passed to the `DirMirror` for handling. | |||||
| | * | | arti-relay: Spawn a DirMirror::serve() task | Gabriela Moldovan | 2026-07-22 | 1 | -2/+6 | |
| | | | | ||||||
| | * | | arti-relay: Store a DirMirror in TorRelay | Gabriela Moldovan | 2026-07-22 | 3 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used shortly, as we need to spawn a `DirMirror::serve()` task from `TorRelay::run()` for handling the incoming directory stream requests. The `DirMirror` is currently built from dummy data because there is no config for it yet. | |||||
| | * | | arti-relay: Add a task for handling incoming streams | Gabriela Moldovan | 2026-07-22 | 5 | -1/+116 | |
| | | | | | | | | | | | | | | | | This is just the skeleton of the task. The implementation will follow later. | |||||
| | * | | proto: Return the incoming streams from the create handler (fmt) | Gabriela Moldovan | 2026-07-22 | 1 | -8/+10 | |
| | | | | ||||||
| | * | | proto: Return the incoming streams from the create handler | Gabriela Moldovan | 2026-07-22 | 3 | -14/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to return the "futures::Stream of Tor streams" from the CREATE handler, because these need to be handled from `arti-relay`, as per `doc/dev/notes/relay-streams.md` This commit is intentionally (slightly) misformatted to make reviewing a bit easier (the next commit will rustfmt everything). Part of #2612 | |||||
| | * | | proto: Add newtype wrapper for incoming stream receiver | Gabriela Moldovan | 2026-07-22 | 2 | -2/+43 | |
| | | | | | | | | | | | | | | | | The inner type is an eyesore, and doesn't really need to be exposed outside of tor-proto (we might even replace it at some point). | |||||
| | * | | proto: Adjust feature-gating around incoming streams | Gabriela Moldovan | 2026-07-22 | 1 | -1/+1 | |
| |/ / | | | | | | | | | This applies to relays too, not just onion services (we need to to handle BEGIN/BEGIN_DIR/RESOLVE). | |||||
| * | | Merge branch 'fix/rm-allow' into 'main' | gabi-250 | 2026-07-21 | 2 | -11/+22 | |
| |\ \ | |/ |/| | | | | | Added #[cfg(...)] to remove the unnecessary #[allow(dead_code)] See merge request tpo/core/arti!4152 | |||||
| | * | Added #[cfg(...)] to remove the unnecessary #[allow(dead_code)] | pryty26 | 2026-07-21 | 2 | -11/+22 | |
| |/ | ||||||
| * | Merge branch 'ip-summary-approx' into 'main' | Ian Jackson | 2026-07-21 | 14 | -38/+645 | |
| |\ | | | | | | | | | tor-dirauth: Implement approximate IPv4 port summaries See merge request tpo/core/arti!4212 | |||||
| | * | tor-dirauth: Add comment about partially private rejects | Ian Jackson | 2026-07-21 | 1 | -0/+3 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436989 | |||||
| | * | tor-dirauth: Add comment about port 0 | Ian Jackson | 2026-07-21 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4212#note_3436987 | |||||
| | * | tor-dirauth: Fix comment typo | Ian Jackson | 2026-07-21 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-dirauth: Fix doc url | Ian Jackson | 2026-07-21 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-dirauth: Test approximate port summary algorithm | Ian Jackson | 2026-07-21 | 1 | -0/+143 | |
| | | | ||||||
| | * | tor-dirauth: Implement approximate port summary algorithm | Ian Jackson | 2026-07-21 | 3 | -0/+368 | |
| | | | ||||||
| | * | tor-dirauth: Add dependencies needed for IP summaries | Ian Jackson | 2026-07-21 | 2 | -0/+10 | |
| | | | ||||||
| | * | tor-dirauth: Provide SupportedConsensusMethod::MAX for testing | Ian Jackson | 2026-07-21 | 1 | -0/+7 | |
| | | | ||||||
| | * | tor-dirauth: Warn on possibly-panicking arithmetic | Ian Jackson | 2026-07-21 | 1 | -1/+2 | |
| | | | ||||||
| | * | tor-netdoc: Provide PortPolicy::from_ordered_allowed_ranges | Ian Jackson | 2026-07-21 | 2 | -1/+23 | |
| | | | | | | | | | | | | | In some sense this is a convenience wrapper around `push_ordered`, but, really, it's the only nontrivial constructor that doesn't take an iterator of individual port numbers. | |||||
| | * | tor-netdoc: Rename PortPolicy::from_allowed_ranges to from_allowed_port_ranges | Ian Jackson | 2026-07-21 | 2 | -3/+2 | |
| | | | | | | | | | | | This takes a PortRanges. We're going to introduce another function to construct from an iterator. | |||||
| | * | tor-netdoc: Break out and expose parse_testcase_from_netdoc | Ian Jackson | 2026-07-21 | 3 | -29/+78 | |
| | | | ||||||
| | * | tor-netdoc: NetdocParseableFields::Accumulator must be Default | Ian Jackson | 2026-07-21 | 2 | -1/+2 | |
| | | | | | | | | | | | | | The macro-generated code for `#[deftly(netdoc(flatten))]` relies on this. The Default impl is genereated by the derive, but a generic or handwritten `NetdocParseableFields` wouldn't work. | |||||
| | * | tor-netdoc: Add a couple of calls to .void_unwrap() | Ian Jackson | 2026-07-21 | 1 | -3/+5 | |
| |/ | | | | | Otherwise our MSRV compiler prints a warning, that this was an unhandled Result. | |||||
| * | Merge branch 'relay-keymgr' into 'main' | David Goulet | 2026-07-20 | 4 | -38/+40 | |
| |\ | | | | | | | | | arti-relay: Remove `Arc` from around `KeyMgr` See merge request tpo/core/arti!4221 | |||||
| | * | arti-relay: simplify tests by removing some `Arc`s | Steven Engler | 2026-07-20 | 3 | -14/+10 | |
| | | | ||||||
| | * | arti-relay: remove `Arc` from around `KeyMgr` | Steven Engler | 2026-07-20 | 2 | -17/+12 | |
| | | | | | | | | | Fixes a TODO. | |||||
