| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An unrecognized circuit ID is not always a protocol violation, so we
shouldn't close down the channel if it happens.
This change makes the channel reactor drop DESTROY and RELAY cells with
unknown CircIds without closing down the channel. It affects both
clients and relays.
Instead of dropping these unconditionally, we could have implemented
some more sophisticated checks to distinguish the bogus CircIds from the
CircIds of closed circuits, but it's unclear if it's worth the added
complexity (see discussion in #2655).
This partly addresses #2646 (an unrecognized circuit ID shouldn't cause
us to close down the channel if we're a relay).
This commit partially undoes the changes from
4f567e4a9432b340c2799e600c8ceb3724ad3082,
which was originally intended to mitigate flooding attacks.
Part of #2655
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
tor-proto: Some misc rust/clippy warning fixes
See merge request tpo/core/arti!4304
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes an `unfulfilled_lint_expectations` warning.
tor-proto conditionally sets a global `allow(unused)`, and if you have
an `expect(unused)` field within an `allow(unused)` struct, rust seems
to warn with 'unfulfilled_lint_expectations'.
https://github.com/rust-lang/rust/issues/160942
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This fixes a `clippy::large_enum_variant`.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Support DirBackendPlugin kludge in tor-dirserver
See merge request tpo/core/arti!4306
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This commit improves the empty body check by failing if it has happened.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit adds support for the directory backend plugin kludge by
adding a new wrapper struct called `DirMirrorWithBackend`.
It also moves http-body-util from a development dependency to a real
dependency, as this makes working with hyper a lot more comfortable.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit adds marker traits as dependencies for implementations of
the DirBackendPlugin trait, which will be required for intergration
with hyper.
Works like a charm, as DirMgr itself implements all three of these
already.
|
| | |/ / /
| | | |
| | | |
| | | | |
No longer required.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
fix: the number of dns queries should be 1
See merge request tpo/core/arti!4281
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-proto: Handle incoming CREATE2 with ntor-v3 handshakes
See merge request tpo/core/arti!4176
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
constructor
Replaces `TryFrom<SubprotocolRequest> for HandshakeSubprotocols`.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is both recognized and unrecognized protocol kinds.
|
| | | |/ / /
| |/| | | |
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
tor-netdoc: Fix outdated rustdoc for misc.rs
See merge request tpo/core/arti!4307
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes an outdated rustdoc comment with regard to the misc.rs
types and their publicity.
Most of these types have been public for a while now and this comment is
outdated.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
New README_relay.md.
See merge request tpo/core/arti!4295
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: gabi-250 <[email protected]>
|
| | | | | | |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
In the long term this will turn into instructions for running a test
relay. For now, it's going to be a checklist showing what we have
built and what is remaining to build.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Implement kludge to allow use of DirMgr as a backend for DirServer.
See merge request tpo/core/arti!4298
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Part of #2657
|
| | | | | | |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is part of #2657. The goal here is to use DirMgr as a
temporary backend for tor-dirserver, so that we can have a
sort-of-working directory cache that can be used for testing guards
before tor-dirserver is complete.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-dirserver: Remove getters from database.rs
See merge request tpo/core/arti!4303
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit removes the getters in database.rs. If the overall
tor-netdoc refactoring has taught us something, then that the use of
getters can be quite annoying.
Therefore, this commit removes the getters and marks the respective
fields as pub. Given that these data types are pub(crate) only right
now, it does not matter a lot anyways.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
arti: Fix compilation of http-connect without rpc
Closes #2653
See merge request tpo/core/arti!4296
|
| | |/ / /
| | | |
| | | |
| | | | |
Closes #2653.
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
add TODO about Arti#2634
See merge request tpo/core/arti!4293
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-netdoc: Derive PartialEq and Eq for Lifetime
See merge request tpo/core/arti!4294
|
| |/ / /
| | |
| | |
| | | |
Needed for tor-dirserver testing.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ci,maint: Update container image versions
Closes #2618
See merge request tpo/core/arti!4280
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
> The configuration key `SpacesAftertabs` is deprecated. Use
> `SpacesAfterTabs` instead.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
> The default configuration file name `.ecrc` is deprecated. Use
> `.editorconfig-checker.json` instead. You can simply rename it
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tor-dirserver: fix tests on OpenBSD
Closes #2656
See merge request tpo/core/arti!4286
|