| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-circmgr: The circuit must still be usable, even if vanguards are enabled. | Gabriela Moldovan | 2024-04-29 | 1 | -3/+1 | |
| | | ||||||
| * | tor-circmgr: Prefer STUB+ where possible. | Gabriela Moldovan | 2024-04-29 | 2 | -10/+61 | |
| | | | | | Closes #1385 | |||||
| * | tor-circmgr: Remove no-longer-needed dead_code allow. | Gabriela Moldovan | 2024-04-29 | 1 | -1/+0 | |
| | | ||||||
| * | tor-circmgr: Have separate targets for the STUB and STUB+ pools (fmt). | Gabriela Moldovan | 2024-04-29 | 1 | -3/+3 | |
| | | ||||||
| * | tor-circmgr: Have separate targets for the STUB and STUB+ pools. | Gabriela Moldovan | 2024-04-29 | 1 | -32/+46 | |
| | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2102#note_3024366 | |||||
| * | tor-circmgr: Add a TODO about launching HS circuits in parallel. | Gabriela Moldovan | 2024-04-29 | 1 | -0/+1 | |
| | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2102#note_3024370 | |||||
| * | tor-circmgr: Expand on the ForLaunch docs. | Nick Mathewson | 2024-04-29 | 1 | -1/+2 | |
| | | ||||||
| * | tor-circmgr: Remove an addressed TODO. | Gabriela Moldovan | 2024-04-29 | 1 | -13/+0 | |
| | | ||||||
| * | tor-circmgr: Log the kinds of circuits we're about to launch (fmt). | Gabriela Moldovan | 2024-04-29 | 1 | -4/+1 | |
| | | ||||||
| * | tor-circmgr: Log the kinds of circuits we're about to launch. | Gabriela Moldovan | 2024-04-29 | 2 | -3/+24 | |
| | | ||||||
| * | tor-circmgr: Remove no-longer-needed dead code allows. | Gabriela Moldovan | 2024-04-29 | 1 | -2/+0 | |
| | | ||||||
| * | tor-circmgr: Make a fraction of preemptive HS circuits be STUB+. | Gabriela Moldovan | 2024-04-29 | 2 | -11/+111 | |
| | | | | | Closes #1353 | |||||
| * | tor-guardmgr: Temporarily reintroduce VanguardConfig. | Gabriela Moldovan | 2024-04-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | As discussed on #tor-dev, I'm reintroducing `VanguardConfig` for now. The `VanguardConfig` specifies what mode (full/lite/disabled) the `VanguardMgr` should run in. We currently don't have a separate modes for HS clients and HS services. We shouldn't actually *need* a `VanguardConfig` at all, so this is just a (hopefully!) short- or medium-term fix until we sort out #1382 (which might involve making breaking changes to our `reconfigure()` APIs). Closes #1272 | |||||
| * | tor-circmgr: Loop until we run out of circuits to launch. | Gabriela Moldovan | 2024-04-25 | 1 | -1/+1 | |
| | | | | | | Previously this would only loop `n_to_launch - 1` times, so the pool was always 1 circuit short of the `n_to_launch` target. | |||||
| * | Use clone_from in CircMgr config updater. | Nick Mathewson | 2024-04-22 | 1 | -1/+3 | |
| | | | | | | Clippy prefers this idiom as potentially more efficient. It's not critical-path, but let's let clippy have its way. | |||||
| * | tor-guardmgr: Store whether we're running an onion svc (fmt). | Gabriela Moldovan | 2024-04-11 | 1 | -1/+6 | |
| | | ||||||
| * | tor-guardmgr: Store whether we're running an onion svc. | Gabriela Moldovan | 2024-04-11 | 2 | -2/+10 | |
| | | | | | | | The `VanguardMgr` needs to know whether arti is running as an onion service or not, in order to figure out which of the `vanguards_enabled` and `vanguards_hs_service` modes to use. | |||||
| * | tor-circmgr: Call VanguardMgr::launch_background_tasks. | Gabriela Moldovan | 2024-04-05 | 2 | -1/+10 | |
| | | ||||||
| * | tor-guardmgr: Pass an rng to select_vanguard. | Gabriela Moldovan | 2024-04-05 | 1 | -2/+2 | |
| | | | | | | 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 | 2 | -3/+14 | |
| | | ||||||
| * | tor-guardmgr: Give VanguardMgr a handle to the runtime. | Gabriela Moldovan | 2024-04-05 | 4 | -13/+14 | |
| | | ||||||
| * | 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. | |||||
| * | Merge branch '504-cleanup-part1' into 'main' | Nick Mathewson | 2024-04-03 | 4 | -30/+26 | |
| |\ | | | | | | | | | Move fiddly Relay functionality into a RelayDetails type. See merge request tpo/core/arti!2057 | |||||
| | * | exitpath: Refactor a test to use tor-relay-usage. | Nick Mathewson | 2024-03-28 | 1 | -20/+14 | |
| | | | ||||||
| | * | Remove temporary functions in CheckedRelay. | Nick Mathewson | 2024-03-28 | 4 | -12/+14 | |
| | | | ||||||
| * | | remove unused dependencies | trinity-1686a | 2024-04-02 | 1 | -3/+1 | |
| | | | | | | | | | Edited-by: Nick Mathewson <[email protected]> | |||||
| * | | Remove semver.md files from arti-1.2.1 release | Nick Mathewson | 2024-04-02 | 1 | -3/+0 | |
| | | | ||||||
| * | | Update unstable `tor/arti-*` crates to 0.17.0. | Nick Mathewson | 2024-04-02 | 1 | -23/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Mathewson | 2024-04-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Mathewson | 2024-03-28 | 1 | -1/+1 | |
| |/ | ||||||
| * | tor-circmgr: Fix a clippy warning. | Gabriela Moldovan | 2024-03-21 | 1 | -2/+2 | |
| | | ||||||
| * | tor-circmgr: If full vanguards are enabled, apply exclusions to the extra ↵ | Gabriela Moldovan | 2024-03-21 | 1 | -7/+7 | |
| | | | | | hop too (fmt). | |||||
| * | tor-circmgr: If full vanguards are enabled, apply exclusions to the extra ↵ | Gabriela Moldovan | 2024-03-21 | 1 | -5/+9 | |
| | | | | | hop too. | |||||
| * | tor-circmgr: Rewrite RelayExclusion building using exclude_identities(). | Gabriela Moldovan | 2024-03-21 | 1 | -19/+7 | |
| | | ||||||
| * | tor-circmgr: Add function for building a RelayExclusion from a slice of relays. | Gabriela Moldovan | 2024-03-21 | 1 | -0/+14 | |
| | | ||||||
| * | tor-guardmgr: Make Vanguard::select_relay take a RelayExclusion. | Gabriela Moldovan | 2024-03-21 | 1 | -3/+31 | |
| | | | | | | | | This enables us to prevent the same relay from being picked in consecutive positions in a path. Part of #1340 | |||||
| * | tor-circmgr: Clarify that stub circuits are sometimes 4-hop circuits. | Gabriela Moldovan | 2024-03-20 | 1 | -1/+1 | |
| | | ||||||
| * | tor-circmgr: Move HsPathBuilder trait impl closer to struct definition. | Gabriela Moldovan | 2024-03-20 | 1 | -35/+35 | |
| | | | | | This is just code movement to make the code a bit easier to follow. | |||||
| * | tor-circmgr: Add allow(unused) for functions only used on particular feature ↵ | Gabriela Moldovan | 2024-03-20 | 1 | -0/+2 | |
| | | | | | sets. | |||||
| * | tor-circmgr: Move ExitPathBuilder::from_chosen_exit under the test mod. | Gabriela Moldovan | 2024-03-20 | 1 | -10/+13 | |
| | | | | | | `ExitPathBuilder` is now `pub(crate)`, so we need to move this under the `test` module to fix the "unused" clippy warning. | |||||
| * | tor-circmgr: Make the path module crate-private. | Gabriela Moldovan | 2024-03-20 | 5 | -16/+24 | |
| | | | | | | | | | | | | | | | We're not currently using any of the path builders outside of `tor-circmgr`, so let's make them crate-private for now. Care must be taken if/when we decide to make them public again. For instance, the `HsPathBuilder` exposes two path building functions, one that uses vanguards, and one that doesn't. We want to strongly encourage the use of the vanguards-aware version of the function whenever the `vanguards` feature is enabled, without breaking any of its existing non-vanguard uses. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2046#note_3010217 | |||||
| * | tor-circmgr: Reference #1339 in a TODO. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+2 | |
| | | ||||||
| * | tor-circmgr: Cross-reference the hspath docs in the HsCircStubKind docs. | Gabriela Moldovan | 2024-03-20 | 1 | -1/+3 | |
| | | ||||||
| * | tor-circmgr: Move HsPathBuilder docs to the module-level. | Gabriela Moldovan | 2024-03-20 | 1 | -39/+41 | |
| | | ||||||
| * | tor-circmgr: Remove unnecessary Result wrapping. | Gabriela Moldovan | 2024-03-20 | 2 | -10/+9 | |
| | | ||||||
| * | tor-circmgr: Unconditionally define VanguardMode. | Gabriela Moldovan | 2024-03-20 | 2 | -16/+7 | |
| | | ||||||
| * | tor-circmgr: Apply deferred cargo fmt. | Gabriela Moldovan | 2024-03-20 | 1 | -9/+2 | |
| | | ||||||
| * | tor-circmgr: Rename pick_path to pick_path_with_vanguards. | Gabriela Moldovan | 2024-03-20 | 2 | -5/+5 | |
| | | | | | | | When the `vanguards` feature is enabled, we define `pick_path_with_vanguards` instead of `pick_path`, rather than conditionally defining 2 different versions of the same function. | |||||
| * | tor-circmgr: Add an explanation and a couple of TODOs. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+8 | |
| | | ||||||
| * | tor-circmgr: Clarify the TODO in launch_hs_circuits_as_needed. | Gabriela Moldovan | 2024-03-20 | 1 | -2/+12 | |
| | | ||||||
