| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Based on more temporary debugging code. Yet another part of #677.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are also based on temporary logs that I added locally while I
was hunting bugs.
Also part of #677.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is based on logs that I added locally while I was trying to
debug some startup issues. Hopefully they'll make things easier the
next time there's something to debug.
Part of #677.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-linkspec: Fix an unused lint
See merge request tpo/core/arti!935
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise:
cargo +stable clippy -p tor-proto --all-features --all-targets
Produces:
warning: unused import: `PtTargetAddr`
--> crates/tor-linkspec/src/traits.rs:9:28
|
9 | use crate::{ChannelMethod, PtTargetAddr, RelayIdRef, RelayIdType, RelayIdTypeIter};
| ^^^^^^^^^^^^
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add test lint blocks to all "mod test"
See merge request tpo/core/arti!937
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is the hunks from running the rune in maint/adhoc-add-lint-blocks
but which require some subsequent manual fixup: usually, deleting
now-superfluous outer allows, but in some cases manually putting back
lints that the adhoc script deleted.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
The previous syntax was recognised by the real script, but not by the
ad-hoc script I'm about to use to add all the missing ones.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rs
Closes #589
See merge request tpo/core/arti!944
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Closes #589
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
resolve ip through socks by parsing them
Closes #714
See merge request tpo/core/arti!957
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
Add a new "CtByteArray" type, and use it in Id types.
See merge request tpo/core/arti!962
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This type provides a common implementation for types that are
implemented as arrays of bytes that should only be compared
with constant-time comparisons.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use parse_rfc3339() in the tor-rtmock crate
See merge request tpo/core/arti!943
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use parse_rfc3339() in the tor-proto crate
See merge request tpo/core/arti!942
|
| | |/ / / / |
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Use parse_rfc3339() in the tor-netdoc crate
See merge request tpo/core/arti!941
|
| | |/ / / |
|
| | |/ /
|/| |
| | |
| | |
| | | |
This commit introduces a consistency to the summary line of all
README.md files in each and every crate.
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
Error logging (ErrorReport, .report()) POC
See merge request tpo/core/arti!936
|
| | | | |
|
| | | |
| | |
| | |
| | | |
To demonstrate what the use looks like.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
The std::error::Error repetition was getting rather repetitively
repetitious, and is about to get more so.
|
| | |/
| |
| |
| |
| |
| |
| | |
In tests, debug fmt is usually appropriate.
Found while looking for a candidate for
https://gitlab.torproject.org/tpo/core/arti/-/issues/680
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
| |
By analogy with similar methods on Mutex, Cell, BufReader, etc. etc.
Discussed here
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/890#note_2856885
Make it a method, as per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/928
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
tor-config: Document how to reject compiled-out features
Closes #654
See merge request tpo/core/arti!929
|
| | |
| |
| |
| | |
Fixes #654
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
tor-config: Update to shellexpand 3.x
See merge request tpo/core/arti!927
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the new upstream version (published by me, recently).
It has the same MSRV and one breaking change:
The caller who specifies a home dir function for substituting into
strings, must now supply a string, not Path. Previously shellexpand
would allow the caller to supply non-unicode data, and then simply not
substitute it. That was an infelicity in the shellexpand API.
Now this infelicity is pushed into our code. The overall behaviour of
Arti hasn't changed as a result. And it seems reasonable to me.
shellexpand 3.x also has a module for expanding Paths instead, in
response to requests for this filed as upstream tickets. We *could*
use that but I am not sanguine about that approach: the Pathness would
spread throughout much of our config and file handling code.
I think we should at the very least postpone trying to work with
invalid-unicode-paths as long as we can.
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | | |
A few spelling fixes for bridgedescmgr code
See merge request tpo/core/arti!925
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Test a couple more error cases in tor-persist, and lightly refactor
See merge request tpo/core/arti!930
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
More unit tests for safelog crate
See merge request tpo/core/arti!928
|
| | | | | |
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
dirauth: Remove Faravahar
See merge request tpo/core/arti!924
|