summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | maint: update comments for RUSTSEC-2024-0384 exceptionSteven Engler2025-02-261-4/+9
|/ / / / | | | | | | | | | | | | | | | | The 'notify' lib was recently upgraded to 8.0.0, but that's not the only place that we depend on 'instant'.
* | | | Merge branch 'upgrades-2025-02' into 'main'Nick Mathewson2025-02-2644-80/+82
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Upgrades for next release See merge request tpo/core/arti!2809
| * | | | Upgraede to der-parser 10Nick Mathewson2025-02-262-8/+8
| | | | |
| * | | | Upgrade to directories 6Nick Mathewson2025-02-263-5/+5
| | | | |
| * | | | Upgrade to derive_more 2Nick Mathewson2025-02-2642-51/+56
| | | | | | | | | | | | | | | | | | | | | | | | | This took a little refactoring, since derive_more::Foo no longer re-exports std::ops::Foo.
| * | | | Upgrade to notify 8.Nick Mathewson2025-02-263-16/+13
| | |_|/ | |/| |
* | | | Merge branch 'tor-congestion' into 'main'Nick Mathewson2025-02-261-2/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-congestion: Temporarily set `publish = true` See merge request tpo/core/arti!2807
| * | | tor-congestion: temporarily set `publish = true`Steven Engler2025-02-261-2/+3
|/ / /
* | | Merge branch 'happy-families' into 'main'Nick Mathewson2025-02-2517-47/+489
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Client implementation for happy families Closes #1848 See merge request tpo/core/arti!2792
| * | | netdir: Consider RelayFamilyIds based on family rulesNick Mathewson2025-02-254-27/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the client side of proposal 321. It's a breaking change in netdir, since in_same_family now takes an extra argument.
| * | | relay-selection: Add FamilyRules to exclude_relays_in_same_family.Nick Mathewson2025-02-256-18/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we're trying to exclude relays by family, we need to know which lists to look at. This information ultimately comes from the network parameters. We could avoid this change if we just told clients "look at all family information all the time", but that's not what the proposal says. This is a breaking change.
| * | | guardmgr: flag to indicate whether a FirstHop is a BridgeNick Mathewson2025-02-251-0/+9
| | | | | | | | | | | | | | | | | | | | This will affect some details of path selection as we provide more info about families.
| * | | netdir: Add client params related to happy families (prop321)Nick Mathewson2025-02-251-0/+10
| | | |
| * | | netdoc: Add "family-cert" entries to routerdesc parserNick Mathewson2025-02-252-3/+141
| | | |
| * | | netdoc: Add "family-ids" line to microdesc parserNick Mathewson2025-02-123-2/+64
| | | |
| * | | netdoc: Type to represent a relay family idNick Mathewson2025-02-121-1/+81
| | | | | | | | | | | | | | | | | | | | This corresponds to the entries in "family-ids" in the happy families design.
| * | | cert: reserve 0x0C for FAMILY_V_IDENTITY (happy families) certs.Nick Mathewson2025-02-111-0/+4
| | | |
* | | | Merge branch 'rtmock-thread' into 'main'Ian Jackson2025-02-251-91/+525
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-rtmock: Provide a facility for handling other threads See merge request tpo/core/arti!2793
| * | | tor-rtmock: Avoid confusing "concurrently" wordIan Jackson2025-02-251-2/+2
| | | |
| * | | tor-rtmock: Explain Subthreads and compare them with bare threadsIan Jackson2025-02-251-0/+31
| | | |
| * | | tor-rtmock: Capitalise Subthread and link to the definitionIan Jackson2025-02-251-25/+29
| | | | | | | | | | | | | | | | | | | | This makes it clearer that this is a specific term, which a definition.
| * | | tor-rtmock: Fix a typoIan Jackson2025-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2793#note_3161972
| * | | tor-rtmock: Move imprecations to more prominent locationIan Jackson2025-02-251-11/+9
| | | | | | | | | | | | | | | | | | | | The rustdocs for a fn in a trait impl are rendered, but are very unobvious. Put the information in the top-level documentation.
| * | | tor-rtmock: subthread facilityIan Jackson2025-02-131-7/+381
| | | | | | | | | | | | | | | | We'll expose this with some new traits in tor_rtmock.
| * | | tor-rtmock: subthread facility (pre-fmt)Ian Jackson2025-02-131-2/+10
| | | |
| * | | tor-rtmock: Replace open-coded Debug impl with DeriveIan Jackson2025-02-131-34/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | No change to output, but much less open-coding. Move the doc comment that was on the Debugg impl, to the `DebugTasks` helper struct.
| * | | 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