| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit adds a round-trip encoding test to test_parse2 that encodes
the decoded results and decodes them again in order to verify that the
again decoded result is equal to the original one.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Required for round trip encode testing which we will add in the next
commit.
We only keep the actual RouterDescSignatures because then we can do Eq.
|
| | | | | | |
|
| | | | | | |
|
| |/ / / /
| | | |
| | | |
| | | | |
Needed for encoding.
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
proto: Allow BeginDir and Resolve messages in the stream reactor
Closes #2613
See merge request tpo/core/arti!4188
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
See
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4188#note_3432579
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These assertions no longer fail now that the stream reactor is able to
handle non-`BEGIN` streams.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, these would fail to parse, because the (WIP) stream reactor
assumed all streams would be exit (BEGIN) streams.
Closes #2613
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-netdoc: Further minor improvements to addr and port policy types
See merge request tpo/core/arti!4191
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This appears in a lot of debug output and the `... lo: ... hi: ...`
formulation is very noisy.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This type consists of, and will always consist of, two u16. Making it
Copy is convenient.
This will preclude us making it contain a RangeInclusive because
std::ops::RangeInclusive is not Copy (due to API design blunder in
std), and std::range is still unstable. I think that's OK.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Callers in policy.rs's sub-modules should not be required to open-code
constructing this, even though they can.
(PortRanges is module-private, so this is too.)
This is without prejudice to possible rationalisation of the types
in this area.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Upgrade itertools to 0.15.0
See merge request tpo/core/arti!4192
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Additionally, fix itertools usage in maybenot_padding.rs
The definition of `Position` changed in 0.15.0.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added ConfigBuildError::MissingOneOf and did TODO
See merge request tpo/core/arti!4131
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | |
| | | | | | |
| | | | | | | |
CI: bump chutney version
See merge request tpo/core/arti!4197
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Primarily to get chutney!152, which should mitigate arti#2576
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | | |
Upgrade rdrand dependency to 0.9
See merge request tpo/core/arti!4194
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Starting with rdrand 0.9, the crate supports aarch64.
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
Try pinning nightly to fix internal compiler error.
See merge request tpo/core/arti!4181
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
See #2616
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
(The script will add +nightly unless we override $CARGO.
But using +nightly here will prevent us from pinning the
rust nightly version in our CI.)
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
Upgrade to phf 0.14.0.
See merge request tpo/core/arti!4193
|
| |/ / / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
added Unix Socket support
See merge request tpo/core/arti!4129
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
tor-netdoc: Improve APIs for addr/port policy types
See merge request tpo/core/arti!4141
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/4141#note_3430551
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
"Pattern" is wrong. Everything here is a pattern. This field is
the *address* pattern as opposed to the *ports* pattern.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
impl From<IpNet>, Copy, Hash
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Run cargo-update and fix deprecation warnings
See merge request tpo/core/arti!4187
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
time::format_description::parse is now deprecated;
the replacement we want to use is first available in time 0.3.49.
|