| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | tor-netdoc: test2: Test parse_netdoc_multiple_with_offsets | Ian Jackson | 2025-12-18 | 1 | -2/+25 | |
| | | | | | | | | | | | | | | | | | | | * Make a fancy version of t_ok, t_ok_multi, that takes the expected boundary byte offsets. * t_ok is now just for single-document files and is implemented in terms of t_ok_multi. * Use t_ok_multi for the one test case with multiple documents. | |||||
| * | | | tor-netdoc: test2: Add a test file with more than one document | Ian Jackson | 2025-12-18 | 1 | -0/+17 | |
| | | | | ||||||
| * | | | tor-netdoc: Provide parse2::parse_netdoc_multiple_with_offsets | Ian Jackson | 2025-12-18 | 2 | -0/+22 | |
| | | | | ||||||
| * | | | tor-netdoc: Break out and expose ItemStream::byte_position | Ian Jackson | 2025-12-18 | 2 | -3/+11 | |
| | | | | ||||||
| * | | | tor-netdoc: Fix doc comment for parse_netdoc_multiple | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Merge branch 'p2-preamble-1' into 'main' | Ian Jackson | 2025-12-18 | 7 | -12/+127 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Some work on parsing the network status preamble See merge request tpo/core/arti!3550 | |||||
| | * | | | tor-netdoc: netstatus preamble: Reorder fields to match spec order | Ian Jackson | 2025-12-18 | 1 | -21/+21 | |
| | | | | | | | | | | | | | | | | | | | | | As suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3313757 | |||||
| | * | | | tor-netdoc: netstatus preamble: Add a lot of blank lines | Ian Jackson | 2025-12-18 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | | | | I'm going to reorder things and this will make that much less error-prone, at least for me. | |||||
| | * | | | tor-netdoc: netstatus preamble: Clarify TODO for known-flags | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: netstatus: improve TODO comments | Ian Jackson | 2025-12-18 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the result of reading through the spec and comparing it to the struct. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312672 | |||||
| | * | | | tor-netdoc: Clarify the wrong field bug example | Ian Jackson | 2025-12-18 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312670 | |||||
| | * | | | tor-netdoc: Fix typo in comment | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312669 | |||||
| | * | | | tor-netdoc: rustfmt | Ian Jackson | 2025-12-18 | 1 | -2/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Preamble: Parse published in votes | Ian Jackson | 2025-12-18 | 3 | -0/+5 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Preamble: Parse consensus-methods in votes | Ian Jackson | 2025-12-18 | 4 | -1/+5 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Preamble: Fix consensus-method parsing in votes | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: impl NetdocParseableFields for Preamble | Ian Jackson | 2025-12-18 | 1 | -0/+12 | |
| | | | | | ||||||
| | * | | | tor-netdoc: impl ItemValueParseable for NetParams<i32> | Ian Jackson | 2025-12-18 | 1 | -1/+11 | |
| | | | | | ||||||
| | * | | | tor-netdoc: impl NetdocParseableFields for ProtoStatuses | Ian Jackson | 2025-12-18 | 1 | -1/+63 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Use $P for prelude in one place | Ian Jackson | 2025-12-18 | 2 | -2/+2 | |
| | |/ / | | | | | | | | | | This was missed, apparently. | |||||
| * | | | Merge branch 'feat/retry-error-timestamps' into 'main' | Ian Jackson | 2025-12-17 | 9 | -47/+399 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | retry-error timestamps Closes #2269 See merge request tpo/core/arti!3506 | |||||
| | * | | | fix(download): Use push_timed with mockable time sources | Nihal | 2025-12-17 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | chore: remove debug comments, use let-else | Nihal | 2025-12-17 | 1 | -18/+9 | |
| | | | | | ||||||
| | * | | | fix: preserve Attempt variant directly | Nihal | 2025-12-17 | 1 | -26/+33 | |
| | | | | | ||||||
| | * | | | fix: preserve Attempt::Range when extending | Nihal | 2025-12-17 | 1 | -5/+60 | |
| | | | | | ||||||
| | * | | | fix: preserve timestamps when flattening RetryErrors | Nihal | 2025-12-17 | 2 | -7/+48 | |
| | | | | | ||||||
| | * | | | chore: remove unncesarry file | Nihal | 2025-12-17 | 1 | -56/+0 | |
| | | | | | ||||||
| | * | | | fix: use wallclock timestamps in all push_timed calls | Nihal | 2025-12-17 | 5 | -26/+94 | |
| | | | | | ||||||
| | * | | | fix: semver labels and extend() with push_timed loop | Nihal | 2025-12-17 | 2 | -5/+8 | |
| | | | | | ||||||
| | * | | | refactor: convert Extend to inherent method, forbid push/extend, fix ↵ | Nihal | 2025-12-17 | 5 | -16/+50 | |
| | | | | | | | | | | | | | | | | | rend_handshake time | |||||
| | * | | | refactor: remove early returns and forbid push() via clippy | Nihal | 2025-12-17 | 1 | -5/+6 | |
| | | | | | ||||||
| | * | | | refactor: clean code | Nihal | 2025-12-17 | 5 | -105/+144 | |
| | | | | | ||||||
| | * | | | feat(retry-error): add timestamps to retry errors | Nihal | 2025-12-17 | 6 | -52/+221 | |
| | |/ / | ||||||
| * / / | rpc-connect-point: Decline (not abort) on more invalid address formats. | Nick Mathewson | 2025-12-17 | 2 | -4/+26 | |
| |/ / | | | | | | | | | | | | | | | | | | | When we see an address schema we don't recognize, we're supposed to _decline_ the connect point rather than aborting. Closes #2303. See discussion at #1844. Additionally, we tolerate more kinds of invalid address, in order to permit future planned extensions. | |||||
| * | | Merge branch 'listen_on_auto' into 'main' | Nick Mathewson | 2025-12-16 | 9 | -75/+486 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Allow listening on port "auto", and reporting bound ports via a JSON file Closes #1758 See merge request tpo/core/arti!3548 | |||||
| | * | | Improve socks_listen/dns_listen documentation. | Nick Mathewson | 2025-12-16 | 1 | -3/+8 | |
| | | | | ||||||
| | * | | arti: Move "port_info_file" configuration into "storage" | Nick Mathewson | 2025-12-16 | 3 | -12/+34 | |
| | | | | | | | | | | | | | | | | | | | This was a little funny, since the other storage elements are declared in tor-client. Fortunately, our stacked configuration logic handles this fine. | |||||
| | * | | arti: tweak port_info documentation. | Nick Mathewson | 2025-12-16 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | arti: Export the chosen ports in a ports_info.json file. | Nick Mathewson | 2025-12-16 | 8 | -24/+267 | |
| | | | | | | | | | | | | | | | | This allows applications to find out where arti is listening when arti has been configured to listen with the port "auto". | |||||
| | * | | arti: Change how proxy futures are returned. | Nick Mathewson | 2025-12-16 | 3 | -26/+45 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the proxy and dns modules only had "be a proxy" functions that ran forever. Now they have functions that bind to listeners and return a separate "be a proxy" future that runs forever. This lets us simplify some kludges in subcommands::proxy. More importantly, it will let us return the bound-to ports so that subcommands::proxy can write them to disk. This is a break in experimental-apis, which does not require a semver change. | |||||
| | * | | tor_config::listen: Warn on explicit port zero. | Nick Mathewson | 2025-12-16 | 1 | -2/+17 | |
| | | | | ||||||
| | * | | arti: tweak docs, add TODOs with respect to Listener. | Nick Mathewson | 2025-12-16 | 3 | -1/+6 | |
| | | | | ||||||
| | * | | arti: Log the actual addresses we are listening on. | Nick Mathewson | 2025-12-16 | 2 | -4/+10 | |
| | | | | ||||||
| | * | | tor_config::Listen: Add methods to check for auto and port 0. | Nick Mathewson | 2025-12-16 | 1 | -0/+37 | |
| | | | | ||||||
| | * | | tor_config::Listen: Add "auto" items | Nick Mathewson | 2025-12-16 | 1 | -7/+55 | |
| | | | | | | | | | | | | | These are a nicer syntax than using port "0" explicitly. | |||||
| | * | | tor_config::Listen: Deprecate localhost_port_legacy. | Nick Mathewson | 2025-12-16 | 1 | -1/+5 | |
| | | | | | | | | | | | | | Nothing actually uses it any more, which is good. | |||||
| | * | | tor_config::Listen: Refactor legacy methods. | Nick Mathewson | 2025-12-16 | 1 | -22/+26 | |
| | | | | | | | | | | | | | | | | Have the part of them that does the "no multiple addresses" work be common, so that we can simplify how they actually behave. | |||||
| * | | | arti,arti-relay: change info keystore path msg to debug | Steven Engler | 2025-12-11 | 2 | -3/+8 | |
| |/ / | ||||||
| * | | Merge branch 'tls12' into 'main' | Nick Mathewson | 2025-12-10 | 1 | -1/+0 | |
| |\ \ | | | | | | | | | | | | | arti: Remove 'rustls/tls12' feature See merge request tpo/core/arti!3540 | |||||
| | * | | arti: remove 'rustls/tls12' feature | Steven Engler | 2025-12-09 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | We don't rely on this within the arti crate, and tor-rtcompat already sets this. It's confusing to have it here as well. If the arti ecosystem requires this, it should be enabled on the lower level crates (like it already is in tor-rtcompat) so that arti-client users get it too. | |||||
