summaryrefslogtreecommitdiff
path: root/tor-socksproto/src/handshake.rs
Commit message (Collapse)AuthorAgeFilesLines
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+1
| | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change).
* Use typesystem to enforce limit on socks hostname length.Nick Mathewson2020-12-221-3/+13
|
* tor-socksproto: a few more testsNick Mathewson2020-12-211-0/+37
|
* 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.
* Mark some XXXX issues as XXXX-A1.Nick Mathewson2020-12-071-1/+1
|
* Remove a couple of stray dbg!() calls.Nick Mathewson2020-11-191-1/+0
|
* Add some tor-sockproto testsNick Mathewson2020-11-051-0/+177
|
* Document tor-socksprotoNick Mathewson2020-11-041-0/+53
|
* rename tor_socks -> tor_socksproto.Nick Mathewson2020-11-041-0/+271