| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-proto: Feature-conditionalise some enum variants | Ian Jackson | 2023-03-23 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | This avoids some dead code warnings when building without send-control-msg. | |||||
| | * | | | tor-proto: Split off send-control-msg feature | Ian Jackson | 2023-03-23 | 4 | -7/+8 | |
| | | | | | ||||||
| | * | | | arti: Provide onion-service-client feature | Ian Jackson | 2023-03-23 | 2 | -1/+4 | |
| | | | | | | | | | | | | | | | | | Here I use the name I propose in !1039. | |||||
| | * | | | arti-client: Call tor-hsclient to create HS connections | Ian Jackson | 2023-03-23 | 2 | -4/+27 | |
| | | | | | | | | | | | | | | | | | | | | | Obviously this still doesn't work because the actual impl in hsclient is just a todo!(). | |||||
| | * | | | arti-client: Create an HsClientConnector | Ian Jackson | 2023-03-23 | 4 | -1/+25 | |
| | | | | | ||||||
| | * | | | arti-client: Move client stream creation out of match, in connect | Ian Jackson | 2023-03-23 | 1 | -16/+17 | |
| | | | | | | | | | | | | | | | | | We want this part for HS too. | |||||
| | * | | | arti-client: Break out TorClient::isolation(prefs) | Ian Jackson | 2023-03-23 | 1 | -17/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to want to reuse this. Also: rename StreamPrefs::isolation and update the docs, to better reflect its rather limited functionality. The new TorClient::isolation is the only call site. | |||||
| | * | | | tor-hsclient: Have the public API take StreamIsolation | Ian Jackson | 2023-03-23 | 1 | -2/+7 | |
| | | | | | ||||||
| | * | | | tor-hsclient: impl HasKind for errors | Ian Jackson | 2023-03-23 | 1 | -1/+20 | |
| | | | | | ||||||
| | * | | | tor-hsclient: Swap errors so Bug comes last | Ian Jackson | 2023-03-23 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | This seems more consistent with the way it's done elsewhere. | |||||
| | * | | | tor-hsclient: Document clone-nature of HsClientConnector | Ian Jackson | 2023-03-23 | 1 | -0/+3 | |
| |/ / / | ||||||
| * | | | Merge branch 'build_hs_circuits' into 'main' | Nick Mathewson | 2023-03-22 | 11 | -21/+641 | |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | First cut at a circuit launcher for onion services Closes #691 See merge request tpo/core/arti!1065 | |||||
| | * | | hspool: simplify loop and add a maximum | Nick Mathewson | 2023-03-22 | 1 | -41/+39 | |
| | | | | ||||||
| | * | | hspool: Clarify/document more TODO HS items. | Nick Mathewson | 2023-03-22 | 1 | -2/+8 | |
| | | | | ||||||
| | * | | circmgr: Make a separate SupportedCircUsage for HS stuff | Nick Mathewson | 2023-03-22 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | This uncovered a bug: NoUsage wasn't correct for Hs circuits because of its behavior with channel_usage(). | |||||
| | * | | tor-proto: document deep-copy in ClientCirc::path() | Nick Mathewson | 2023-03-22 | 1 | -0/+4 | |
| | | | | ||||||
| | * | | circmgr: Declare builder() unconditionally. | Nick Mathewson | 2023-03-22 | 3 | -7/+19 | |
| | | | | | | | | | | | | | (Still, only expose it when experimental-api is enabled.) | |||||
| | * | | hspool: Tweak comments and add more TODOs. | Nick Mathewson | 2023-03-22 | 1 | -10/+33 | |
| | | | | ||||||
| | * | | circmgr: hspool now launches circuits in the background. | Nick Mathewson | 2023-03-22 | 1 | -11/+157 | |
| | | | | | | | | | | | | | | | | | | | The prediction and scheduling logic here is quite primitive; we should probably refactor it considerably. This should be good enough for now, though. | |||||
| | * | | circmgr: Add an actual pool to HsCircPool. | Nick Mathewson | 2023-03-22 | 2 | -6/+173 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | We now have support for a pool of pre-build circuits that we can use for HS-related purposes, and we take circuits from this pool as needed. Nothing populates or cleans the circuit pool yet. | |||||
| | * | | circmgr: Begin an HS circuit pool structure | Nick Mathewson | 2023-03-22 | 3 | -0/+162 | |
| | | | | | | | | | | | | | | | | This is now enough to launch circuits on demand. It still needs to pre-build the first three hops, and to retry on failure. | |||||
| | * | | proto: Stabilize ClientCirc::n_hops. | Nick Mathewson | 2023-03-22 | 2 | -1/+7 | |
| | | | | ||||||
| | * | | circmgr: Add a usage for building the beginning of an hs circ | Nick Mathewson | 2023-03-22 | 3 | -16/+86 | |
| | | | | | | | | | | | | | | | | This only builds the first 3 hops. It can be extended to a fourth hop later -- or not, depending on the circuit kind. | |||||
| | * | | circmgr: Functions to launch an unmanaged circuit. | Nick Mathewson | 2023-03-22 | 2 | -3/+26 | |
| |/ / | | | | | | | We'll use this to implement the circuits used by onion circuits. | |||||
| * | | Merge branch 'todo' into 'main' | Nick Mathewson | 2023-03-21 | 9 | -12/+73 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Sort out some blocker TODOs and ensure no more turn up Closes #782 See merge request tpo/core/arti!1067 | |||||
| | * | | maint/check_todos: Run in CI | Ian Jackson | 2023-03-21 | 1 | -0/+9 | |
| | | | | ||||||
| | * | | maint/check_todos: Offer advice on workarounds, if tripped | Ian Jackson | 2023-03-21 | 1 | -0/+22 | |
| | | | | ||||||
| | * | | Obscure various literal uses of the todo marker | Ian Jackson | 2023-03-21 | 3 | -3/+3 | |
| | | | | | | | | | | | | | In each case, use a circumlocution. | |||||
| | * | | Turn two blocking TODOs in hsdesc into "TODO HS" | Ian Jackson | 2023-03-21 | 2 | -2/+2 | |
| | | | | | | | | | | | | | TODO HS is blocking for HS release, but not for CI. | |||||
| | * | | Sort out some TODOs in bdtest.rs | Ian Jackson | 2023-03-21 | 1 | -5/+4 | |
| | | | | ||||||
| | * | | Convert blockers in arti-testing to TODOs | Ian Jackson | 2023-03-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | I don't think these are that bad in testing code. | |||||
| | * | | maint/check_todos: New script | Ian Jackson | 2023-03-21 | 1 | -0/+31 | |
| |/ / | ||||||
| * | | Merge branch 'fixup-features-tool' into 'main' | Nick Mathewson | 2023-03-20 | 3 | -0/+344 | |
| |\ \ | | | | | | | | | | | | | | | | | | | New "fixup-features" tool to enforce properties in Cargo.tomls Closes #771 See merge request tpo/core/arti!1059 | |||||
| | * | | fixup-features: Use write-and-rename pattern. | Nick Mathewson | 2023-03-20 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | fixup-features: Improve a comment. | Nick Mathewson | 2023-03-20 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | fixup-features: Simplify "optionality" detection. | Nick Mathewson | 2023-03-20 | 1 | -17/+13 | |
| | | | | ||||||
| | * | | New "fixup-features" tool to enforce properties in Cargo.tomls | Nick Mathewson | 2023-03-20 | 3 | -0/+346 | |
| | | | | | | | | | | | | | | | | | | | See top-level main.rs comment for an explanation. Closes #771 | |||||
| * | | | Merge branch 'unused-type-param' into 'main' | Nick Mathewson | 2023-03-20 | 1 | -1/+1 | |
| |\ \ \ | |/ / |/| | | | | | | | | remove unused type parameter See merge request tpo/core/arti!1066 | |||||
| | * | | remove unused type parameter | trinity-1686a | 2023-03-18 | 1 | -1/+1 | |
| |/ / | ||||||
| * | | Merge branch 'fix-ptmgr-fuzz' into 'main' | Alexander Færøy | 2023-03-13 | 1 | -0/+1 | |
| |\ \ | | | | | | | | | | | | | tor-ptmgr: Fix fuzzer compilation. See merge request tpo/core/arti!1063 | |||||
| | * | | tor-ptmgr: Fix fuzzer compilation. | Nick Mathewson | 2023-03-13 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | Since we made the internals of the ptmgr protocol parser conditionally private, we need to tell Cargo to build the fuzzer with the `experimental-api` feature so that it can access them. | |||||
| * | | | Merge branch 'bitflags-upgrade' into 'main' | Alexander Færøy | 2023-03-13 | 7 | -17/+26 | |
| |\ \ \ | |/ / |/| | | | | | | | | Upgrade to bitflags 2.0 See merge request tpo/core/arti!1064 | |||||
| | * | | Upgrade to bitflags 2.0 | Nick Mathewson | 2023-03-13 | 7 | -17/+26 | |
| |/ / | | | | | | | | | This version of bitflags now requires us to explicitly list the traits that we want to derive for our bit-flags structs. | |||||
| * | | Bump to latest fuzzer corpora. | Nick Mathewson | 2023-03-13 | 1 | -0/+0 | |
| | | | ||||||
| * | | Merge branch 'warnings_168' into 'main' | Alexander Færøy | 2023-03-10 | 5 | -7/+4 | |
| |\ \ | | | | | | | | | | | | | Resolve a couple of new lints with Rust 1.68 See merge request tpo/core/arti!1062 | |||||
| | * | | Fix a bunch of needless-conversion warnings. | Nick Mathewson | 2023-03-10 | 4 | -6/+2 | |
| | | | | | | | | | | | | | | | | Apparently 1.68 now warns when you call into_iter() on something that's already an iterator. Fair enough. Let's stop doing that. | |||||
| | * | | Suppress a renamed-lint lint. | Nick Mathewson | 2023-03-10 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | The derive_hash_xor_eq lint was renamed in 1.68, but we can't use it under its new name, since we still need to support back to 1.60. Instead, we suppress the warning about the lint being renamed. | |||||
| * | | | Merge branch 'hsplumb' into 'main' | Ian Jackson | 2023-03-09 | 6 | -39/+219 | |
| |\ \ \ | |/ / |/| | | | | | | | | Plumb `.onion` addresses through to arti-client `client.rs` See merge request tpo/core/arti!1060 | |||||
| | * | | Discuss in comment why we're not using a newtype for the Strings in Host | Ian Jackson | 2023-03-09 | 1 | -0/+8 | |
| | | | | ||||||
| | * | | Classify OnionAddressResolveRequest as NotImplemented | Ian Jackson | 2023-03-09 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | We have a theory about how this ought to work, so it's noit an API usage error - it's an unimplemented feature. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1060#note_2884757 | |||||
