| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-guardmgr: Use ids_listed() instead of by_ids() (fmt). | Gabriela Moldovan | 2024-04-09 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | 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 | 3 | -0/+392 | |
| | | | | | ||||||
| | * | | | tor-netdir: Implement TestNetDirProvider::events(). | Gabriela Moldovan | 2024-04-05 | 2 | -9/+54 | |
| | | | | | ||||||
| | * | | | arti: Enable arti-client/vanguards if vanguards are enabled. | Gabriela Moldovan | 2024-04-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | Without this we can't enable vanguards in the shadow tests. | |||||
| | * | | | 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-circmgr: Call VanguardMgr::launch_background_tasks. | Gabriela Moldovan | 2024-04-05 | 2 | -1/+10 | |
| | | | | | ||||||
| | * | | | 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 | 3 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -4/+19 | |
| | | | | | ||||||
| | * | | | tor-guardmgr: Give VanguardMgr a handle to the runtime. | Gabriela Moldovan | 2024-04-05 | 5 | -22/+22 | |
| | | | | | ||||||
| | * | | | 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 | |
| | | | | | ||||||
| | * | | | tor-circmgr: Remove addressed TODO. | Gabriela Moldovan | 2024-04-05 | 1 | -2/+0 | |
| | | |/ | |/| | | | | | | | This was addressed in !2046, but I forgot to remove the TODO. | |||||
| * | | | Doc: tweak documentation on NetDir::id*listed functions | Nick Mathewson | 2024-04-10 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | | Previously they were a bit confusing, and the public function explained its behavior in terms of the private one. | |||||
| * | | | Doc: Add xref from NetDir::by_ids to ids_listed. | Nick Mathewson | 2024-04-10 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | Explain that `by_ids` isn't what you want if you need to know whether a relay _definitely_ doesn't exist. Closes #1365 | |||||
| * | | | tor-keymgr: added initial implementation for in-memory ArtiEphemeralKeystore | Richard Pospesel | 2024-04-10 | 5 | -4/+324 | |
| | | | | ||||||
| * | | | dirauth: New tor26 v3 identity | David Goulet | 2024-04-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | C-tor commit for this change: e3e4fa35e8b9368ac549db4da3240aba1ee3054e Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | tor-keymgr: Export KeyMgrBuilderError. | Gabriela Moldovan | 2024-04-08 | 1 | -1/+1 | |
| |/ / | | | | | | | | | | | `KeyMgrBuilderError` is used in `KeyMgrBuilder`'s public API. See https://gitlab.torproject.org/tpo/core/arti/-/issues/1358#note_3016025 | |||||
| * | | Fix some rustdoc links and copypaste errors in tor-netdir. | Nick Mathewson | 2024-04-04 | 2 | -5/+9 | |
| | | | ||||||
| * | | tor-linkspec: Suppress clippy false positive (link ticket) | Ian Jackson | 2024-04-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-linkspec: Suppress clippy false positive | Ian Jackson | 2024-04-03 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-netdir: Abolish Relay::has_same_relay_ids | Ian Jackson | 2024-04-03 | 3 | -12/+5 | |
| | | | | | | | | | This was an open-coded specialisation. Remove the one call site. | |||||
| * | | tor-linkspec: Use derive-deftly rather than strum for same_relay_ids | Ian Jackson | 2024-04-03 | 4 | -1/+43 | |
| | | | ||||||
| * | | tor-linkspec: Use RelayIdType::all_types rather than ::iter | Ian Jackson | 2024-04-03 | 1 | -2/+2 | |
| | | | | | | | | | | | This will make it slightly easier to find these call sites if we want to change them in the future. | |||||
| * | | Merge branch '504-cleanup-part1' into 'main' | Nick Mathewson | 2024-04-03 | 12 | -250/+346 | |
| |\ \ | | | | | | | | | | | | | Move fiddly Relay functionality into a RelayDetails type. See merge request tpo/core/arti!2057 | |||||
| | * | | Comment fixes in RelayDetails refactor. | Ian Jackson | 2024-04-03 | 1 | -2/+4 | |
| | | | | ||||||
| | * | | Add a semver.md file so we do not forget to put "breaking!" in changelog. | Nick Mathewson | 2024-03-28 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | exitpath: Refactor a test to use tor-relay-usage. | Nick Mathewson | 2024-03-28 | 1 | -20/+14 | |
| | | | | ||||||
| | * | | Move rs_is_dircache to details.rs | Nick Mathewson | 2024-03-28 | 2 | -9/+9 | |
| | | | | ||||||
| | * | | Rename `Relay::same_relay` and make it private. | Nick Mathewson | 2024-03-28 | 3 | -10/+8 | |
| | | | | | | | | | | | | | | | | Everybody outside of tor-netdir should use HasRelayIds::same_relay_ids, whose intent is clearer. | |||||
| | * | | Remove all *Relay is_flagged_guard methods. | Nick Mathewson | 2024-03-28 | 4 | -31/+10 | |
| | | | | | | | | | | | | | These were only used for testing. | |||||
| | * | | Remove temporary functions in CheckedRelay. | Nick Mathewson | 2024-03-28 | 10 | -203/+122 | |
| | | | | ||||||
| | * | | Remove temporary functions in UncheckedRelay. | Nick Mathewson | 2024-03-28 | 2 | -27/+8 | |
| | | | | ||||||
| | * | | Move most functions from *Relay to *RelayDetails | Nick Mathewson | 2024-03-28 | 2 | -22/+166 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | In *RelayDetails, this is just a matter of changing a bunch of `self`s to `self.0`. Additionally, I've added temporary stub functions to delegate to the new functions. | |||||
| | * | | Relocate declarations of *Relay methods to details.rs | Nick Mathewson | 2024-03-28 | 2 | -129/+141 | |
| | | | | | | | | | | | | | This is 99% code movement. | |||||
| | * | | Add low_level_details to {Unchecked,}Relay. | Nick Mathewson | 2024-03-27 | 2 | -0/+66 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm going to use this wrapper type to hide checks that should mostly not be used without careful thinking. There are also comments here explaining when you'd want to use these types, and when you shouldn't. Part of #504. | |||||
| * | | | Merge branch 'fix_relaymsg_fuzzer' into 'main' | Nick Mathewson | 2024-04-03 | 2 | -4/+10 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation for relaymsg fuzzer Closes #1349 See merge request tpo/core/arti!2069 | |||||
| | * | | | Fix compilation for relaymsg fuzzer | Nick Mathewson | 2024-04-02 | 2 | -4/+10 | |
| | | | | | | | | | | | | | | | | | This broke when we changed the relaymsg api. | |||||
