- Aug 21, 2024
-
-
Jim Newsome authored
shadow: add obfs4 arti client + tor bridge Closes #1538 See merge request tpo/core/arti!2355
-
-
Nick Mathewson authored
llcrypto: Make `blind_keypair` build without hsv3-client. Closes #1504 See merge request tpo/core/arti!2341
-
Nick Mathewson authored
Now it exists unconditionally so that we can have our assertion for public key consistency happen unconditionally. (Blinding secret keys is not remotely in the critical path, so I'm not concerned about the critical path.) From a suggestion from Gabi on !2341.
-
Nick Mathewson authored
-
Nick Mathewson authored
The `blind_keypair` function should only call `blind_pubkey` when it is present. Also, fix the documentation: blind_keypair is a hsv3-service function, not a hsv3-client function. Closes #1504.
-
Nick Mathewson authored
rpclib: Allow ConnectionClosed in arti_socket_closed test Closes #1510 See merge request tpo/core/arti!2348
-
Nick Mathewson authored
This test is supposed to check the case where we launch a bunch of requests but the socket is dropped before we get a response. Different operating systems handle 'drop' a bit differently, and schedule threads differently, so we shouldn't be surprised at slightly different errors here. In particular, OSX is more prone to deliver the close as a proper "close" rather than an EPIPE or such, which previously broke this test. Closes #1510.
-
Ian Jackson authored
Make arrangements in tor-memquota for memory tracking to be optional See merge request tpo/core/arti!2351
-
Ian Jackson authored
Reported at tpo/core/arti!2351 (comment 3062292)
-
Nick Mathewson authored
rpcbase: Implement RPC method delegation support. See merge request tpo/core/arti!2342
-
- Aug 20, 2024
-
-
Alexander Hansen Færøy authored
relay: Add basic configuration and builder Closes #1534 See merge request tpo/core/arti!2352
-
David Goulet authored
This adds the basic TorRelayConfig object along a builder in order to create a TorRelay object. At this commit, the configuration object only holds a "StorageConfig" which is a simple starting point which will allow to expand to a KeyMgr and then a ChanMgr along more configuration. There is also no custom Error for the crate at this point. Fixes #1534 Signed-off-by: David Goulet <dgoulet@torproject.org>
-
Ian Jackson authored
test: add logstate tests See merge request tpo/core/arti!2349
-
This commit adds the display_recovery and display_problem tests. Line coverage is increased from 0 to 96.97 percent.
-
- Aug 19, 2024
-
-
Ian Jackson authored
-
Ian Jackson authored
This will hopefully allow much caller code to be compiled out. The users (IsParticipant impls) don't generally need to bother with it - they can just ignore it.
-
Ian Jackson authored
-
Ian Jackson authored
Now if we run doctests without the feature enabled, we test that a no-op MemoryQuotaTracker works. Those tests aren't currently run in CI, but they will be after !2350.
-
Ian Jackson authored
Wrap up most of the structures in IfEnabled. Sadly this diff is very noisy. I experimented with macros for the little enabled check at the start of each function but they didn't really help. We don't test this yet. We'll do a smoke test of this later.
-
Ian Jackson authored
-
Ian Jackson authored
We're going to bind self_ to something more complicated, in each of these functions, and that's what all these field references etc. will need to refer to. Do this mechanical change first for clarity.
-
Ian Jackson authored
EnabledToken is pub because it's going to appear in public APIs.
-
Ian Jackson authored
-
Ian Jackson authored
This will make some later diffs easier to read.
-
- Aug 15, 2024
-
-
gabi-250 authored
tor-circmgr: Remove unused "chosen exit" functionality See merge request tpo/core/arti!2347
-
Steven Engler authored
-
Steven Engler authored
-
Jim Newsome authored
tor-proto: Encapsulate flow-control See merge request tpo/core/arti!2340
-
Ian Jackson authored
tor-memquota: (MPSC) queue with memory quota tracking See merge request tpo/core/arti!2292
-
Jim Newsome authored
-
Ian Jackson authored
We use `debug!` (tracing logging) everywhere else. Use it here too.
-
Ian Jackson authored
-
Ian Jackson authored
Each queue has two `Participation`s, not just one. This didn't matter in the `lifecycle` test, because one of the two Participations was never touched since it was cloned, and a fresh clone starts out with a cache of zero. But we're about to reuse this code in a context where both Participations end up with a cache.
-
Ian Jackson authored
-
Ian Jackson authored
Discussed here tpo/core/arti!2292 (comment 3059928)
-
Ian Jackson authored
It's not a unit. It's `MpscUnboundedSpec` that's a unit
-
Ian Jackson authored
And MpscUnboundedSpec too. As discussed in tpo/core/arti!2292 (comment 3059516)
-
Ian Jackson authored
Prompted by tpo/core/arti!2292 (comment 3059543)
-
Ian Jackson authored
As per tpo/core/arti!2292 (comment 3059520)
-