| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-circmgr: For each HS ClientCirc, note whether it's STUB or STUB+. | Gabriela Moldovan | 2024-03-20 | 2 | -29/+102 | |
| | | | | | Closes #1276 | |||||
| * | tor-circmgr: Move pick_path out of AnonymousCircuitBuilder. | Gabriela Moldovan | 2024-03-14 | 4 | -165/+193 | |
| | | | | | This enables us to make `AnonymousCircuitBuilder` private. | |||||
| * | tor-circmgr: Improve the HsPathBuilder docs. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+20 | |
| | | ||||||
| * | tor-circmgr: Remove unused require_stability. | Gabriela Moldovan | 2024-03-14 | 2 | -16/+1 | |
| | | ||||||
| * | tor-circmgr: Add a TODO about vanguards path selection. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+24 | |
| | | ||||||
| * | tor-circmge: Remove AnyRelayForOnionService. | Gabriela Moldovan | 2024-03-14 | 1 | -34/+0 | |
| | | ||||||
| * | tor-circmgr: Use HsPathBuilder instead of ExitPathBuilder. | Gabriela Moldovan | 2024-03-14 | 1 | -6/+7 | |
| | | ||||||
| * | tor-circmgr: Add a new hspath module for building onion service circuits. | Gabriela Moldovan | 2024-03-14 | 2 | -0/+78 | |
| | | ||||||
| * | tor-circmgr: Implement AnonymousPathBuilder for ExitPathBuilder. | Gabriela Moldovan | 2024-03-14 | 2 | -162/+27 | |
| | | ||||||
| * | tor-circmgr: Add AnonymousPathBuilder trait. | Gabriela Moldovan | 2024-03-14 | 1 | -4/+177 | |
| | | | | | | | | | | | The `pick_path()` default implementation is an almost verbatim copy of `ExitPathBuilder::pick_path()`. The only difference is that instead of using values from `self`, the `AnonymousPathBuilder::pick_path()` uses the values returned by the different `AnonymousPathBuilder` functions (i.e., `AnonymousPathBuilder::pick_exit()` instead of `self.pick_exit()`, `AnonymousPathBuilder::compatible_with()` instead of `self.compatible_with`, etc.). | |||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 12 | -0/+12 | |
| | | ||||||
| * | Annotate usage of low_level_predicate_permits_relay | Nick Mathewson | 2024-03-12 | 1 | -0/+8 | |
| | | ||||||
| * | Rename the RelayPredicate trait to discourage its being used directly. | Nick Mathewson | 2024-03-12 | 1 | -2/+4 | |
| | | | | | Everybody who can, should instead use a RelaySelector. | |||||
| * | Add comments about "unaccompanied" use of Relay{Usage,Exclusion} | Nick Mathewson | 2024-03-12 | 1 | -0/+2 | |
| | | | | | | | When used outside of RelaySelector, these two types don't enforce one another's presence, and as such have a bit more risk of negligent use. | |||||
| * | Annotate remaining "TODO #504" comments explaining why they are there. | Nick Mathewson | 2024-03-12 | 1 | -4/+14 | |
| | | ||||||
| * | hspool: Replace TargetInfo with a RelayExclusion. | Nick Mathewson | 2024-03-12 | 1 | -53/+17 | |
| | | ||||||
| * | circmgr: Rename "any exit" code to reflect its real purpose | Nick Mathewson | 2024-03-12 | 2 | -8/+11 | |
| | | | | | | (These functionalities are for onion service circuits, and don't actually need to go to an exit at all.) | |||||
| * | circmgr: Remove now-obsolete error variants. | Nick Mathewson | 2024-03-12 | 2 | -48/+5 | |
| | | ||||||
| * | circmgr: Begin porting path selection to tor-relay-selection | Nick Mathewson | 2024-03-12 | 5 | -191/+160 | |
| | | | | | | This covers the easy cases, where we are selecting relays at random based on a selector. | |||||
| * | New crate to define a high-level API for relay selection | Nick Mathewson | 2024-03-12 | 2 | -46/+7 | |
| | | ||||||
| * | tor-circmgr: Fix clippy warning. | Gabriela Moldovan | 2024-03-11 | 1 | -1/+1 | |
| | | ||||||
| * | tor-circmgr: Add HsCircPoolConfig, make HsCircPool::reconfigure general-purpose. | Gabriela Moldovan | 2024-03-11 | 3 | -7/+41 | |
| | | ||||||
| * | tor-circmgr: Rename Pool::reconfigure to Pool::reconfigure_vanguards. | Gabriela Moldovan | 2024-03-11 | 2 | -2/+2 | |
| | | ||||||
| * | tor-circmgr: Explain why vanguards_config is defined as an "other" accessor. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+5 | |
| | | ||||||
| * | tor-hsclient: Do not enable vanguards feature in dev-dependency. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+2 | |
| | | ||||||
| * | tor-circmgr: Create the VanguardMgr in CircMgr::new. | Gabriela Moldovan | 2024-03-11 | 2 | -3/+18 | |
| | | ||||||
| * | tor-circmgr: Discard all circuits if VanguardMgr says so. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+11 | |
| | | ||||||
| * | arti-client: Add vanguard_config() to CircMgrConfig. | Gabriela Moldovan | 2024-03-11 | 2 | -1/+12 | |
| | | ||||||
| * | tor-circmgr: Add functions for reconfiguring the HS circuit pool. | Gabriela Moldovan | 2024-03-11 | 2 | -1/+40 | |
| | | | | | | If the vanguard "mode" (full/lite/disabled) changes, we purge all the circuits from the HS circuit pool because they are no longer suitable. | |||||
| * | tor-circmgr: Store the VanguardMode in HsCircPool. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+11 | |
| | | ||||||
| * | tor-circmgr: Give CircMgr a VanguardMgr. | Gabriela Moldovan | 2024-03-11 | 4 | -1/+27 | |
| | | | | | Closes #1277 | |||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 2 | -2/+2 | |
| | | ||||||
| * | Merge branch 'remove-semver' into 'main' | Ian Jackson | 2024-03-05 | 1 | -1/+0 | |
| |\ | | | | | | | | | Remove semver.md files from arti 1.2.0 release. See merge request tpo/core/arti!2022 | |||||
| | * | Remove semver.md files from arti 1.2.0 release. | Gabriela Moldovan | 2024-03-04 | 1 | -1/+0 | |
| | | | ||||||
| * | | Merge branch 'deny-unchecked-duration-substraction' into 'main' | Ian Jackson | 2024-03-05 | 1 | -0/+1 | |
| |\ \ | |/ |/| | | | | | | | | | deny clippy::unchecked_duration_subtraction Closes #1304 See merge request tpo/core/arti!2008 | |||||
| | * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 | |
| | | | ||||||
| * | | Bump the minor version, for crates with breaking changes. | Gabriela Moldovan | 2024-03-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs were broken in these pre-1.0.0 crates: ``` tor-keymgr tor-config tor-checkable tor-circmgr tor-dirmgr tor-hsclient tor-hsservice tor-hsrproxy ``` Done with: ``` cargo set-version --bump minor -p tor-keymgr cargo set-version --bump minor -p tor-config cargo set-version --bump minor -p tor-checkable cargo set-version --bump minor -p tor-circmgr cargo set-version --bump minor -p tor-dirmgr cargo set-version --bump minor -p tor-hsclient cargo set-version --bump minor -p tor-hsservice cargo set-version --bump minor -p tor-hsrproxy ``` | |||||
| * | | Bump patchlevel of pre-1.0.0 crates with new APIs. | Gabriela Moldovan | 2024-03-04 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs were added: ``` tor-units tor-cell tor-proto tor-netdir arti-client ``` Done with: ``` cargo set-version --bump patch -p tor-units cargo set-version --bump patch -p tor-cell cargo set-version --bump patch -p tor-proto cargo set-version --bump patch -p tor-netdir cargo set-version --bump patch -p arti-client ``` | |||||
| * | | Bump patchlevel of crates with functional changes. | Gabriela Moldovan | 2024-03-04 | 1 | -5/+5 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | Functional changes were made, but no APIs were added or broken: ``` tor-events (async_broadcast 0.6.0 -> 0.7.0) tor-netdoc (signature 1 -> 2) tor-guardmgr arti-testing (config 0.13.4 -> 0.14.0) tor-persist (breaking changes gated behind experimental feature) fslock-guard (fix lockfile_has_path compilation on Windows) ``` Done with: ``` cargo set-version --bump patch -p tor-events cargo set-version --bump patch -p tor-netdoc cargo set-version --bump patch -p tor-guardmgr cargo set-version --bump patch -p arti-testing cargo set-version --bump patch -p tor-persist cargo set-version --bump patch -p fslock-guard ``` | |||||
| * | tor-circmgr: Note Error breaking change in semver.md. | Gabriela Moldovan | 2024-02-28 | 1 | -0/+1 | |
| | | ||||||
| * | tor-circmgr: Include the UniqId in Protocol error string (fmt). | Gabriela Moldovan | 2024-02-27 | 1 | -1/+6 | |
| | | ||||||
| * | tor-circmgr: Include the UniqId in Protocol error string. | Gabriela Moldovan | 2024-02-27 | 1 | -1/+1 | |
| | | | | | Part of #1297 | |||||
| * | tor-circmgr: Add TODO about adding context to Error::CircCanceled. | Gabriela Moldovan | 2024-02-27 | 1 | -0/+5 | |
| | | | | | Part of #1297 | |||||
| * | tor-circmgr: Add UniqId to Error::Protocol. | Gabriela Moldovan | 2024-02-27 | 3 | -0/+9 | |
| | | | | | Part of #1297 | |||||
| * | tor-circmgr: Add UniqId to CircTimeout. | Gabriela Moldovan | 2024-02-27 | 4 | -21/+17 | |
| | | | | | Part of #1297 | |||||
| * | tor-circmgr: Fix typo in PendingFailed docs. | Gabriela Moldovan | 2024-02-27 | 1 | -1/+1 | |
| | | ||||||
| * | tor-circmgr: Add UniqId to Error::GuardNotUsable. | Gabriela Moldovan | 2024-02-27 | 2 | -7/+7 | |
| | | | | | Part of #1297 | |||||
| * | tor-circmgr: Add a helper for displaying optional UniqIds. | Gabriela Moldovan | 2024-02-27 | 1 | -0/+14 | |
| | | | | | | | | | Some of the `tor_circmgr::Error` variants will include the `UniqId` of the corresponding circuit, so we'll need to be able to display it without the `Circ ` prefix. Part of #1297 | |||||
| * | Mark code with "TODO #504" and "TODO #789". | Nick Mathewson | 2024-02-22 | 4 | -0/+18 | |
| | | | | | | | | | I've done this by looking for every non-test instance of pick_relays or pick_n_relays, and for every non-test usage of any non-ID-related method on Relay or UncheckedRelay. Part of #504. | |||||
| * | PathConfigBuilder: Actually provide the long_lived_ports setters | Ian Jackson | 2024-02-20 | 1 | -0/+6 | |
| | | ||||||
