| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Merge branch 'todo1' into 'main' | Ian Jackson | 2025-05-20 | 1 | -78/+57 | |
| |\ | | | | | | | | | arti: Fix TODO + Minor Refactor See merge request tpo/core/arti!2935 | |||||
| | * | arti: cfg::test Rework refactor | playbahn | 2025-05-19 | 1 | -9/+8 | |
| | | | ||||||
| | * | arti: cfg::test: Fix TODO + Minor refactor | playbahn | 2025-04-26 | 1 | -76/+56 | |
| | | | ||||||
| * | | Merge branch 'arti-ureq-remove-early-return' into 'main' | Ian Jackson | 2025-05-19 | 2 | -5/+1 | |
| |\ \ | | | | | | | | | | | | | | | | | | | arti-ureq: Remove obsolete early return in await_input Closes #1952 See merge request tpo/core/arti!2997 | |||||
| | * | | arti-ureq: Remove obsolete early return in await_input | Niel Duysters | 2025-05-19 | 2 | -5/+1 | |
| | | | | ||||||
| * | | | *: use std::io::Error::other in many places | Nick Mathewson | 2025-05-15 | 12 | -39/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | The `IoError::other` function is an easier way to say `IoError::new(IoErrorKind::Other, ...)`. It's been around since 1.74, but clippy started warning about the more verbose version in 1.87. | |||||
| * | | | arti: resolve a variant-size-difference warning. | Nick Mathewson | 2025-05-15 | 2 | -2/+2 | |
| | | | | ||||||
| * | | | rtmock: use Option::replace instead of mem::replace | Nick Mathewson | 2025-05-15 | 1 | -8/+6 | |
| | | | | | | | | | | | | | | | | Option::replace has been around since 1.31, but the clippy warning is new. | |||||
| * | | | proto: temporarily suppress warning; see #2003. | Nick Mathewson | 2025-05-15 | 2 | -2/+3 | |
| | | | | ||||||
| * | | | netdir: fix warning about an opportunity to use saturating_sub | Nick Mathewson | 2025-05-15 | 1 | -5/+1 | |
| | | | | ||||||
| * | | | guardmgr: Fix clippy warning about needlessly owned cow. | Nick Mathewson | 2025-05-15 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tor-proto: Future-proof some comments about path_ref() errors. | Gabriela Moldovan | 2025-05-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199590 | |||||
| * | | | tor-proto: Return Error::Protocol if ClientCirc accessors return an error. | Gabriela Moldovan | 2025-05-15 | 1 | -32/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `ClientCirc` accessors will only return an error if the underlying circuit is closed, so it doesn't make sense to map these errors to `Bug`. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199072 and https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2996#note_3199073 | |||||
| * | | | tor-proto: Make TunnelMutableState docs link to MutableState. | Gabriela Moldovan | 2025-05-15 | 1 | -11/+3 | |
| | | | | | | | | | | | | | | | | These `TunnelMutableState` impls just delegate to `MutableState`, so we might as well link to the corresponding docs. | |||||
| * | | | tor-proto: Add note about raciness of last_hop_num. | Gabriela Moldovan | 2025-05-15 | 1 | -0/+15 | |
| | | | | ||||||
| * | | | tor-proto: Add TODO about possibly replacing LegIdKey with UniqId. | Gabriela Moldovan | 2025-05-15 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | tor-proto: Remove the CircuitSharedState type alias. | Gabriela Moldovan | 2025-05-15 | 1 | -6/+2 | |
| | | | | | | | | | | | | | Hiding the underlying type makes the code less readable. | |||||
| * | | | tor-proto: Clarify the MutableState::path() docs. | Gabriela Moldovan | 2025-05-15 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tor-proto: Update the TunnelMutableState when a circuit is removed. | Gabriela Moldovan | 2025-05-15 | 10 | -38/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is messy, because `ClientCirc::{path_ref, n_hops, ..}` become fallible (we can't unwrap the result, because when a circuit is closed, its state gets removed from the `TunnelSharedState`, but its `ClientCirc` handle continues to exist, so any attempt to retrieve the state will result in an `Err`). | |||||
| * | | | tor-proto: Rework MutableState to work with multi-path circuits. | Gabriela Moldovan | 2025-05-15 | 4 | -31/+176 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a new `TunnelSharedState` type for storing the shared state of a tunnel. It consists of the `MutableState`s of all the circuits in the tunnel, which are shared between it and `Circuit` (the circuit subcomponent of the reactor). The `TunnelSharedState` itself is shared between `ConfluxSet` (which manages the `Circuits`), and `ClientCirc` (the reactor handle used to access information about circuits, such as their `Path`). | |||||
| * | | | tor-proto: Add From<LegIdKey> impl for LegId. | Gabriela Moldovan | 2025-05-15 | 1 | -0/+6 | |
| | | | | | | | | | | | | | This will simplify some callsites. | |||||
| * | | | tor-proto: Encapsulate MutableState operations inside impl. | Gabriela Moldovan | 2025-05-15 | 3 | -42/+66 | |
| | | | | | | | | | | | | | | | | Not locking the `MutableState` mutex outside of this impl makes it easier to see it's currently impossible deadlock. | |||||
| * | | | tor-proto: Rename MutableState to CircuitState. | Gabriela Moldovan | 2025-05-15 | 3 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | This renaming is in preparation for the addition of a newtype wrapper for what used to be `Mutex<MutableState>`. That newtype wrapper will be called `MutableState`. | |||||
| * | | | tor-proto: Make the MutableState internals private. | Gabriela Moldovan | 2025-05-15 | 2 | -5/+18 | |
| | | | | ||||||
| * | | | Merge branch 'remove-deprecated' into 'main' | gabi-250 | 2025-05-15 | 2 | -48/+13 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-proto: Remove deprecated ClientCirc functions. See merge request tpo/core/arti!2995 | |||||
| | * | | | tor-proto: Remove deprecated ClientCirc functions. | Gabriela Moldovan | 2025-05-15 | 2 | -48/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | These functions have been deprecated for a while, and are now complicating the `MutableState` changes we need to do for #1840, so it seems like a good time to remove them. | |||||
| * | | | | tor-basic-utils: reword `semver.md` entry | Steven Engler | 2025-05-15 | 1 | -1/+4 | |
| | | | | | ||||||
| * | | | | tor-linkspec,tor-basic-utils: remove deprecated `empty_iterator()` method | Steven Engler | 2025-05-14 | 4 | -23/+3 | |
| |/ / / | | | | | | | | | | | | | | | | This method has always been deprecated, so it's not a big deal to remove. It can be replaced with the corresponding iterators's `Default` implementation. | |||||
| * | | | Merge branch 'proto-change-bench-neasurement' into 'main' | Nick Mathewson | 2025-05-14 | 13 | -199/+102 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-proto: change bench measurement See merge request tpo/core/arti!2998 | |||||
| | * | | | proto: use consts for bench throuputs | Lionel Goffaux | 2025-05-14 | 10 | -16/+25 | |
| | | | | | ||||||
| | * | | | proto: fix doc mismatch in benchmarks | Lionel Goffaux | 2025-05-14 | 2 | -2/+2 | |
| | | | | | ||||||
| | * | | | proto: fix doc typos | Lionel Goffaux | 2025-05-14 | 9 | -11/+11 | |
| | | | | | ||||||
| | * | | | proto: change bench measurement | Lionel Goffaux | 2025-05-13 | 10 | -190/+84 | |
| | |/ / | ||||||
| * | | | Merge branch 'msrv-1.83' into 'main' | gabi-250 | 2025-05-14 | 67 | -75/+69 | |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | Update MSRV to 1.83; bump gitlab-ci recent-image to 1.86. Closes #1869 See merge request tpo/core/arti!2999 | |||||
| | * | | Resolve clippy warnings from 1.83 | Nick Mathewson | 2025-05-13 | 7 | -15/+9 | |
| | | | | | | | | | | | | | | | | Now that our MSRV is 1.83, clippy is happy to make more recommendations for us. | |||||
| | * | | All crates: bump rust-version to 1.83. | Nick Mathewson | 2025-05-13 | 60 | -60/+60 | |
| | | | | ||||||
| * | | | arti: test: Refactor arti integration test | hjrgrn | 2025-05-12 | 5 | -2/+157 | |
| |/ / | | | | | | | | | | | | | * arti: test: Restructure tests directory * arti: dep: Add assert_cmd dev-dependency * arti: test: Update README * doc: Fix hsc documentation | |||||
| * | | proto: use of Aes{128,256}{Dec,Enc} in the benchmarks | Lionel Goffaux | 2025-05-08 | 6 | -24/+24 | |
| | | | ||||||
| * | | proto: fix name mismatch in the bench utils doc | Lionel Goffaux | 2025-05-08 | 3 | -10/+10 | |
| | | | ||||||
| * | | proto: fix typo s(t)ate | Lionel Goffaux | 2025-05-08 | 6 | -15/+15 | |
| | | | ||||||
| * | | proto: extend benchmarks | Lionel Goffaux | 2025-05-08 | 16 | -338/+994 | |
| | | | ||||||
| * | | Use simpler way to refer to last byte of tag. | Nick Mathewson | 2025-05-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | proto: Update CGO test vectors | Nick Mathewson | 2025-05-07 | 4 | -149/+146 | |
| | | | | | | | | | | | These were generated with an updated version of the python reference implementation. | |||||
| * | | proto: Clear low 6 bits of counter in CGO PRF. | Nick Mathewson | 2025-05-07 | 1 | -3/+4 | |
| | | | | | | | | | See torspec#332. | |||||
| * | | cell: Teach extlist definition macro to make conditional extensions | Nick Mathewson | 2025-05-07 | 2 | -1/+7 | |
| | | | | | | | | | | | We need the macro to propagate only certain #[meta] values to all places where a case is used. | |||||
| * | | cell: Implement SubprotocolRequest extension from prop346. | Nick Mathewson | 2025-05-07 | 2 | -1/+139 | |
| | | | | | | | | | Part of #1945. | |||||
| * | | protover: New `NumberedSubver` to represent a subprotocol cap | Nick Mathewson | 2025-05-07 | 2 | -2/+84 | |
| | | | | | | | | | | | This type differs from `NamedSubver` in that the represented subprotocol capability isn't necessarily recognized or valid. | |||||
| * | | protover: Change ProtoKind to be a u8 | Nick Mathewson | 2025-05-07 | 2 | -2/+4 | |
| | | | | | | | | | | | It is not remotely close to exhausting a u8, and several of our protocols expect it to be expressible as one. | |||||
| * | | cell: Unify HS-ntor and ntor-v3 extensions. | Nick Mathewson | 2025-05-07 | 6 | -32/+22 | |
| | | | | | | | | | | | | | Implements proposal 358. Closes #1946. | |||||
| * | | cell,proto: Split request/response extensions into seprate types | Nick Mathewson | 2025-05-07 | 5 | -36/+59 | |
| | | | | | | | | | Implements part of proposal 358. | |||||
