| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-circmgr: If full vanguards are enabled, apply exclusions to the extra ↵ | Gabriela Moldovan | 2024-03-21 | 1 | -7/+7 | |
| | | | | | hop too (fmt). | |||||
| * | tor-circmgr: If full vanguards are enabled, apply exclusions to the extra ↵ | Gabriela Moldovan | 2024-03-21 | 1 | -5/+9 | |
| | | | | | hop too. | |||||
| * | tor-circmgr: Rewrite RelayExclusion building using exclude_identities(). | Gabriela Moldovan | 2024-03-21 | 1 | -19/+7 | |
| | | ||||||
| * | tor-circmgr: Add function for building a RelayExclusion from a slice of relays. | Gabriela Moldovan | 2024-03-21 | 1 | -0/+14 | |
| | | ||||||
| * | tor-guardmgr: Make Vanguard::select_relay take a RelayExclusion. | Gabriela Moldovan | 2024-03-21 | 1 | -3/+31 | |
| | | | | | | | | This enables us to prevent the same relay from being picked in consecutive positions in a path. Part of #1340 | |||||
| * | tor-circmgr: Clarify that stub circuits are sometimes 4-hop circuits. | Gabriela Moldovan | 2024-03-20 | 1 | -1/+1 | |
| | | ||||||
| * | tor-circmgr: Move HsPathBuilder trait impl closer to struct definition. | Gabriela Moldovan | 2024-03-20 | 1 | -35/+35 | |
| | | | | | This is just code movement to make the code a bit easier to follow. | |||||
| * | tor-circmgr: Add allow(unused) for functions only used on particular feature ↵ | Gabriela Moldovan | 2024-03-20 | 1 | -0/+2 | |
| | | | | | sets. | |||||
| * | tor-circmgr: Make the path module crate-private. | Gabriela Moldovan | 2024-03-20 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | We're not currently using any of the path builders outside of `tor-circmgr`, so let's make them crate-private for now. Care must be taken if/when we decide to make them public again. For instance, the `HsPathBuilder` exposes two path building functions, one that uses vanguards, and one that doesn't. We want to strongly encourage the use of the vanguards-aware version of the function whenever the `vanguards` feature is enabled, without breaking any of its existing non-vanguard uses. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2046#note_3010217 | |||||
| * | tor-circmgr: Reference #1339 in a TODO. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+2 | |
| | | ||||||
| * | tor-circmgr: Move HsPathBuilder docs to the module-level. | Gabriela Moldovan | 2024-03-20 | 1 | -39/+41 | |
| | | ||||||
| * | tor-circmgr: Unconditionally define VanguardMode. | Gabriela Moldovan | 2024-03-20 | 1 | -1/+2 | |
| | | ||||||
| * | tor-circmgr: Apply deferred cargo fmt. | Gabriela Moldovan | 2024-03-20 | 1 | -9/+2 | |
| | | ||||||
| * | tor-circmgr: Rename pick_path to pick_path_with_vanguards. | Gabriela Moldovan | 2024-03-20 | 1 | -4/+4 | |
| | | | | | | | When the `vanguards` feature is enabled, we define `pick_path_with_vanguards` instead of `pick_path`, rather than conditionally defining 2 different versions of the same function. | |||||
| * | tor-circmgr: Remove unnecessary AnonymousPathBuilder impl. | Gabriela Moldovan | 2024-03-20 | 1 | -30/+15 | |
| | | | | | | | | | Instead of the `B: AnonymousPathBuilder` argument, `select_guard` now takes separate arguments for the values it previously obtained by calling the methods of `AnonymousPathBuilder`. This enables us to remove the mostly unnecessary `AnonymousPathBuilder` implementation of `VanguardHsPathBuilder`. | |||||
| * | tor-circmgr: Remove an addressed TODO. | Gabriela Moldovan | 2024-03-20 | 1 | -5/+0 | |
| | | | | | | This was addressed by extracting the guard selection from `pick_path()` into `select_guard()`. | |||||
| * | tor-circmgr: Talk about vanguards path selection in HsPathBuilder docs. | Gabriela Moldovan | 2024-03-20 | 1 | -3/+23 | |
| | | ||||||
| * | tor-circmgr: Implement vanguard path selection in HsPathBuilder. | Gabriela Moldovan | 2024-03-20 | 1 | -8/+120 | |
| | | | | | Part of #1279 | |||||
| * | tor-circmgr: Give pick_path a VanguardMgr. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+4 | |
| | | ||||||
| * | tor-circmgr: Tell HsPathBuilder what kind of circuit stub is needed. | Gabriela Moldovan | 2024-03-20 | 1 | -3/+11 | |
| | | ||||||
| * | tor-circmgr: Move pick_path out of AnonymousCircuitBuilder. | Gabriela Moldovan | 2024-03-14 | 1 | -16/+32 | |
| | | | | | 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 | 1 | -13/+1 | |
| | | ||||||
| * | tor-circmgr: Add a TODO about vanguards path selection. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+24 | |
| | | ||||||
| * | tor-circmgr: Add a new hspath module for building onion service circuits. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+76 | |
