| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-guardmgr: Use ids_listed() instead of by_ids(). | Gabriela Moldovan | 2024-04-09 | 1 | -1/+1 | |
| | | ||||||
| * | tor-guardmgr: Update TODO to say we want RelayUsage::vanguard(). | Gabriela Moldovan | 2024-04-09 | 1 | -1/+1 | |
| | | ||||||
| * | tor-guardmgr: Explain why we're making a uniform choice. | Gabriela Moldovan | 2024-04-09 | 1 | -0/+3 | |
| | | ||||||
| * | tor-guardmgr: Add tests for the vanguard manager. | Gabriela Moldovan | 2024-04-05 | 2 | -0/+391 | |
| | | ||||||
| * | tor-guardmgr: Replenish the vanguard sets as needed. | Gabriela Moldovan | 2024-04-05 | 2 | -13/+222 | |
| | | ||||||
| * | tor-guardmgr: Implement From<&VanguardSet> for RelayIdSet. | Gabriela Moldovan | 2024-04-05 | 1 | -1/+20 | |
| | | ||||||
| * | tor-guardmgr: Add a function for selecting vanguard lifetimes. | Gabriela Moldovan | 2024-04-05 | 1 | -0/+28 | |
| | | ||||||
| * | tor-guardmgr: Implement VanguardSet::pick_relay. | Gabriela Moldovan | 2024-04-05 | 2 | -12/+35 | |
| | | | | | Closes #1340 | |||||
| * | tor-guardmgr: Implement vanguard mgr. | Gabriela Moldovan | 2024-04-05 | 1 | -10/+114 | |
| | | ||||||
| * | tor-guardmgr: Make TimeboundVanguard fields pub(super). | Gabriela Moldovan | 2024-04-05 | 1 | -2/+2 | |
| | | ||||||
| * | tor-guardmgr: Add VanguardMgrError::NetDir. | Gabriela Moldovan | 2024-04-05 | 1 | -0/+5 | |
| | | ||||||
| * | tor-guardmgr: Store the TimeboundVanguards in a binary heap. | Gabriela Moldovan | 2024-04-05 | 2 | -5/+47 | |
| | | ||||||
| * | tor-guardmgr: Implement launch_background_tasks. | Gabriela Moldovan | 2024-04-05 | 1 | -4/+35 | |
| | | ||||||
| * | tor-guardmgr: Give VanguardSets a target set size. | Gabriela Moldovan | 2024-04-05 | 2 | -4/+18 | |
| | | | | | | The target is the number of vanguards the `VanguardMgr`s will try to maintain in the `VanguardSet`. | |||||
| * | tor-guardmgr: Derive getters for VanguardParams. | Gabriela Moldovan | 2024-04-05 | 1 | -1/+7 | |
| | | ||||||
| * | tor-guardmgr: Pass an rng to select_vanguard. | Gabriela Moldovan | 2024-04-05 | 2 | -3/+7 | |
| | | | | | | This function will need to randomly select a vanguard, so it needs an `Rng`. | |||||
| * | tor-guardmgr: Give VanguardMgr a handle to the runtime (fmt). | Gabriela Moldovan | 2024-04-05 | 1 | -1/+5 | |
| | | ||||||
| * | tor-guardmgr: Give VanguardMgr a handle to the runtime. | Gabriela Moldovan | 2024-04-05 | 1 | -9/+8 | |
| | | ||||||
| * | tor-guardmgr: Implement TryFrom<&NetParameters> for VanguardParams. | Gabriela Moldovan | 2024-04-05 | 1 | -3/+18 | |
| | | ||||||
| * | tor-guardmgr: Fix typo in VanguardSet docs. | Gabriela Moldovan | 2024-04-05 | 1 | -1/+1 | |
| | | ||||||
| * | Remove all *Relay is_flagged_guard methods. | Nick Mathewson | 2024-03-28 | 1 | -3/+3 | |
| | | | | | These were only used for testing. | |||||
| * | Remove temporary functions in CheckedRelay. | Nick Mathewson | 2024-03-28 | 2 | -7/+14 | |
| | | ||||||
| * | Remove temporary functions in UncheckedRelay. | Nick Mathewson | 2024-03-28 | 1 | -1/+2 | |
| | | ||||||
| * | tor-guardmgr: Replace From impl with from_net_parameter constructor. | Gabriela Moldovan | 2024-03-26 | 1 | -2/+8 | |
| | | ||||||
| * | tor-guardmgr: Implement From<BoundedInt32> for VanguardMode. | Gabriela Moldovan | 2024-03-26 | 1 | -0/+13 | |
| | | | | | | We'll need this to convert the `vanguard_enabled` and `vanguard_hs_service` net params to a `VanguardMode. | |||||
| * | tor-circmgr: Fix a clippy warning. | Gabriela Moldovan | 2024-03-21 | 2 | -2/+2 | |
| | | ||||||
| * | tor-guardmgr: Explain what neighbor_exclusion is for. | Gabriela Moldovan | 2024-03-21 | 2 | -3/+25 | |
| | | ||||||
| * | tor-guardmgr: Make Vanguard::select_relay take a RelayExclusion. | Gabriela Moldovan | 2024-03-21 | 2 | -2/+9 | |
| | | | | | | | | This enables us to prevent the same relay from being picked in consecutive positions in a path. Part of #1340 | |||||
| * | tor-circmgr: Unconditionally define VanguardMode. | Gabriela Moldovan | 2024-03-20 | 3 | -20/+36 | |
| | | ||||||
| * | tor-guardmgr: Derive getters for Vanguard. | Gabriela Moldovan | 2024-03-20 | 1 | -2/+1 | |
| | | ||||||
| * | tor-guardmgr: Add a function for getting the current VanguardMode. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+5 | |
| | | ||||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 10 | -0/+10 | |
| | | ||||||
| * | Annotate usage of low_level_predicate_permits_relay | Nick Mathewson | 2024-03-12 | 1 | -1/+7 | |
| | | ||||||
| * | Rename the RelayPredicate trait to discourage its being used directly. | Nick Mathewson | 2024-03-12 | 1 | -2/+2 | |
| | | | | | 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. | |||||
| * | guardmgr: explain remaining work for #504 issues. | Nick Mathewson | 2024-03-12 | 1 | -2/+4 | |
| | | ||||||
| * | guardmgr: refactor most logic for relay selection | Nick Mathewson | 2024-03-12 | 2 | -29/+55 | |
| | | ||||||
| * | tor-guardmgr: Return an error if VanguardMode does not support the specified ↵ | Gabriela Moldovan | 2024-03-11 | 2 | -6/+29 | |
| | | | | | Layer. | |||||
| * | tor-guardmgr: Move the VanguardSets into the inner mutable state. | Gabriela Moldovan | 2024-03-11 | 2 | -12/+13 | |
| | | ||||||
| * | tor-guardmgr: Say more about TimeBoundVanguards. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+8 | |
| | | ||||||
| * | tor-guardmgr: Add TODO about reading vanguards from disk. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+1 | |
| | | ||||||
| * | tor-guardmgr: Make the VanguardMode variants serialize to lowercase. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+1 | |
| | | ||||||
| * | arti-client: Re-export VanguardsConfig from vanguards module. | Gabriela Moldovan | 2024-03-11 | 1 | -1/+1 | |
| | | ||||||
| * | tor-circmgr: Give CircMgr a VanguardMgr. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+4 | |
| | | | | | Closes #1277 | |||||
| * | tor-guardmgr: Add vanguards API skeleton. | Gabriela Moldovan | 2024-03-11 | 4 | -0/+292 | |
| | | | | | Part of #1275 | |||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 | |
| | | ||||||
| * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 | |
| | | ||||||
| * | Mark code with "TODO #504" and "TODO #789". | Nick Mathewson | 2024-02-22 | 2 | -0/+4 | |
| | | | | | | | | | 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. | |||||
| * | Add and use "UncheckedRelay::is_suitable_as_guard" | Nick Mathewson | 2024-02-20 | 1 | -1/+1 | |
| | | ||||||
| * | Require that guards are Fast and Stable. | Nick Mathewson | 2024-02-20 | 2 | -3/+6 | |
| | | | | | | | This matches the behavior of C tor. Part of #1100. | |||||
