| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\
| |
| |
| |
| | |
proto: Define a new composable SinkBlocker type.
See merge request tpo/core/arti!3228
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This type wraps a futures::Sink, and allows it to be temporarily blocked
and unblocked.
I'm going to use this to implement padding-based circuit blocking,
according to the designs in !3225.
|
| | | |
|
| | |
| |
| |
| | |
This commit uses `tor_error::Bug` for indicating thread poisoning.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
This commit implements the initial draft for the HTTP module.
It is fairly complicated but well documented within the source code,
please refer to that instead.
|
| |/
|
|
|
|
| |
This commit adds the `schema.rs` module, which implements the database
schema alongside some functions for initializing the database and
obtaining the database schema version.
|
| |\
| |
| |
| |
| | |
tor-dircommon: Initial commit
See merge request tpo/core/arti!3205
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit initializes the `tor-dircommon` crate: A crate serving the
purpose to form an umbrella for the lowest common denominator primitives
found across crates implementing (parts of) the directory specification.
For now, the only such primitive is the found within the `authority`
module, which has been refactored from `tor-dirmgr` into this crate,
alongside additional getter functions due to the lack of `pub(crate)` in
this context.
In the future, we may move further primitives away from `tor-dirmgr`
into `tor-dircommon`.
|
| |/
|
|
|
|
|
|
| |
There are incomplete pieces, marked with "TODO circpad".
There is no integration into the circuit reactor code yet.
Part of #63
|
| |\
| |
| |
| |
| | |
Require tracing-subscriber 0.3.20
See merge request tpo/core/arti!3221
|
| | |
| |
| |
| | |
Fixes RUSTSEC-2025-0055.
|
| |\ \
| |/
|/|
| |
| | |
various crates: Switch to "assert in const" pattern
See merge request tpo/core/arti!3217
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Replaced use of [`static_assertions::const_assert`] with the newly
available "assert in const" pattern. This completely removes the
dependency on `static_assertions` for `tor-netdir`.
Signed-off-by: hashcatHitman <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Replaced use of [`static_assertions::const_assert`] with the newly
available "assert in const" pattern. This completely removes the
dependency on `static_assertions` for `tor-circmgr`.
Signed-off-by: hashcatHitman <[email protected]>
|
| |/ |
|
| |
|
|
|
| |
We've promised in our README not to bump MSRV in patchlevel
releases. So now this is 1.5.0.
|
| |
|
|
|
|
|
|
| |
Per policy, we bump the minor version of every tor-*, arti-* crate
on each release.
We have updated our MSRV, so we're treating this as a breaking
change for our non-(arti/tor)-prefixed crates too.
|
| | |
|
| |
|
|
|
|
| |
Closes #2026.
We can do this now that criterion-cycles-per-byte has also upgraded.
|
| |
|
|
|
| |
Also, document why we are (for now) stuck using a tilde with our
ureq dependency.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Upgrade to toml-0.9.5.
Closes #2093
See merge request tpo/core/arti!3163
|
| | |
| |
| |
| | |
Closes #2093.
|
| |\ \
| | |
| | |
| | |
| | | |
smol: Implement smol in tor-rtcompat
See merge request tpo/core/arti!2986
|
| | | | |
|
| | |/
|/|
| |
| |
| |
| |
| | |
This is so a relay can build authenticated channels. Several keys/cert
are required for this that are within the key manager.
Signed-off-by: David Goulet <[email protected]>
|
| |\ \
| |/
|/|
| |
| | |
More PoW miscellania
See merge request tpo/core/arti!3132
|
| | |
| |
| |
| |
| |
| | |
I'm not 100% on this being here, it seems like it might want to be a
option for all onion services, rather than per-service. However, this is
good enough for now.
|
| | | |
|
| |/
|
|
|
|
| |
testresult is a new dependency for arti.git. (It's being added as a
test-dependenchy here.) It is has a very useful Result type for use
in test cases.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoids
https://rustsec.org/advisories/RUSTSEC-2025-0047
I have considered whether this needs a TROVE. I think not.
We don't call the unsound method at all directly within arti.git.
As for our dependencies: I (with some flailing) managed to patch the
whole build to use a modified version of slab with the unsound method
sabotaged. This was successful. So I think nothing in our whole tree
uses it.
(I also verified that my sabotage arrangements were effective:
applying `#![cfg(any())]` at the top of slab's lib.rs did break the
build of hs.)
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/hyper/hyper-http-client-example/Cargo.toml
examples/hyper/hyper-http-hs-example/Cargo.toml
In both cases, just the change of edition, which I have applied to
examples/hyper-examples/Cargo.toml
instead.
|
| | |
| |
| |
| |
| |
| | |
I had been planning to use `[]::is_sorted` here, once we had
MSRV >= 1.82, but it turns out that we wanted strictly ascending
sequence, whereas `is_sorted` checks for a non-descreasing sequence.
|
| | |
| |
| |
| |
| | |
(We were unable to do this before, since it required a rust version
we didn't have.)
|
| | |
| |
| |
| | |
Signed-off-by: David Goulet <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduce the new Tunnel structs that is planned to expose publicly as a
replacement to `ClientCirc`.
Future commits will make those tunnel objects be used accross the code
base up until tor-proto which than handles Circuit directly.
Signed-off-by: David Goulet <[email protected]>
|
| | |
| |
| |
| | |
This was accidentally omitted from my version bump script.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Made with the following shell script:
export CARGO='nailing-cargo -Eu'
# Non-functional changes only
maint/bump_nodep hashx
# Special
$CARGO set-version -p arti 1.4.6
# Additional features, no breaking changes, depended on in tree
$CARGO set-version -p safelog 0.4.8
# Unconditional bump to 0.33.0
xargs -I P <<END $CARGO set-version -p P 0.33.0
tor-error
tor-general-addr
tor-geoip
tor-rtcompat
tor-rtmock
tor-async-utils
tor-config
tor-config-path
tor-rpc-connect
tor-log-ratelim
tor-rpcbase
tor-memquota
tor-units
tor-llcrypto
tor-bytes
tor-protover
tor-checkable
tor-cert
tor-key-forge
tor-hscrypto
tor-socksproto
tor-linkspec
tor-cell
tor-proto
tor-netdoc
tor-consdiff
tor-netdir
tor-relay-selection
tor-persist
tor-chanmgr
tor-ptmgr
tor-guardmgr
tor-circmgr
tor-dirclient
tor-dirmgr
tor-keymgr
tor-hsclient
tor-hsservice
tor-hsrproxy
tor-relay-crypto
arti-client
arti-relay
arti-rpcserver
arti-ureq
arti-rpc-client-core
END
|
| | | |
|
| | |
| |
| |
| | |
No upstream changes that break our code.
|
| | | |
|
| |\|
| |
| |
| |
| | |
# Conflicts:
# examples/hyper-examples/src/bin/hyper-http-hs-example.rs
|
| | | |
|
| | |
| |
| |
| | |
Closes #2012.
|
| | | |
|