| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | | |
This fixes an "operator precedence can trip the unwary" warning that
showed up after I updated my toolchain to 1.85.
|
| | | |
| | |
| | |
| | | |
This fixes a warning that triggers on the latest stable release (1.85).
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move StreamTarget to the tunnel module and the circuit module.
From now on streams will be implemented on tunnels, not circuits.
This moves `StreamTarget` to the tunnel module. A future change will
replace `ClientCirc` with `ClientTunnel` inside `StreamTarget`.
This is mostly code motion, best reviewed with `--color-moved`.
Signed-off-by: David Goulet <[email protected]>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
We're about to need this in `tor_proto::tunnel` which is from the
Conflux work.
In the spirit of upstreaming as much as possible, it is done now.
|
| | | |
| | |
| | |
| | |
| | | |
We will eventually need to expose this in `tor-proto`'s public API, so
it'll need to be an opaque type.
|
| | | |
| | |
| | |
| | |
| | | |
This will soon be used by the reactor-internal `ConfluxSet` as a unique
identifier for the circuit legs stored in its `SlotMap`.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds support for encoding and decoding `RELAY_CONFLUX_LINK`,
`RELAY_CONFLUX_LINKED`, and `RELAY_CONFLUX_SWITCH` cells.
Closes #1852
|
| | | |
| | |
| | |
| | | |
Part of #1852
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-proto: Move CreateHandshakeWrap to reactor module.
See merge request tpo/core/arti!2796
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This moves the `CreateHandshakeWrap` and its implementors to
`reactor::create` (none of these are used outside of the reactor).
|
| |/ / / |
|
| |/ /
| |
| |
| |
| | |
Reducing `ClientCirc` proliferation will make our lives easier when
implementing !2790.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Right now this will give us `${Xmeta as ... default ...}`, which may
improve things in the future.
The Cargo.toml syntax is precisely that from
https://docs.rs/derive-deftly/1.0.0/derive_deftly/doc_changelog/index.html#t:beta
|
| |/
|
|
|
|
|
|
|
| |
This is released now. Prepared with:
cargo upgrade -i -p derive-deftly
There is some new duplication now I think mostly because pwd-grp uses
old derive-deftly.
|
| |\
| |
| |
| |
| |
| |
| | |
arti: Upgrade 'hickory-proto' to 0.24.3
Closes #1847
See merge request tpo/core/arti!2784
|
| | |
| |
| |
| | |
This resolves RUSTSEC-2025-0006, which arti is not affected by.
|
| | |
| |
| |
| | |
Signed-off-by: Tor CI Release <[email protected]>
|
| |/
|
|
|
|
|
|
| |
This gets rid of a bit of a duplicated code.
It also moves `CtrlCmd` closer to `CtrlMsg`.
Offshoot from my WIP conflux branch for #1838
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
conflux: Split off `time_provider` from `channel` in `ClientCirc`
Closes #1839
See merge request tpo/core/arti!2772
|
| | | |
|
| | |
| |
| |
| | |
We have a new lint that requires this.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This previously returned a &str for sort of unclear reasons, which was
only used in logging. Remove that.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Get rid of anything talking about hashes or "h" in mod.rs, since that
should now be relegated to ipt.rs. Fix some other things to use generic
names as well.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
This didn't really need to be a helper, we can just do everything in
check_for_replay. It was a helper since we previously couldn't test the
check_for_replay function, but now that this is generic we can.
|
| | |
| |
| |
| |
| | |
This needed to be the same as the MESSAGE_LEN constant, so we should
just use the same constant for both.
|
| | |
| |
| |
| |
| | |
I don't think a newtype here was really buying us anything. Might as
well get rid of it.
|
| | |
| |
| |
| | |
The IPT log is the only one that will need hashing, so move that code.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
This is a internal detail that the tests shouldn't care about. This will
also allow us to make hashing a detail handled by IptReplayLogType,
rather than having it in the generic code.
|
| | |
| |
| |
| | |
This will ensure that we can't confuse different types of replay logs.
|
| | | |
|
| |/
|
|
|
| |
This will shortly become multiple files, so it will be helpful to have
it in a directory.
|
| |\
| |
| |
| |
| | |
tor-proto: Remove unnecessary param in handshake handler.
See merge request tpo/core/arti!2774
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
The `Reactor` argument is never used, so we can just remove it from the
trait.
Removing this arg also simplifies #1838 for me (I am moving some code
around, and the calls to `handle_sever_aux_data` no longer have access
to the `Reactor`).
|
| | | |
|
| | |
| |
| |
| | |
Fixes #1841.
|