| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | tor-netdoc: Abolish ArgumentNotPresent alias, completing the rename | Ian Jackson | 2025-10-23 | 3 | -9/+6 | |
| | | | | ||||||
| * | | | tor-netdoc: Use NotPresent rather than Option<Ignored> to suppress fields | Ian Jackson | 2025-10-23 | 4 | -8/+8 | |
| | | | | ||||||
| * | | | tor-netdoc: Add unit tests for NotPresent and Ignored objects | Ian Jackson | 2025-10-23 | 1 | -1/+32 | |
| | | | | ||||||
| * | | | tor-netdoc: Add unit tests for NotPresent items | Ian Jackson | 2025-10-23 | 3 | -2/+6 | |
| | | | | ||||||
| * | | | tor-netcoc: Introduce NotPresent, for absent multiplicity | Ian Jackson | 2025-10-23 | 3 | -9/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently this is mishandled: the current use sites (in rs/each_variety.rs) use Option<Ignored>, which would reject repeated items with that keyword, which is technically wrong. And encoing will become a problem. Vec<Ignored> would be wrong too. Instead, broaden NotPresent and give it multiplicity impls. | |||||
| * | | | tor-netdoc: Move parse2 impls on Ignored to types/misc.rs | Ian Jackson | 2025-10-23 | 2 | -23/+22 | |
| | | | | | | | | | | | | | | | | | | | This seems to be where we're putting most of the parse2 impls on these types, now. That makes more sense as parse2 becomes more of a proper thing. | |||||
| * | | | Merge branch 'add-tracing-to-update-guardset-internal' into 'main' | David Goulet | 2025-10-22 | 1 | -3/+7 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-guardmgr: Add more tracing to update_guardset_internal. See merge request tpo/core/arti!3388 | |||||
| | * | | | tor-guardmgr: Add more tracing to update_guardset_internal. | Wesley Aptekar-Cassels | 2025-10-22 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | This would have been useful in looking into #2224. | |||||
| * | | | | tor-netdoc: Document new feature in semver.md | Ian Jackson | 2025-10-22 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | tor-netdoc: NetdocParseableFields derive: support flatten (test) | Ian Jackson | 2025-10-22 | 1 | -0/+11 | |
| | | | | | ||||||
| * | | | | tor-netdoc: NetdocParseableFields derive: support flatten | Ian Jackson | 2025-10-22 | 1 | -2/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows a NetdocParseableFields inside a NetdocParseableFields. The code is rather duplicative with the NetdocParseable implementation. This is due to limitations in derive-deftly; see https://gitlab.torproject.org/Diziet/rust-derive-deftly/-/merge_requests/525 where I'm trying to start to address them. | |||||
| * | | | | tor-netdoc: NetdocParseableFields derive: break out kw variable | Ian Jackson | 2025-10-22 | 1 | -1/+3 | |
| |/ / / | | | | | | | | | | We're going to reuse this. | |||||
| * | | | Merge branch 'nd-preamble' into 'main' | Ian Jackson | 2025-10-22 | 5 | -71/+83 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-netdoc: Rename consensus Header to Preamble, etc. See merge request tpo/core/arti!3378 | |||||
| | * | | | tor-netdoc: Preamble: Fix garbled doc comment | Ian Jackson | 2025-10-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3378#note_3277957 | |||||
| | * | | | tor-netdoc: Preamble: rename relay_version field to server_version | Ian Jackson | 2025-10-22 | 4 | -8/+9 | |
| | | | | | | | | | | | | | | | | | This makes it match the protocol and the spec. | |||||
| | * | | | tor-netdoc: Say Preamble doesn't contain vote-status, in summary. | Ian Jackson | 2025-10-22 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Explain that Preamble doesn't contain vote-status either. | Ian Jackson | 2025-10-22 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Document breaking changes in semver.md | Ian Jackson | 2025-10-22 | 1 | -0/+2 | |
| | | | | | ||||||
| | * | | | tor-netdoc: netstatus: Preamble: Name the protocols fields in doc | Ian Jackson | 2025-10-22 | 1 | -0/+2 | |
| | | | | | ||||||
| | * | | | tor-netdoc: netstatus: Preamble: rename shared rand fields to match doc | Ian Jackson | 2025-10-22 | 3 | -18/+18 | |
| | | | | | | | | | | | | | | | | | | | | | We should use the same name everywhere, even if the name in the spec is clumsy (as it is here). | |||||
| | * | | | tor-netdoc: Move ConsensusFlavor into Consensus struct | Ian Jackson | 2025-10-22 | 3 | -14/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | We're going to want to apply the parse2 derive to Preamble, but this field is anomalous. Rather than trying to make it regular, simply move it to the old-parser-specific Consensus struct. | |||||
| | * | | | tor-netdoc: Declare intent not to apply parse2 to Consensus | Ian Jackson | 2025-10-22 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consensus is not going to be easy to square with parse2 - especially, signature handling is very different between the two parsers. Instead, we'll have a new NetworkStatus type. | |||||
| | * | | | tor-netdoc: Rename consensus Header to Preamble | Ian Jackson | 2025-10-22 | 4 | -40/+42 | |
| | | | | | | | | | | | | | | | | | | | | | There is no such thing as the "header" according to the spec. We mean the preamble. | |||||
| * | | | | Merge branch 'ctrl-msg-2' into 'main' | David Goulet | 2025-10-22 | 2 | -111/+113 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | proto: Move the control channels to RelayReactor See merge request tpo/core/arti!3387 | |||||
| | * | | | proto: Replace select! with select_biased! | Gabriela Moldovan | 2025-10-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | We need to give the control channels higher priority here. | |||||
| | * | | | proto: Update an outdated doc link | Gabriela Moldovan | 2025-10-22 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | proto: Add debug log when RelayReactor shuts down | Gabriela Moldovan | 2025-10-22 | 1 | -2/+14 | |
| | | | | | ||||||
| | * | | | proto: Replace futures::select with import | Gabriela Moldovan | 2025-10-22 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | proto: Remove no-longer relevant note on control message handling | Gabriela Moldovan | 2025-10-22 | 1 | -10/+0 | |
| | | | | | ||||||
| | * | | | proto: Remove an already-addressed TODO | Gabriela Moldovan | 2025-10-22 | 1 | -2/+0 | |
| | | | | | ||||||
| | * | | | proto: Handle control messages in RelayReactor | Gabriela Moldovan | 2025-10-22 | 2 | -51/+53 | |
| | | | | | | | | | | | | | | | | | Control messages are handled in RelayReactor instead of BackwardReactor. | |||||
| | * | | | proto: Move the control channels to RelayReactor | Gabriela Moldovan | 2025-10-22 | 2 | -53/+53 | |
| | | | | | | | | | | | | | | | | | | | | | This only moves the control/command fields to RelayReactor. The next step is to actually implement the control message handling and dispatch. | |||||
| * | | | | Merge branch 'tor-dirserver-msrv-1.86' into 'main' | David Goulet | 2025-10-22 | 1 | -1/+1 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | tor-dirserver: Bump MSRV from 1.83 to 1.86 See merge request tpo/core/arti!3385 | |||||
| | * | | | tor-dirserver: bump MSRV from 1.83 to 1.86 | hashcatHitman | 2025-10-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I noticed that when doing `cargo generate-lockfile` in the workspace root, it was locking dependencies to 1.83 compatible versions. It turns out tor-dirserver started on MSRV 1.83 after we already bumped to 1.85, and has been missed in MSRV updates ever since. I've found no indication it is intentionally getting this special treatment and am assuming it is a mistake. Signed-off-by: hashcatHitman <[email protected]> | |||||
| * | | | | Merge branch 'p2-shared-rand-status' into 'main' | Ian Jackson | 2025-10-22 | 5 | -17/+28 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | impl ItemValueParseable for SharedRandStatus See merge request tpo/core/arti!3380 | |||||
| | * | | | | tor-netdoc: impl ItemValueParseable for SharedRandStatus | Ian Jackson | 2025-10-21 | 1 | -0/+1 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: impl Display, FromStr, NormalItemArgument for SharedRandVal | Ian Jackson | 2025-10-21 | 1 | -2/+18 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: derive From<Vec<u8>> and v-v for B64 | Ian Jackson | 2025-10-21 | 1 | -7/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This may not be the best utility type to use for lots of the fixed-length byte strings, but we *are* using it a lot in the old and now the new parser. Implement From and Into. | |||||
| | * | | | | tor-netdoc: Change type of timestamp in SharedRandStatus (fmt) | Ian Jackson | 2025-10-21 | 1 | -2/+1 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: Change type of timestamp in SharedRandStatus | Ian Jackson | 2025-10-21 | 4 | -7/+8 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'restricted-discovery-stable' into 'main' | gabi-250 | 2025-10-22 | 4 | -14/+13 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | arti: Mark restricted-discovery as non-experimental See merge request tpo/core/arti!3384 | |||||
| | * | | | | | arti: Update README to say restricted discovery is non-experimental | Gabriela Moldovan | 2025-10-21 | 1 | -1/+4 | |
| | | | | | | | ||||||
| | * | | | | | arti: Move restricted-discovery closer to onion-service-service | Gabriela Moldovan | 2025-10-21 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | hsrproxy: Sort Cargo.toml | Gabriela Moldovan | 2025-10-21 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This change is needed to satisfy `maint/cargo_sort` | |||||
| | * | | | | | hsrproxy: Place non-experimental features at the top | Gabriela Moldovan | 2025-10-21 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | arti: Mark restricted-discovery as non-experimental | Gabriela Moldovan | 2025-10-21 | 3 | -8/+8 | |
| | |/ / / / | | | | | | | | | | | | | | | | As per the team decision from the 14 Oct Arti sync. | |||||
| * | | | | | arti-relay: add line breaks between `InertTorRelay` fields | Steven Engler | 2025-10-21 | 1 | -0/+5 | |
| | | | | | | ||||||
| * | | | | | arti-relay: add a `MemoryQuotaTracker` | Steven Engler | 2025-10-21 | 1 | -3/+12 | |
| | | | | | | ||||||
| * | | | | | arti-relay: add a `SystemConfig` to the relay config | Steven Engler | 2025-10-21 | 1 | -0/+18 | |
| | | | | | | ||||||
| * | | | | | arti-relay: add some TODO comments | Steven Engler | 2025-10-21 | 1 | -0/+3 | |
| | | | | | | ||||||
