| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-rtmock: Introduce MockTimeCore
See merge request tpo/core/arti!2052
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This was incorrect usage, as pointed out in
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2052#note_3012727
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It bothered me that when I added a `MockCoarseTimeProvider` to the
mock time providers, I had to manually grep to check that there
weren't places the time was updated where I ought to also update the
coarse time.
Prove that the code is right by hiding all the times together in a
struct that prevents un-synchronised updates.
This is part 1, where we move the fields from simple_time::State to
the new struct.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We're going to put more in here.
(Yes, I know we just invented this...)
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Run "fixup-features" in preparation for next release.
See merge request tpo/core/arti!2061
|
| | | |/ /
| |/| | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
downgrade alpine used for reproducible builds
See merge request tpo/core/arti!2062
|
| |/ / /
| | |
| | |
| | | |
temporary fix for broken macos builds
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-netdir: Fix broken links in NetParameters docs.
See merge request tpo/core/arti!2054
|
| | | | |
| | | |
| | | |
| | | | |
Spotted in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2053#note_3012632
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Fix note in config that claimed onion services weren't implemented
See merge request tpo/core/arti!2055
|
| |/ / /
| | |
| | |
| | |
| | | |
Instead, link to documentation, and give the warning about their
security.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Update our semver policy as suggested in #1005
See merge request tpo/core/arti!2051
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Taken from
https://gitlab.torproject.org/tpo/core/arti/-/issues/1005#note_2991812
and edited.
|
| | | | |
| | | |
| | | |
| | | | |
Even before the policy change, this is, in practice, true.
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
tor-netdir: Add the vanguard params to NetParameters.
See merge request tpo/core/arti!2053
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We'll need this to convert the `vanguard_enabled` and
`vanguard_hs_service` net params to a `VanguardMode.
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
See also torspec!258
Part of #1272
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Implement max_concurrent_streams_per_circuit
Closes #1124
See merge request tpo/core/arti!2047
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
With this patch, it holds only a reference to `&reactor.hops`,
which greatly simplifies the reactor code's fight with the
borrow checker.
I've left some TODO comments about future directions here.
|
| | | | |
| | | |
| | | |
| | | | |
(Doing this to prevent us having two structs with the same name.)
|
| | | | |
| | | |
| | | |
| | | | |
Closes #1124.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Based on designs in #1124.
Note that there is a TODO here about a hack I had to do to appease
the borrow checker.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We'll use this as an argument for the callback that checks stream
requests to make sure they're permitted.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We want to keep an accurate count of the number of open streams, so
we have to stop exposing `&mut StreamEnt` outside of the streammap
module.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This is the first part of a refactoring that will let us keep code
from the outside of `streammap` from changing a stream from one
state to another. And we need to do _that_ so that StreamMap can
count how many open streams it has.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
Refactor the logic for constructing crypt layers.
See merge request tpo/core/arti!2048
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The key insights here are:
- That relay cell format and crypto protocols aren't orthogonal:
Once we have GCO, it will require V1.
- That we only need the actual functions for layer construction to
be generic; we don't need to proliferate generic parameters
everywhere.
- That the circuit::handshake module already does most of what we
want.
|