summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | proto: Return a more specific error message from allow_stream_requests.Gabriela Moldovan2025-08-052-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the error message would say `Single circuit getter on multi path tunnel`. The new error message makes it clearer that calling `ClientTunnel::allow_stream_requests()` on a multi path tunnel is not supported.
| * | | | | | proto: Set is_multi_path = true in the tests.Gabriela Moldovan2025-08-051-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the `allow_stream_requests()` tests which ensures we don't allow incoming streams on multipath tunnels (because we don't currently support it). This also changes `newcirc_ext` to return `ClientTunnel` instead of `Arc<ClientTunell>` (we need to mutate `ClientTunnel` to manually set `is_multi_path` on its inner `ClientCirc`).
| * | | | | | proto: Avoid using as_single_circ() in the conflux tests (fmt).Gabriela Moldovan2025-08-051-5/+1
| | | | | | |
| * | | | | | proto: Avoid using as_single_circ() in the conflux tests.Gabriela Moldovan2025-08-051-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `as_single_circ()` returns an error for multipath tunnels.
| * | | | | | circmgr: Fix unit testsDavid Goulet2025-08-052-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Fix the tunnel/circuit.rs unit testsDavid Goulet2025-08-052-80/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt all tests to use the new ClientTunnel. Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Remove todo!() from StreamTarget::protocol_error()David Goulet2025-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | arti-client: Use the new Tunnel interfaceDavid Goulet2025-08-053-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | dirmgr: Rename circuit to tunnelDavid Goulet2025-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | tunnel: Implement start_conversation() for all tunnel typesDavid Goulet2025-08-059-167/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BaseTunnel now has a start_conversation() which takes a TargetHop meaning it can be used with a multi path tunnel. The Conversation object has been moved into the tunnel namespace out of the circuit one. Signed-off-by: David Goulet <[email protected]>
| * | | | | | hs: Use the new Tunnel interface for onion serviceDavid Goulet2025-08-0514-230/+392
| | | | | | |
| * | | | | | dirclient: Use the new Tunnel interface (fmt).Gabriela Moldovan2025-08-051-1/+3
| | | | | | |
| * | | | | | dirclient: Use the new Tunnel interfaceDavid Goulet2025-08-054-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This entirely removes the requirement on ClientCirc. Signed-off-by: David Goulet <[email protected]>
| * | | | | | circmgr: Return more type specific tunnelDavid Goulet2025-08-052-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step towards making the circmgr return high level tunnel types (wrappers around ClientTunnel). Future commits will then modify each subsystems to use those specific types. They are split in order to reduce complexity. Signed-off-by: David Goulet <[email protected]>
| * | | | | | tunnel: Implement Buildable for ClientTunnelDavid Goulet2025-08-056-88/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to pull this off, the Arc requirement needs to go away because the Arc<ClientCirc> is now within the ClientTunnel. This commit also has a rename of the CircuitBuilder to TunnelBuilder in order to reflect the change that it now builds a ClientTunnel. There is a slight rename in tor-proto as well just for accuracy. Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Change PendingClientCirc to yield back a ClientTunnelDavid Goulet2025-08-053-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And rename it in the process to "PendingClientTunnel". Signed-off-by: David Goulet <[email protected]>
| * | | | | | circmgr: Major rename for the new Tunnel namespaceDavid Goulet2025-08-058-625/+635
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CircMgr will no longer yield circuits but tunnels (src/tunnel.rs). This is a first step to rename most circuit related objects to use "tunnel" instead. Some "circuit" names have been kept for more precise definitions. No behavior changes. Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Add last_hop() to Tunnel interfaceDavid Goulet2025-08-052-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | circmgr: New Tunnel object interfaceDavid Goulet2025-08-055-2/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce the new Tunnel structs that is planned to expose publicly as a replacement to `ClientCirc`. Future commits will make those tunnel objects be used accross the code base up until tor-proto which than handles Circuit directly. Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Move ClientCirc stream functions to ClientTunnelDavid Goulet2025-08-056-483/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to pull this off, some client => tunnel renaming needed to happen including the comments. The send_raw_msg() is an experimental and expert mode method that any tunnel should have access to in order to be able to send whatever message in whatever tunnel type. No behavior changes. Signed-off-by: David Goulet <[email protected]>
| * | | | | | proto: Add a new ClientTunnel typeGabriela Moldovan2025-08-053-2/+103
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To use the functionality only allowed on single-circuit tunnels (such as `extend*`), callers will have to call `ClientTunnel::as_single_circ()` to obtain a handle to the underlying `ClientCirc`. This is an opinionated design decision that goes against the plan from [!2790]. It stems from my thinking that it would make more sense to keep `ClientCirc`, than to merge it into `ClientTunnel`. If we merge the two, many functions will need become fallible and less ergonomic, because the user of `ClientTunnel` needs to know whether the `ClientTunnel` consists of a single-circuit or not. Providing (fallible) access to the underlying `ClientCirc` of the `ClientTunnel` seems simpler than the alternative. That being said, I am open to switching back to the original plan if this design turns out to be annoying to work with. [!2790]: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2790
* | | | | | Merge branch 'fix_rustdoc_nightly' into 'main'Nick Mathewson2025-08-0514-8/+30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Fix errors from rustdoc nightly. See merge request tpo/core/arti!3124
| * | | | | Fix errors from rustdoc nightly.Nick Mathewson2025-08-0514-8/+30
| | | | | |
* | | | | | Merge branch 'changelog' into 'main'arti-v1.4.6Ian Jackson2025-08-053-5/+198
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog content for 1.4.6 See merge request tpo/core/arti!3119
| * | | | | | changelog: Fix a linkIan Jackson2025-08-051-0/+1
| | | | | | |
| * | | | | | changelog: Remove boilerplate line.Ian Jackson2025-08-051-1/+0
| | | | | | |
| * | | | | | chagnelog: Run maint/format_md_links to add two missing full stopsIan Jackson2025-08-051-2/+2
| | | | | | |
| * | | | | | changelog: Linkify an MRIan Jackson2025-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This escaped previously by being in the wrong section.
| * | | | | | changelog: Move an item to the right release (!)Ian Jackson2025-08-051-5/+5
| | | | | | |
| * | | | | | Update the release dateIan Jackson2025-08-051-1/+1
| | | | | | |
| * | | | | | changelog: manually add missing linksIan Jackson2025-08-051-5/+5
| | | | | | |
| * | | | | | changelog: run maint/update-md-linksIan Jackson2025-08-051-2/+47
| | | | | | |
| * | | | | | changelog: manually adjust some referencesIan Jackson2025-08-051-14/+7
| | | | | | |
| * | | | | | changelog: run maint/changelog-syntax-fiddleIan Jackson2025-08-051-42/+25
| | | | | | |
| * | | | | | maint/changelog-syntax-fiddle: Write out links at endIan Jackson2025-08-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we can lose the links from the last item!
| * | | | | | maint/changelog-syntax-fiddle: Break out write_out_linksIan Jackson2025-08-051-4/+8
| | | | | | |
| * | | | | | changelog: acknowledge contributors (maint/thanks output)Ian Jackson2025-08-051-3/+1
| | | | | | |
| * | | | | | changelog: Provide a summaryIan Jackson2025-08-051-10/+8
| | | | | | |
| * | | | | | changelog: Document remaining changes in 1.4.6Ian Jackson2025-08-051-2/+5
| | | | | | |
| * | | | | | changelog: Mark two things as experimentalIan Jackson2025-08-051-2/+2
| | | | | | |
| * | | | | | changelog: Move hsdesc limit to security sectionIan Jackson2025-08-041-3/+4
| | | | | | |
| * | | | | | changelog: Suggestions from reviewIan Jackson2025-08-041-3/+3
| | | | | | |
| * | | | | | changelog: include changes up to nowIan Jackson2025-08-041-36/+115
| | | | | | |
| * | | | | | changelog: Add some todo marksIan Jackson2025-08-041-2/+5
| | | | | | |
| * | | | | | changelog: Copy ChangelogTemplate.md into CHANGELOG.mdIan Jackson2025-08-041-0/+84
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'versions' into 'main'Ian Jackson2025-08-0554-569/+583
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Version bumps for 1.4.6 See merge request tpo/core/arti!3123
| * | | | | Bump version of tor-basic-utilsIan Jackson2025-08-0529-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | This was accidentally omitted from my version bump script.
| * | | | | Update hashx-bench lockfileIan Jackson2025-08-051-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | cd crates/hashx/bench && cargo update
| * | | | | Update equix-bench lockfileIan Jackson2025-08-051-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | cd crates/equix/bench && cargo update
| * | | | | Version bumps for 1.4.6Ian Jackson2025-08-0551-493/+493
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made with the following shell script: export CARGO='nailing-cargo -Eu' # Non-functional changes only maint/bump_nodep hashx # Special $CARGO set-version -p arti 1.4.6 # Additional features, no breaking changes, depended on in tree $CARGO set-version -p safelog 0.4.8 # Unconditional bump to 0.33.0 xargs -I P <<END $CARGO set-version -p P 0.33.0 tor-error tor-general-addr tor-geoip tor-rtcompat tor-rtmock tor-async-utils tor-config tor-config-path tor-rpc-connect tor-log-ratelim tor-rpcbase tor-memquota tor-units tor-llcrypto tor-bytes tor-protover tor-checkable tor-cert tor-key-forge tor-hscrypto tor-socksproto tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy tor-relay-crypto arti-client arti-relay arti-rpcserver arti-ureq arti-rpc-client-core END