aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr
Commit message (Collapse)AuthorAgeFilesLines
...
* tor-guardmgr: Clarify VanguardMgr::select_vanguard behaviour.Gabriela Moldovan2024-04-091-0/+9
|
* tor-guardmgr: Use ids_listed() instead of by_ids() (fmt).Gabriela Moldovan2024-04-091-1/+2
|
* tor-guardmgr: Use ids_listed() instead of by_ids().Gabriela Moldovan2024-04-091-1/+1
|
* tor-guardmgr: Update TODO to say we want RelayUsage::vanguard().Gabriela Moldovan2024-04-091-1/+1
|
* tor-guardmgr: Explain why we're making a uniform choice.Gabriela Moldovan2024-04-091-0/+3
|
* tor-guardmgr: Add tests for the vanguard manager.Gabriela Moldovan2024-04-053-0/+392
|
* tor-guardmgr: Replenish the vanguard sets as needed.Gabriela Moldovan2024-04-052-13/+222
|
* tor-guardmgr: Implement From<&VanguardSet> for RelayIdSet.Gabriela Moldovan2024-04-051-1/+20
|
* tor-guardmgr: Add a function for selecting vanguard lifetimes.Gabriela Moldovan2024-04-051-0/+28
|
* tor-guardmgr: Implement VanguardSet::pick_relay.Gabriela Moldovan2024-04-052-12/+35
| | | | Closes #1340
* tor-guardmgr: Implement vanguard mgr.Gabriela Moldovan2024-04-051-10/+114
|
* tor-guardmgr: Make TimeboundVanguard fields pub(super).Gabriela Moldovan2024-04-051-2/+2
|
* tor-guardmgr: Add VanguardMgrError::NetDir.Gabriela Moldovan2024-04-051-0/+5
|
* tor-guardmgr: Store the TimeboundVanguards in a binary heap.Gabriela Moldovan2024-04-052-5/+47
|
* tor-guardmgr: Implement launch_background_tasks.Gabriela Moldovan2024-04-051-4/+35
|
* tor-guardmgr: Give VanguardSets a target set size.Gabriela Moldovan2024-04-052-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 Moldovan2024-04-051-1/+7
|
* tor-guardmgr: Pass an rng to select_vanguard.Gabriela Moldovan2024-04-052-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 Moldovan2024-04-051-1/+5
|
* tor-guardmgr: Give VanguardMgr a handle to the runtime.Gabriela Moldovan2024-04-051-9/+8
|
* tor-guardmgr: Implement TryFrom<&NetParameters> for VanguardParams.Gabriela Moldovan2024-04-051-3/+18
|
* tor-guardmgr: Fix typo in VanguardSet docs.Gabriela Moldovan2024-04-051-1/+1
|
* Merge branch '504-cleanup-part1' into 'main'Nick Mathewson2024-04-032-8/+16
|\ | | | | | | | | Move fiddly Relay functionality into a RelayDetails type. See merge request tpo/core/arti!2057
| * Remove all *Relay is_flagged_guard methods.Nick Mathewson2024-03-281-3/+3
| | | | | | | | These were only used for testing.
| * Remove temporary functions in CheckedRelay.Nick Mathewson2024-03-282-7/+14
| |
| * Remove temporary functions in UncheckedRelay.Nick Mathewson2024-03-281-1/+2
| |
* | Remove semver.md files from arti-1.2.1 releaseNick Mathewson2024-04-021-1/+0
| |
* | Update unstable `tor/arti-*` crates to 0.17.0.Nick Mathewson2024-04-021-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with: ``` CRATES=" tor-basic-utils tor-async-utils tor-error tor-config tor-events tor-units tor-geoip tor-rtcompat tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-congestion tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-bench arti-testing " for crate in $CRATES; do cargo set-version -p "$crate" 0.17.0 done ```
* | Bump patchlevel versions on non-{tor/arti} crates.Nick Mathewson2024-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have all had backward-compatible changes. Generated with: ``` cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p test-temp-dir cargo set-version --bump patch -p fslock-guard cargo set-version --bump patch -p hashx cargo set-version --bump patch -p equix cargo set-version --bump patch -p caret cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error ```
* | Run "fixup-features" in preparation for next release.Nick Mathewson2024-03-281-1/+1
|/
* tor-guardmgr: Replace From impl with from_net_parameter constructor.Gabriela Moldovan2024-03-261-2/+8
|
* tor-guardmgr: Implement From<BoundedInt32> for VanguardMode.Gabriela Moldovan2024-03-261-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 Moldovan2024-03-212-2/+2
|
* tor-guardmgr: Explain what neighbor_exclusion is for.Gabriela Moldovan2024-03-212-3/+25
|
* tor-guardmgr: Make Vanguard::select_relay take a RelayExclusion.Gabriela Moldovan2024-03-212-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 Moldovan2024-03-203-20/+36
|
* tor-guardmgr: Derive getters for Vanguard.Gabriela Moldovan2024-03-201-2/+1
|
* tor-guardmgr: Add a function for getting the current VanguardMode.Gabriela Moldovan2024-03-201-0/+5
|
* Run maint/add_warning.Nick Mathewson2024-03-1310-0/+10
|
* Annotate usage of low_level_predicate_permits_relayNick Mathewson2024-03-121-1/+7
|
* Rename the RelayPredicate trait to discourage its being used directly.Nick Mathewson2024-03-121-2/+2
| | | | Everybody who can, should instead use a RelaySelector.
* Add comments about "unaccompanied" use of Relay{Usage,Exclusion}Nick Mathewson2024-03-121-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 Mathewson2024-03-121-2/+4
|
* guardmgr: refactor most logic for relay selectionNick Mathewson2024-03-123-30/+57
|
* tor-guardmgr: Return an error if VanguardMode does not support the specified ↵Gabriela Moldovan2024-03-112-6/+29
| | | | Layer.
* tor-guardmgr: Move the VanguardSets into the inner mutable state.Gabriela Moldovan2024-03-112-12/+13
|
* tor-guardmgr: Say more about TimeBoundVanguards.Gabriela Moldovan2024-03-111-0/+8
|
* tor-guardmgr: Add TODO about reading vanguards from disk.Gabriela Moldovan2024-03-111-0/+1
|
* tor-guardmgr: Make the VanguardMode variants serialize to lowercase.Gabriela Moldovan2024-03-111-0/+1
|
* arti-client: Re-export VanguardsConfig from vanguards module.Gabriela Moldovan2024-03-111-1/+1
|