summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | tor-proto: Remove a resolved XXX.Gabriela Moldovan2025-05-061-4/+3
| | | | | | | |
| * | | | | | | tor-proto: Try to dequeue ooo messages in circ reactor main loop.Gabriela Moldovan2025-05-063-9/+59
| | | | | | | |
| * | | | | | | tor-proto: Add reactor cmd for buffering out-of-order messages.Gabriela Moldovan2025-05-064-6/+220
| | | | | | | |
| * | | | | | | tor-proto: Split handle_relay_msg() into two functions.Gabriela Moldovan2025-05-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Soon `handle_in_order_relay_msg()` will be called from other places too, for handling deferred out-of-order conflux messages.
| * | | | | | | tor-proto: Add a CtrlMsg for linking circuits.Gabriela Moldovan2025-05-062-5/+74
| | | | | | | |
| * | | | | | | tor-proto: Support adding and linking circuits in ConfluxSet.Gabriela Moldovan2025-05-063-4/+195
| | | | | | | |
| * | | | | | | tor-proto: Add function for checking if a circuit has any open streams.Gabriela Moldovan2025-05-061-0/+11
| | | | | | | |
| * | | | | | | tor-proto: Add helper for checking if cmd counts towards conflux seqnos.Gabriela Moldovan2025-05-061-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a direct translation of C Tor's `conflux_should_multiplex()`.
| * | | | | | | tor-proto: Handle conflux cells in the reactor.Gabriela Moldovan2025-05-061-0/+39
| | | | | | | |
| * | | | | | | tor-proto: Add a TODO about adding a conflux MetaCellHandler.Gabriela Moldovan2025-05-061-0/+5
| | | | | | | |
| * | | | | | | tor-proto: Add Circuit function for beginning the conflux handshake.Gabriela Moldovan2025-05-061-0/+29
| | | | | | | |
| * | | | | | | tor-proto: Add a ConfluxMsgHandler to Circuit.Gabriela Moldovan2025-05-063-0/+49
| | | | | | | |
| * | | | | | | tor-proto: Add last_seq_delivered to ConfluxSet.Gabriela Moldovan2025-05-061-0/+17
| | | | | | | |
| * | | | | | | tor-proto: Add client-side conflux message handlers.Gabriela Moldovan2025-05-065-0/+547
| | | | | | | |
| * | | | | | | tor-proto: Add a reason to CircuitAction::RemoveLeg.Gabriela Moldovan2025-05-062-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The leg removal reason will be shared with the initiator of the conflux handshake (i.e. the sender of the `CtrlMsg` initiating the handshake), if the tunnel is a multi-path tunnel with conflux handshakes in progress.
| * | | | | | | tor-proto: Add conflux handshake state to reactor.Gabriela Moldovan2025-05-061-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reactor will need to notify the conflux handshake initiator (the sender of the `CtrlMsg` that triggered the handshake) of conflux set readiness, so it needs to keep track of the status of the circuits it was asked to link.
| * | | | | | | tor-proto: Add error and channel types for conflux handshake outcome.Gabriela Moldovan2025-05-062-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These will be used for sending the conflux handshake outcome to the reactor user.
| * | | | | | | tor-proto: Pass a DynTimeProvider to the circuit reactor.Gabriela Moldovan2025-05-063-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will need this to implement conflux handshake timeouts, and to get the current time for RTT calculations.
| * | | | | | | tor-proto: Add macro to dedupe error handling.Gabriela Moldovan2025-05-061-9/+30
| | | | | | | |
| * | | | | | | tor-proto: Store the DesiredUx inside ConfluxSet.Gabriela Moldovan2025-05-061-1/+10
| | | | | | | |
| * | | | | | | tor-proto: Store the join point of the tunnel in ConfluxSet.Gabriela Moldovan2025-05-061-4/+32
| | | | | | | |
| * | | | | | | tor-proto: Add Circuit::last_hop_num for getting the last HopNum.Gabriela Moldovan2025-05-062-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be soon needed in the `ConfluxSet` implementation too.
| * | | | | | | tor-proto: Store the V1Nonce of a conflux set in ConfluxSet.Gabriela Moldovan2025-05-061-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be shared by all circuits in the set, and will be used during the conflux handshake.
| * | | | | | | tor-proto: Make ConfluxSet::primary_id private.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't actually need to be `pub(super)`.
| * | | | | | | tor-proto: Enable tor-cell/conflux is conflux is enabled.Gabriela Moldovan2025-05-061-1/+1
|/ / / / / / /
* | | | | | | Merge branch 'tolerate-hs-errs' into 'main'Nick Mathewson2025-05-061-5/+5
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | shadow CI test: only require 1 successful HS transfer See merge request tpo/core/arti!2991
| * | | | | | shadow CI test: only require 1 successful HS transferJim Newsome2025-05-051-5/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per previous discussion there is some known flakiness around hidden services with TestingTorNetwork enabled: <https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1399#note_2921505> Previously, only requiring 5 of 10 transfers to succeed has been enough to keep this stable, but recently we've gotten unlucky and dipped under this threshold: <https://gitlab.torproject.org/tpo/core/arti/-/issues/1986> More investigation is warranted, especially wrt why the problem seems to mostly be affecting articlient-onion-auth, but for now it's better to have a low success threshold than to have folks overriding the CI failure.
* | | | | | Merge branch 'release-notes-update' into 'main'Nick Mathewson2025-05-051-7/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates to Release.md from recent release See merge request tpo/core/arti!2987
| * | | | | | Release.md: Note that we remove semver.md after releaseNick Mathewson2025-05-051-0/+5
| | | | | | |
| * | | | | | Release.md: Note that not every semver-checks lint mattersNick Mathewson2025-05-051-0/+5
| | | | | | |
| * | | | | | Release.md: Remove mention of "pages" branchNick Mathewson2025-05-051-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't use this branch for our website any longer.
| * | | | | | Release.md: note "Upgrade Blocker" ticketsNick Mathewson2025-05-051-0/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should check what dependencies we cannot upgrade, so that the release engineer has some history about where we got stuck last time.
* | | | | | Merge branch 'clean-implement-haskind-for-toraddrerror' into 'main'David Goulet2025-05-052-3/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | TODO: Implement HasKind trait for TorAddrError See merge request tpo/core/arti!2965
| * | | | | | Fix formatting in test_error_kind functionVijaya Bhaskar2025-04-271-1/+4
| | | | | | |
| * | | | | | Implement HasKind trait for TorAddrErrorVijaya Bhaskar2025-04-272-3/+25
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the HasKind trait for TorAddrError in address.rs, mapping all variants to the InvalidStreamTarget error kind. It also updates the ErrorDetail implementation in err.rs to delegate to TorAddrError's HasKind implementation instead of hardcoding the error kind. Resolves TODOs in address.rs and err.rs.
* | | | | | Merge branch 'repro-full' into 'main'David Goulet2025-05-051-1/+8
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable --features=full on reproducible builds. Closes #1964 See merge request tpo/core/arti!2956
| * | | | | reproducible_build: downgrade to crunchy 0.2.2Nick Mathewson2025-04-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a workaround for https://github.com/eira-fransham/crunchy/pull/17
| * | | | | Enable --features=full on reproducible builds.Nick Mathewson2025-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We generally recommend that people build with --features=full IRL, so this better matches what we're hoping they come up with. Additionally, it will help cases like #1964, where packagers would like to use reproducible builds as inputs to their own packages. Closes #1964
* | | | | | Merge branch 'revert-workaround' into 'main'Jim Newsome2025-05-012-13/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ci: bump shadow for EPOLLRDHUP fix Closes #1972 See merge request tpo/core/arti!2968
| * | | | | | Revert "arti-bench: work around shadow writer shutdown bug"Jim Newsome2025-04-281-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5f6bd6c42ea97c3f659280a32e206db77f4b4da6. This workaround is no longer needed since the underlying bugs have been fixed in shadow (See https://github.com/shadow/shadow/issues/3100 and https://github.com/shadow/shadow/pull/3574), and the CI has been bumped to use a version of shadow with these fixes.
| * | | | | | ci: bump shadow for EPOLLRDHUP fixJim Newsome2025-04-281-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes #1972
* | | | | | Merge branch 'publish' into 'main'arti-v1.4.3Nick Mathewson2025-05-011-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-ureq: Specify versions for dependencies. See merge request tpo/core/arti!2984
| * | | | | | arti-ureq: Specify versions for dependencies.Nick Mathewson2025-05-011-4/+4
|/ / / / / /
* | | | | | Merge branch 'release-1.4.3-fix-changelog' into 'main'wesleyac2025-05-011-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | release: Fix CHANGELOG.md formatting. See merge request tpo/core/arti!2983
| * | | | | | release: Fix CHANGELOG.md formatting.Wesley Aptekar-Cassels2025-05-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oops, shouldn't have pushed the previous MR without letting CI run fully...
* | | | | | | Merge branch 'release-1.4.3-semver' into 'main'wesleyac2025-05-0163-602/+582
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release: Bump versions. See merge request tpo/core/arti!2981
| * | | | | | | release: Update Cargo.lock files.Wesley Aptekar-Cassels2025-05-013-85/+85
| | | | | | | |
| * | | | | | | release: Bump arti to 1.4.3.Wesley Aptekar-Cassels2025-05-014-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` cargo set-version --bump patch -p arti ```
| * | | | | | | release: Bump all unstable tor/arti crates to 0.30.0Wesley Aptekar-Cassels2025-05-0159-511/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.30.0 done ```
| * | | | | | | release: Bump versions of non tor/arti crates.Wesley Aptekar-Cassels2025-05-012-2/+2
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error ``` Of these, only hashx and fs-mistrust have changed, as per: ``` ./maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` So these were updated with: ``` ./maint/bump_nodep hashx fs-mistrust ```