summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | tor-rtmock tests: Improve various_mock_executorsIan Jackson2025-02-131-0/+1
| | | | | | | | | | | | | | | | | | | | Show where each test sub-case is started, in stderr output.
| * | | | tor-rtmock tests: Break out various_mock_executorsIan Jackson2025-02-131-5/+10
| | | | | | | | | | | | | | | | | | | | We're going to add another call site.
| * | | | tor-rtmock: Break out Task::set_awakeIan Jackson2025-02-131-7/+19
| | | | | | | | | | | | | | | | | | | | We're going to add another call site.
| * | | | tor-rtmock: task: Rename MockExecutor Arc<Shared> field to sharedIan Jackson2025-02-131-17/+17
| | | | |
| * | | | tor-rtmock: task: Replace ArcMutexData with Arc<Shared>Ian Jackson2025-02-131-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to want to add a field inside the Arc but not inside the Mutex, so make the Arc contents into a named-fields struct. We don't need ArcMutexData any more. Arc<Shared> will do fine. Previously, we needed to implement .lock() on ArcMutexData but because Arc<Shared> derefs to Shared, we can implement it on Shared just as well. The field in MockExecutor ought to be renamed, but that's textually intrusive so will come in the next commit.
| * | | | tor-rtmock: Correct a commentIan Jackson2025-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In an earlier version of this code there was a Polling state, but there isn't now.
* | | | | Merge branch 'stream-target' into 'main'opara2025-02-243-2/+35
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | tor-proto: Add (unused) `HopLocation` and `TargetHop` See merge request tpo/core/arti!2803
| * | | | tor-proto: add variants to `HopLocation` behind `conflux` featureSteven Engler2025-02-242-7/+10
| | | | |
| * | | | tor-proto: add experimental 'conflux' featureSteven Engler2025-02-241-1/+2
| | | | |
| * | | | tor-proto: add `HopLocation` and `TargetHop`Steven Engler2025-02-241-0/+29
|/ / / /
* | | | Merge branch 'no-onion' into 'main'Ian Jackson2025-02-241-0/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add doc/dev/Style.md with an imprecation against "onion" to mean HS See merge request tpo/core/arti!2791
| * | | | Add doc/dev/Style.md with an imprecation against "onion"Ian Jackson2025-02-131-0/+37
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | This keeps happening. Text stolen from the description in https://gitlab.torproject.org/tpo/core/arti/-/issues/756
* | | | Merge branch 'clippy-fix' into 'main'Ian Jackson2025-02-242-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-netdoc: Fix new clippy warnings on 1.85 See merge request tpo/core/arti!2801
| * | | | arti-rpcserver: Fix operator precedence warning.Gabriela Moldovan2025-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes an "operator precedence can trip the unwary" warning that showed up after I updated my toolchain to 1.85.
| * | | | tor-netdoc: Fix useless conversion warning.Gabriela Moldovan2025-02-241-1/+1
|/ / / / | | | | | | | | | | | | This fixes a warning that triggers on the latest stable release (1.85).
* | | | Merge branch 'conflux-reog' into 'main'gabi-2502025-02-2427-227/+259
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto: Add a tunnel module See merge request tpo/core/arti!2800
| * | | | tor-proto: Add a tunnel module.David Goulet2025-02-2027-210/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move StreamTarget to the tunnel module and the circuit module. From now on streams will be implemented on tunnels, not circuits. This moves `StreamTarget` to the tunnel module. A future change will replace `ClientCirc` with `ClientTunnel` inside `StreamTarget`. This is mostly code motion, best reviewed with `--color-moved`. Signed-off-by: David Goulet <[email protected]>
| * | | | tor-proto: Change the visibility of a series of structGabriela Moldovan2025-02-203-17/+17
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | We're about to need this in `tor_proto::tunnel` which is from the Conflux work. In the spirit of upstreaming as much as possible, it is done now.
* | | | Merge branch 'leg-id' into 'main'opara2025-02-201-0/+16
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | tor-proto: Add LegId type that can be used as a slotmap key. See merge request tpo/core/arti!2799
| * | | tor-proto: Add a newtype wrapper for LegId.Gabriela Moldovan2025-02-201-4/+12
| | | | | | | | | | | | | | | | | | | | We will eventually need to expose this in `tor-proto`'s public API, so it'll need to be an opaque type.
| * | | tor-proto: Add LegId type that can be used as a slotmap key.Gabriela Moldovan2025-02-201-0/+8
|/ / / | | | | | | | | | | | | This will soon be used by the reactor-internal `ConfluxSet` as a unique identifier for the circuit legs stored in its `SlotMap`.
* | | Merge branch 'conflux-relay-cmd' into 'main'gabi-2502025-02-185-0/+232
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-cell: Add encodable conflux relay message types. Closes #1852 See merge request tpo/core/arti!2789
| * | | tor-cell: Add encodable conflux relay message types.Gabriela Moldovan2025-02-183-0/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for encoding and decoding `RELAY_CONFLUX_LINK`, `RELAY_CONFLUX_LINKED`, and `RELAY_CONFLUX_SWITCH` cells. Closes #1852
| * | | tor-cell: Add conflux RelayCmds.Gabriela Moldovan2025-02-182-0/+14
| | | | | | | | | | | | | | | | Part of #1852
| * | | tor-cell: Add an experimental conflux feature.Gabriela Moldovan2025-02-181-0/+2
|/ / /
* | | Merge branch 'circ-reactor-refactor' into 'main'gabi-2502025-02-183-59/+67
|\ \ \ | | | | | | | | | | | | | | | | tor-proto: Move CreateHandshakeWrap to reactor module. See merge request tpo/core/arti!2796
| * | | tor-proto: Move CreateHandshakeWrap to reactor module (fmt).Gabriela Moldovan2025-02-181-3/+1
| | | |
| * | | tor-proto: Move CreateHandshakeWrap to reactor module.Gabriela Moldovan2025-02-183-57/+67
| | | | | | | | | | | | | | | | | | | | This moves the `CreateHandshakeWrap` and its implementors to `reactor::create` (none of these are used outside of the reactor).
* | | | Merge branch 'typo' into 'main'David Goulet2025-02-171-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Fix `crate_bootstrapped` typo See merge request tpo/core/arti!2795
| * | | Fix `crate_bootstrapped` typokpcyrd2025-02-161-1/+1
|/ / /
* | | Merge branch 'remove-circ' into 'main'Nick Mathewson2025-02-163-41/+14
|\ \ \ | |_|/ |/| | | | | | | | tor-proto: Remove deprecated DataStream API. See merge request tpo/core/arti!2794
| * | tor-proto: Remove deprecated DataStream API.Gabriela Moldovan2025-02-133-41/+14
|/ / | | | | | | | | Reducing `ClientCirc` proliferation will make our lives easier when implementing !2790.
* | Merge branch 'deftly' into 'main'Ian Jackson2025-02-1225-77/+118
|\ \ | |/ |/| | | | | Update to derive-deftly 1.0 and enable beta features See merge request tpo/core/arti!2788
| * Enable derive-deftly beta featuresIan Jackson2025-02-1219-20/+20
| | | | | | | | | | | | | | | | Right now this will give us `${Xmeta as ... default ...}`, which may improve things in the future. The Cargo.toml syntax is precisely that from https://docs.rs/derive-deftly/1.0.0/derive_deftly/doc_changelog/index.html#t:beta
| * Update to derive-deftly 1.0Ian Jackson2025-02-1225-77/+118
|/ | | | | | | | | This is released now. Prepared with: cargo upgrade -i -p derive-deftly There is some new duplication now I think mostly because pwd-grp uses old derive-deftly.
* Merge branch 'upgrade-hickory-proto' into 'main'Nick Mathewson2025-02-113-10/+11
|\ | | | | | | | | | | | | arti: Upgrade 'hickory-proto' to 0.24.3 Closes #1847 See merge request tpo/core/arti!2784
| * maint: add 'yoke' to upgrade list in 'downgrade_dependencies'Steven Engler2025-02-111-1/+2
| |
| * arti: upgrade 'hickory-proto' to 0.24.3Steven Engler2025-02-102-9/+9
| | | | | | | | This resolves RUSTSEC-2025-0006, which arti is not affected by.
* | Merge branch 'fallbackdirs-02-2025' into 'main'Jim Newsome2025-02-111-889/+922
|\ \ | | | | | | | | | | | | fallbackdir: Update list generated on February 05, 2025 See merge request tpo/core/arti!2787
| * | fallbackdir: Update list generated on February 05, 2025Tor CI Release2025-02-111-889/+922
|/ / | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | Merge branch 'remove-cmd-handler' into 'main'David Goulet2025-02-112-95/+79
|\ \ | |/ |/| | | | | tor-proto: Fold the CommandHandler into ControlHandler. See merge request tpo/core/arti!2786
| * tor-proto: Fold the CommandHandler into ControlHandler.Gabriela Moldovan2025-02-112-95/+79
|/ | | | | | | | This gets rid of a bit of a duplicated code. It also moves `CtrlCmd` closer to `CtrlMsg`. Offshoot from my WIP conflux branch for #1838
* Merge branch 'circ-clock-skew' into 'main'opara2025-02-106-38/+63
|\ | | | | | | | | | | | | tor-proto: Add `ClientCirc::first_hop_clock_skew` and remove `ClientCirc::channel` Closes #1839 See merge request tpo/core/arti!2783
| * tor-proto: added 'semver.md' fileSteven Engler2025-02-101-0/+1
| |
| * tor-proto: remove `ClientCirc::channel`Steven Engler2025-02-101-26/+2
| |
| * tor-dirclient: modify `check_circuit` to use `first_hop_clock_skew`Steven Engler2025-02-102-15/+30
| |
| * tor-proto: add `ClientCirc::first_hop_clock_skew`Steven Engler2025-02-103-0/+33
|/
* Merge branch 'bug1839' into 'main'opara2025-02-101-2/+7
|\ | | | | | | | | | | | | conflux: Split off `time_provider` from `channel` in `ClientCirc` Closes #1839 See merge request tpo/core/arti!2772
| * conflux: Split off `time_provider` from `channel` in `ClientCirc`Neel Chauhan2025-02-101-2/+7
| |
* | Merge branch 'generic-replay-log-2' into 'main'wesleyac2025-02-105-180/+279
|\ \ | |/ |/| | | | | Make ReplayLog generic See merge request tpo/core/arti!2688