summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src/path
Commit message (Collapse)AuthorAgeFilesLines
* add semicolons if nothing returnedDaniel Eades2021-11-252-2/+2
|
* Fix a few typos.Nick Mathewson2021-11-241-1/+1
| | | | Also fix some commonwealth spellings that had slipped in.
* Flatten enforce_distance into path_rules.Nick Mathewson2021-11-181-8/+8
| | | | Also use the path_rules name consistently throughout the code.
* Disable a check in exitpathNick Mathewson2021-11-021-1/+2
| | | | | This check relies on families being enforced correctly, which is not the case when specifying a fixed exit and using guards. (See #183)
* Allow clone-on-copy in tor-circmgr tests to fix a nightly-only clippy warning.Nick Mathewson2021-11-022-0/+2
|
* tor-circmgr: test ExitPathBuilder with guards.Nick Mathewson2021-11-021-0/+103
|
* tor-circmgr: test DirPathBuilder with GuardMgr.Nick Mathewson2021-11-021-0/+40
|
* tor-circmgr: tests for netwoks with no exitsNick Mathewson2021-11-021-0/+31
|
* Do not blame a guard for failures on non-random circuits.Nick Mathewson2021-10-261-1/+11
| | | | | | | | | We must not apply our new path-bias behavior (where we blame a guard if it gives us too many indeterminate circuit failures) if the path was not chosen at random. If too many random paths fail, we know that's suspicious, since the other relays are a random sample. But if a bunch of user-provided paths fail, that could simply be because the user's chosen exit is down.
* Run "cargo fix --edition-idioms=2018".Nick Mathewson2021-10-221-1/+1
|
* Implement guards for multihop paths.Nick Mathewson2021-10-132-21/+82
| | | | There are some limitations here, as noted in the comments.
* Actually select guards for directory circuits.Nick Mathewson2021-10-131-10/+19
|
* Pass the guard manager down to the path selection functions.Nick Mathewson2021-10-112-9/+22
|
* WIPNick Mathewson2021-10-112-7/+11
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-082-0/+2
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-272-0/+373
This will cause some pain for now, but now is really the best time to do this kind of thing.