| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | New crate to define a high-level API for relay selection | Nick Mathewson | 2024-03-12 | 12 | -46/+1691 | |
| | | | ||||||
| | * | Create a new empty tor-relay-selection crate. | Nick Mathewson | 2024-03-12 | 5 | -0/+100 | |
| | | | ||||||
| | * | netdir: Add additional functionality to SubnetConfig | Nick Mathewson | 2024-03-12 | 1 | -1/+62 | |
| | | | | | | | | | We'll need this to implement restrictions more reasonably. | |||||
| | * | Add a clear_flags function to RouterStatusBuilder | Nick Mathewson | 2024-03-12 | 1 | -0/+6 | |
| |/ | | | | (For testing.) | |||||
| * | Merge branch 'arti_client_test' into 'main' | gabi-250 | 2024-03-11 | 1 | -1/+12 | |
| |\ | | | | | | | | | arti-client: increase coverage in src/address.rs See merge request tpo/core/arti!2029 | |||||
| | * | arti-client: increase coverage in src/address.rs | Brady Fomegne | 2024-03-05 | 1 | -1/+12 | |
| | | | | | | | | | | | | | - added test for TorAddr::enforce_config with invalid/onion hostname - added test for display Host::Onion - added test for any type &T who implement IntoTorAddr trait | |||||
| * | | Merge branch 'vanguard-mgr' into 'main' | gabi-250 | 2024-03-11 | 23 | -8/+581 | |
| |\ \ | | | | | | | | | | | | | | | | | | | tor-guardmgr: Add vanguards API skeleton. Closes #1277 See merge request tpo/core/arti!2035 | |||||
| | * | | tor-circmgr: Fix clippy warning. | Gabriela Moldovan | 2024-03-11 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-guardmgr: Return an error if VanguardMode does not support the specified ↵ | Gabriela Moldovan | 2024-03-11 | 2 | -6/+29 | |
| | | | | | | | | | | | | | Layer. | |||||
| | * | | tor-circmgr: Add HsCircPoolConfig, make HsCircPool::reconfigure general-purpose. | Gabriela Moldovan | 2024-03-11 | 6 | -14/+54 | |
| | | | | ||||||
| | * | | 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-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-hsclient: Do not enable vanguards feature in dev-dependency. | Gabriela Moldovan | 2024-03-11 | 2 | -1/+3 | |
| | | | | ||||||
| | * | | tor-circmgr: Create the VanguardMgr in CircMgr::new. | Gabriela Moldovan | 2024-03-11 | 4 | -27/+18 | |
| | | | | ||||||
| | * | | 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: Reconfigure the HS circuit pool if needed. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+14 | |
| | | | | ||||||
| | * | | arti-client: Keep a handle to the HsCircPool if onion-service-client is enabled. | Gabriela Moldovan | 2024-03-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If vanguards are enabled, we will need to be able to reconfigure the HS circ pool in `TorClient::reconfigure_inner` (to handle the switch from vanguards-full to vanguards-lite etc.). The reconfiguration needs to happen even if only one of `onion-service-client` and `onion-service-service` is enabled. Without this change, in the `onion-service-client`-enabled / `onion-service-service`-disabled case, we'd need to reach into `HsClientConnector::hs_circ_pool` to reconfigure the client `HsCircPool`. By making `hs_circ_pool` part of `TorClient` in both cases, we only need to call `HsCircPool::reconfigure` from one place (in `TorClient::reconfigure_inner`). | |||||
| | * | | 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 | 3 | -2/+27 | |
| | | | | ||||||
| | * | | arti-client: Add VanguardsConfig to TorClientConfig. | Gabriela Moldovan | 2024-03-11 | 4 | -3/+23 | |
| | | | | ||||||
| | * | | arti-client: Re-export VanguardsConfig from vanguards module. | Gabriela Moldovan | 2024-03-11 | 3 | -1/+11 | |
| | | | | ||||||
| | * | | 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 | 11 | -2/+76 | |
| | | | | | | | | | | | | | Closes #1277 | |||||
| | * | | tor-guardmgr: Add vanguards API skeleton. | Gabriela Moldovan | 2024-03-11 | 7 | -1/+298 | |
| |/ / | | | | | | | Part of #1275 | |||||
| * | | Merge branch 'typos' into 'main' | Nick Mathewson | 2024-03-09 | 8 | -28/+28 | |
| |\ \ | | | | | | | | | | | | | fix: fix typos See merge request tpo/core/arti!2036 | |||||
| | * | | fix: fix typos | Dimitris Apostolou | 2024-03-09 | 8 | -28/+28 | |
| |/ / | ||||||
| * | | Merge branch 'bug1259' into 'main' | gabi-250 | 2024-03-07 | 2 | -22/+38 | |
| |\ \ | | | | | | | | | | | | | | | | | | | BackoffSchedule refactoring and improvements Part of #1259 See merge request tpo/core/arti!2024 | |||||
| | * | | BackoffSchedule refactoring and improvements | Neel Chauhan | 2024-03-07 | 2 | -22/+38 | |
| |/ / | ||||||
| * | | Merge branch 'memory' into 'main' | Ian Jackson | 2024-03-07 | 1 | -0/+478 | |
| |\ \ | | | | | | | | | | | | | doc/dev/notes: First cut at memory limit design sketch See merge request tpo/core/arti!1997 | |||||
| | * | | doc/dev/notes: memory limit: Rename register_participant from new_... | Ian Jackson | 2024-03-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003539 | |||||
| | * | | doc/dev/notes: memory limit: Fix a Clone | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3003538 | |||||
| | * | | doc/dev/notes: memory limit: Do collapse notifications with lock released | Ian Jackson | 2024-03-07 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001743 | |||||
| | * | | doc/dev/notes: memory limit: Add a note about possible lints | Ian Jackson | 2024-03-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | Suggested-by: trinity-1686a | |||||
| | * | | doc/dev/notes: memory limit: Add a note about missing considerations | Ian Jackson | 2024-03-07 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001998 | |||||
| | * | | doc/dev/notes: memory limit: Document accounting invariants | Ian Jackson | 2024-03-07 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001995 | |||||
| | * | | doc/dev/notes: memory limit: Make local_quota a usize | Ian Jackson | 2024-03-07 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | Write a comment about the bound. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001992 | |||||
| | * | | doc/dev/notes: memory limit: Say to roll our own Peekable | Ian Jackson | 2024-03-07 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990 | |||||
| | * | | doc/dev/notes: memory limit: Fix repeated typo | Ian Jackson | 2024-03-07 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001990 | |||||
| | * | | doc/dev/notes: memory limit: Add not about circular account parentship | Ian Jackson | 2024-03-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997/diffs#3206bf44a587a8b987ce56d7e15a1c076cf3d27c_0_263 | |||||
| | * | | doc/dev/notes: memory limit: Notes re partial collapsing | Ian Jackson | 2024-03-07 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001745 | |||||
| | * | | doc/dev/notes: memory limit: Sort out ownership | Ian Jackson | 2024-03-07 | 1 | -1/+62 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Reintroduce Participation | Ian Jackson | 2024-03-07 | 1 | -32/+37 | |
| | | | | | | | | | | | | | And make ParticipantId private. | |||||
| | * | | doc/dev/notes: memory limit: Minor whitespace fixes | Ian Jackson | 2024-03-07 | 1 | -3/+3 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Fix Account/Participant xref | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Reclaim can be async now | Ian Jackson | 2024-03-07 | 1 | -24/+22 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Release tracker lock while reclaiming | Ian Jackson | 2024-03-07 | 1 | -12/+14 | |
| | | | | | | | | | | | | | Otherwise we could deadlock on the tracker lock. | |||||
