| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-guardmgr: Fix broken doc link. | Gabriela Moldovan | 2024-06-03 | 1 | -1/+1 |
| | | |||||
| * | tor-guardmgr: Unconditionally define VanguardConfig. | Gabriela Moldovan | 2024-06-03 | 1 | -16/+0 |
| | | | | | | | | | | We want to export the `VanguardConfig` even if the `vanguards` feature is disabled (we will need to unconditionally include it in the arti config). Note that if `vanguards` are disabled, the `VanguardMode` from the `VanguardConfig` can only be `Dsiabled`. | ||||
| * | tor-guardmgr: Add a TODO about using the vanguard consensus params. | Gabriela Moldovan | 2024-04-29 | 1 | -0/+3 |
| | | |||||
| * | tor-guardmgr: Remove old TODO about making VanguardMode a VanguardParam. | Gabriela Moldovan | 2024-04-29 | 1 | -3/+0 |
| | | | | | | | | | | `VanguardParams` already contains the `vanguards_enabled` and `vanguards_hs_service` `VanguardMode` params. We still intend to abolish `VanguardConfig` in favour of deriving the `VanguardMode` from the consensus params (#1382), but this is not the right place for such a TODO. | ||||
| * | tor-guardmgr: Remove unnecessary clippy allows. | Gabriela Moldovan | 2024-04-29 | 1 | -1/+0 |
| | | | | | None of these should be unused anymore. | ||||
| * | tor-guardmgr: By default, use full vanguards for onion services. | Gabriela Moldovan | 2024-04-22 | 1 | -2/+2 |
| | | | | | | | | By default, HS clients should be using lite vanguards, and HS services full vanguards. See https://gitlab.torproject.org/tpo/core/torspec/-/merge_requests/258#note_3011734 | ||||
| * | tor-guardmgr: Remove outdated TODO. | Gabriela Moldovan | 2024-04-15 | 1 | -6/+0 |
| | | | | | It was addressed in !2083 | ||||
| * | tor-guardmgr: Add the two VanguardModes to VanguardParams. | Gabriela Moldovan | 2024-04-11 | 1 | -0/+12 |
| | | | | | | | | | We have two vanguard modes, one for when arti is running as a client, and a separate one for when it's running as a service. Both modes are extracted from the `NetParameters`, so they belong in `VanguardParams`. | ||||
| * | tor-guardmgr: Validate lifetimes before constructing VanguarParams. | Gabriela Moldovan | 2024-04-10 | 1 | -4/+35 |
| | | | | | | If the [min, max] lifetime interval for a vanguard layer is the empty set (i.e. min > max), we return the default lifetime. | ||||
| * | tor-guardmgr: Derive getters for VanguardParams. | Gabriela Moldovan | 2024-04-05 | 1 | -1/+7 |
| | | |||||
| * | tor-guardmgr: Implement TryFrom<&NetParameters> for VanguardParams. | Gabriela Moldovan | 2024-04-05 | 1 | -3/+18 |
| | | |||||
| * | tor-circmgr: Unconditionally define VanguardMode. | Gabriela Moldovan | 2024-03-20 | 1 | -18/+2 |
| | | |||||
| * | tor-guardmgr: Return an error if VanguardMode does not support the specified ↵ | Gabriela Moldovan | 2024-03-11 | 1 | -1/+5 |
| | | | | | Layer. | ||||
| * | tor-guardmgr: Make the VanguardMode variants serialize to lowercase. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+1 |
| | | |||||
| * | tor-guardmgr: Add vanguards API skeleton. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+97 |
| Part of #1275 | |||||
