| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | tor-keymgr: Resolve TODOs from key_specifier::tests | hjrgrn | 2025-03-14 | 2 | -185/+174 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'handle-relevant-errorkind-variants' into 'main' | gabi-250 | 2025-03-14 | 1 | -1/+0 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hsc: remove TODO, improve display_service_discovery_key error handling. See merge request tpo/core/arti!2846 | |||||
| | * | | | | | | hsc: remove TODO about display_service_discovery_key error handling. | hjrgrn | 2025-03-14 | 1 | -1/+0 | |
| | |/ / / / / | ||||||
| * | | | | | | Merge branch 'dev/cve/is_fully_reachable' into 'main' | gabi-250 | 2025-03-14 | 1 | -0/+10 | |
| |\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Add is_fully_reachable() method Closes #1890 See merge request tpo/core/arti!2850 | |||||
| | * | | | | | tor-hsservice: Add is_fully_reachable() method | Clara Engler | 2025-03-13 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a `is_fully_reachable()` method to `tor_hsservice::status::State` in order to check whether the hidden service is believed to be fully reachable. See #1887 Fixes #1890 | |||||
| * | | | | | | tor-hscrypto: Implement Display for TimePeriod | hjrgrn | 2025-03-13 | 3 | -12/+26 | |
| | |/ / / / |/| | | | | ||||||
| * | | | | | tor-proto: make `Circuit::add_hop` fallible | Steven Engler | 2025-03-12 | 3 | -13/+28 | |
| | |/ / / |/| | | | ||||||
| * | | | | Deprecate --onion-name; introduce --onion-address | disha | 2025-03-12 | 8 | -47/+76 | |
| | | | | | ||||||
| * | | | | tor-proto: change `take_single_leg` to return `NotSingleLegError` | Steven Engler | 2025-03-11 | 2 | -4/+3 | |
| | | | | | ||||||
| * | | | | tor-proto: remove `ConfluxSet::single_leg_check` and add `get_single` | Steven Engler | 2025-03-11 | 1 | -37/+38 | |
| | | | | | ||||||
| * | | | | tor-proto: begin using `TargetHop` and `HopLocation` | Steven Engler | 2025-03-11 | 6 | -40/+126 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't yet change the public API, it just begins the work of plumbing these around throughout `ClientCirc`, `Reactor`, etc. This can't be broken up into smaller commits without causing build failures. | |||||
| * | | | | tor-proto: add methods for resolving `TargetHop` and `TargetLocation` | Steven Engler | 2025-03-11 | 2 | -1/+96 | |
| | | | | | ||||||
| * | | | | tor-proto: add a non-pub `ClientCirc::legs()` method | Steven Engler | 2025-03-11 | 3 | -2/+40 | |
| | | | | | ||||||
| * | | | | tor-proto: combine `single_leg_with_id` and `single_leg` | Steven Engler | 2025-03-11 | 3 | -43/+30 | |
| | | | | | | | | | | | | | | | | | And the same with `single_leg_with_id_mut` and `single_leg_mut`. | |||||
| * | | | | tor-proto: remove non-conflux support from `HopLocation` | Steven Engler | 2025-03-11 | 1 | -5/+0 | |
| | | | | | ||||||
| * | | | | tor-proto: rename `HopLocation::Leg` to `HopLocation::Hop` | Steven Engler | 2025-03-11 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | tor-proto: add methods to `ConfluxSet` | Steven Engler | 2025-03-11 | 1 | -12/+65 | |
| | | | | | | | | | | | | | | | | | These give more ways of accessing legs. | |||||
| * | | | | tor-proto: change `single_leg_mut` to return `NotSingleLegError` | Steven Engler | 2025-03-11 | 2 | -7/+8 | |
| | | | | | ||||||
| * | | | | tor-proto: add `NotSingleLegError` for `single_leg_check` | Steven Engler | 2025-03-11 | 1 | -8/+34 | |
| |/ / / | ||||||
| * | | | arti: Remove incorrect deprecation warning in hsc | hjrgrn | 2025-03-10 | 2 | -2/+1 | |
| | | | | ||||||
| * | | | tor-rtmock: Add since= to deprecateds (formatting) | Ian Jackson | 2025-03-06 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | tor-rtmock: Add since= to deprecateds | Ian Jackson | 2025-03-06 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2843#note_3169975 | |||||
| * | | | tor-rtmock: Fiddle with a comment format | Ian Jackson | 2025-03-06 | 1 | -2/+3 | |
| | | | | | | | | | | | | | For some reason rustfmt wants to mess with this. Forestall it. | |||||
| * | | | tor-rtmock: Actually apply deprecated attr to deprecated time.rs | Ian Jackson | 2025-03-06 | 5 | -5/+36 | |
| | | | | ||||||
| * | | | tor-rtmock: allow-Decorate every use of MockSleepProvider | Ian Jackson | 2025-03-06 | 8 | -3/+35 | |
| |/ / | | | | | | | | | | | | | MockSleepProvider and MockSleepRuntime have been declared deprecated by the docs for some time. We're about to mark them `#[deprecated]`. This commit has been split out for clarity of review. | |||||
| * | | tor-proto: s/note/warning in function docs about locking stream map mutex. | Gabriela Moldovan | 2025-03-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-proto: s/has_first_hop/has_hops (fmt). | Gabriela Moldovan | 2025-03-06 | 1 | -5/+1 | |
| | | | ||||||
| * | | tor-proto: s/has_first_hop/has_hops. | Gabriela Moldovan | 2025-03-06 | 3 | -3/+3 | |
| | | | ||||||
| * | | tor-proto: Fix up docs post-refactoring (fmt). | Gabriela Moldovan | 2025-03-06 | 1 | -4/+1 | |
| | | | ||||||
| * | | tor-proto: Fix up docs post-refactoring. | Gabriela Moldovan | 2025-03-06 | 1 | -3/+3 | |
| | | | ||||||
| * | | tor-proto: Move Circuit to its own module. | Gabriela Moldovan | 2025-03-06 | 9 | -1325/+1393 | |
| | | | | | | | | | | | | | | | | | | | | | | | This is mostly code motion + some visibility adjustments. Moving all of these outside of `reactor` makes it easier to see which parts are internal vs which are accessed by the reactor. It also helps us enforce/audit invariants such as 'there should be no contention on the `CircHop::map` mutex' (the stream map is now private to `reactor::circuit`, and therefore nothing inside `reactor` will be directly accessing it). | |||||
| * | | tor-proto: Avoid accessing CircHop internals from the reactor. | Gabriela Moldovan | 2025-03-06 | 3 | -2/+16 | |
| | | | | | | | | | This will enable us to move `CircHop` out of `reactor.rs`. | |||||
| * | | tor-proto: Avoid accessing Circuit internals from the reactor. | Gabriela Moldovan | 2025-03-06 | 2 | -3/+16 | |
| | | | | | | | | | This will enable us to factor `Circuit` out of `reactor.rs`. | |||||
| * | | tor-dirmgr: remove `dbg!` | Steven Engler | 2025-03-05 | 1 | -1/+0 | |
| | | | ||||||
| * | | sqlite: Handle vanished blobs during consensus loading | Nick Mathewson | 2025-03-05 | 2 | -16/+39 | |
| | | | | | | | | | | | | | | | | | | | Here we move the responsibility for removing ExtDoc entries for vanished blobs into the _caller_ of read_blob(): we want to tidy all such entries in one go. Unlike a (reverted) previous approach, this time we don't need a retry loop. | |||||
| * | | sqlite: add a method to tidy extdocs for vanished blobs | Nick Mathewson | 2025-03-05 | 1 | -1/+93 | |
| | | | ||||||
| * | | sqlite.rs: Let read_blob signal whether it cleaned up. | Nick Mathewson | 2025-03-05 | 1 | -8/+28 | |
| | | | | | | | | | We'll want to use this information to tell us whether to retry. | |||||
| * | | sqlite: Extract body of latest_consensus into a new method | Nick Mathewson | 2025-03-05 | 1 | -23/+33 | |
| | | | | | | | | | I'm about to add a retry mechanism. | |||||
| * | | sqlite: Stop ignoring any errors. | Nick Mathewson | 2025-03-05 | 1 | -3/+22 | |
| | | | | | | | | | | | We've already stopped ignoring any DB errors, so we may as well make sure that any FS errors we encounter are also reported. | |||||
| * | | sqlite: Add a comment about O(n) query. | Nick Mathewson | 2025-03-05 | 1 | -0/+2 | |
| | | | ||||||
| * | | sqlite.rs: Rustfmt. | Nick Mathewson | 2025-03-05 | 1 | -86/+87 | |
| | | | ||||||
| * | | sqlite.rs: Put SavedBlobHandle into its own module | Nick Mathewson | 2025-03-05 | 1 | -13/+30 | |
| | | | | | | | | | | | | | | | This will help us keep its members private from the rest of sqlite.rs, and ensure that things are kept consistent. (This violates rust formatting for clarity. I'll reindent after.) | |||||
| * | | sqlite.rs: More comments about blob rollback. | Nick Mathewson | 2025-03-05 | 1 | -1/+7 | |
| | | | ||||||
| * | | sqlite.rs: Give SavedBlobHandle more methods. | Nick Mathewson | 2025-03-05 | 1 | -24/+47 | |
| | | | | | | | | | | | This is in preparation for making it opaque from the rest of the code, so that we can more easily reason about it. | |||||
| * | | sqlite.rs: add comments about consistency | Nick Mathewson | 2025-03-05 | 1 | -2/+14 | |
| | | | ||||||
| * | | sqlite.rs: Add a note on blob consistency (or lack thereof) | Nick Mathewson | 2025-03-05 | 1 | -0/+77 | |
| | | | ||||||
| * | | sqlite.rs: Rename dtype to digest_type to avoid further confusion. | Nick Mathewson | 2025-03-05 | 1 | -6/+6 | |
| | | | ||||||
| * | | dirmgr: Propagate row-conversion failure from expire_all. | Nick Mathewson | 2025-03-05 | 1 | -5/+4 | |
| | | | | | | | | | | | This can only happen because of a bug or because of db corruption, and we probably shouldn't ignore it. | |||||
| * | | dirmgr: When expiring a consensus, remove its blob. | Nick Mathewson | 2025-03-05 | 1 | -2/+68 | |
| | | | | | | | | | | | | | | | Previously, we would leave the ExtDocs blob to expire on its own, and it would hang out for up to a week. Closes #1655. | |||||
| * | | dirmgr: Store the correct value in ExtDocs.type | Nick Mathewson | 2025-03-05 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, document that old values will be kicking around for a little while. Fortunately: - Nothing actually looked at these values before. - All elements in this table have an expiration date, so once a new version of Arti has been running for a week or two, the old erroneous values will go away. | |||||
