summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Upgrade crypto dependencies.Nick Mathewson2021-01-131-2/+2
|
* Upgrade a few more dependencies.Nick Mathewson2021-01-1312-14/+14
|
* Upgrade a few dependencies.Nick Mathewson2021-01-137-18/+18
|
* Fix some clippy warnings from nightly.Nick Mathewson2021-01-023-5/+11
|
* cargo upgrade.Nick Mathewson2020-12-3015-22/+22
|
* Merge remote-tracking branch 'origin/mr/9' into mainNick Mathewson2020-12-291-9/+18
|\
| * dirmgr: Handle another error in download_mds().George Kadianakis2020-12-231-8/+12
| | | | | | | | Co-authored-by: David Goulet <[email protected]>
| * dirmgr: Handle some errors in download_mds().George Kadianakis2020-12-231-3/+8
| | | | | | | | Co-authored-by: David Goulet <[email protected]>
* | cargo fix --edition-idiomsNick Mathewson2020-12-291-1/+1
| |
* | Cleanup on DirInfo::circ_params.Nick Mathewson2020-12-222-8/+58
| |
* | Implement the "circwindow" and "ExtendByEd25519ID" parametersNick Mathewson2020-12-225-30/+123
| | | | | | | | | | | | These necessitated a little complexity for our circuit creation/extension API; we might want to refactor that down the road.
* | Remove some now unused methods from NetParams.Nick Mathewson2020-12-221-27/+0
| |
* | Expose network parameters more sensibly from NetDir.Nick Mathewson2020-12-225-14/+297
| |
* | Migrate from lazy_static to once_cell.Nick Mathewson2020-12-229-246/+249
| |
* | Use typesystem to enforce limit on socks hostname length.Nick Mathewson2020-12-222-7/+46
| |
* | When a stream read fails, block writes too.Nick Mathewson2020-12-221-13/+10
| | | | | | | | Closes arti#49.
* | Check ipv6 exit policies when trying to connect to an ipv6 port specificallyNick Mathewson2020-12-223-3/+15
| |
* | Basic test for tor-dirclient::utilNick Mathewson2020-12-211-0/+25
|/
* tor-socksproto: a few more testsNick Mathewson2020-12-212-1/+87
|
* upgrade to latest anyhowNick Mathewson2020-12-216-6/+6
|
* Cargo-upgrade a few dependenciesNick Mathewson2020-12-214-6/+6
|
* Add a fuzzer for tor-socksproto.Nick Mathewson2020-12-173-0/+41
|
* socksproto: fuze the handshake object on error.Nick Mathewson2020-12-171-1/+12
| | | | | | Found by fuzzing: without doing this, there are ways to make the SocksHandshake panic. I don't think any of them are reachable from the network assuming this crate is used correctly, but let's be safer.
* Run cargo fmtNick Mathewson2020-12-171-1/+4
|
* Merge branch 'mr_1_squashed' into mainNick Mathewson2020-12-174-4/+47
|\
| * Fixup! issue #34: adding support for xz2owen662020-12-103-14/+16
| |
| * issue #34: adding support for xz2owen662020-12-023-0/+41
| |
* | Simplification: Every relay is in the same family as itself.Nick Mathewson2020-12-172-7/+7
| |
* | Fix a few clippy warningsNick Mathewson2020-12-172-5/+8
| |
* | Merge remote-tracking branch 'origin/mr/8' into mainNick Mathewson2020-12-172-28/+26
|\ \
| * | Handle an error in circuit.rs without crashing.George Kadianakis2020-12-171-1/+4
| | |
| * | Simplify RelayCellBody::recognized() method.George Kadianakis2020-12-171-27/+22
| | | | | | | | | | | | | | | | | | self is no longer mutable. Co-authored-by: David Goulet <[email protected]>
* | | Merge remote-tracking branch 'origin/mr/6' into mainNick Mathewson2020-12-174-3/+45
|\ \ \
| * | | Make sure that a circuit doesn't use relays in the same familyLunar2020-12-164-3/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We implement `Relay::in_same_family` which is in turn used by `ExitPathBuilder::pick_path` to avoid picking relays in the same family. Compared to the original C implementation, we are missing support for options EnforceDistinctSubnets and NodeFamilySets. This has only been very lightly tested so far. Closes: #43
* | | | Merge remote-tracking branch 'origin/mr/7' into mainNick Mathewson2020-12-174-0/+97
|\ \ \ \
| * | | | Adds issue creation templates for bugs, features, proposals and documentation.Gaba2020-12-174-0/+97
| | |/ / | |/| |
* | | | Download and use consensus diffs.Nick Mathewson2020-12-173-18/+104
| | | | | | | | | | | | | | | | | | | | Had to refactor a few methods for database access, and fix a bug where we were storing valid_until times with the wrong information.
* | | | Add a function to see if a document looks like a diff.Nick Mathewson2020-12-171-0/+6
| | | |
* | | | Whoops: add fuzzers code.Nick Mathewson2020-12-173-0/+51
|/ / /
* | | Mention tor-consdiff in list of cratesNick Mathewson2020-12-171-0/+2
| | |
* | | consdiff: disallow usize::MAX as a line number.Nick Mathewson2020-12-171-1/+11
| | | | | | | | | | | | This prevents some overflow cases; found by fuzzing.
* | | Add a fuzzer to tor-consdiffNick Mathewson2020-12-171-8/+20
| | | | | | | | | | | | | | | This fuzzer checks both implementations and makes sure they give the same result.
* | | consdiff: move responsibility for checking sort order into iteratorNick Mathewson2020-12-171-23/+43
| | |
* | | More tests for tor-consdiff.Nick Mathewson2020-12-173-75/+191
| | |
* | | tor-consdiff: document everything.Nick Mathewson2020-12-172-33/+162
| | |
* | | consdiff: use real error messagesNick Mathewson2020-12-172-25/+26
| | |
* | | consdiff: extract Error type to new module.Nick Mathewson2020-12-173-19/+29
| | |
* | | Make the O(n^2) slow diff-apply algorithm off-by-default.Nick Mathewson2020-12-163-0/+9
| | |
* | | Handle the headers on our diff format correctly.Nick Mathewson2020-12-163-17/+77
| | |
* | | Implement the O(n) algorithm for applying diffsNick Mathewson2020-12-162-14/+111
| | |