summaryrefslogtreecommitdiff
path: root/crates/tor-socksproto/src/msg.rs
Commit message (Collapse)AuthorAgeFilesLines
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* socksproto: Add unspecified but documented socks5 extension codesNick Mathewson2023-06-221-0/+8
|
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
| | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
* Prop304: Add extended SOCKS result codes for onion servicesNeel Chauhan2023-01-181-0/+12
|
* test lint blocks: Add many many automaticallyIan Jackson2022-12-121-0/+8
| | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks.
* socksproto: Make a method conditional.Nick Mathewson2022-10-201-0/+1
|
* Make some things precisely conditionalIan Jackson2022-10-111-1/+6
| | | | | | | I think this is quite an inconvenient way to be carrying on. Maybe we should disable all dead code warnings unless all features are also enabled, and just let the compiler get rid of unused stuff later.
* Require no NUL in socks hostname.Nick Mathewson2022-10-031-0/+6
|
* Add a SocksReply type to capture address/port information.Nick Mathewson2022-10-031-0/+42
| | | | | I don't expect us to need this information much, but we may as well hang on to it.
* Make sure that socks4 auth doesn't have any 0 bytes.Nick Mathewson2022-10-031-16/+44
| | | | | Try to do it in constant time, to avoid even the smell of side-channel attacks.
* Tests for socks client handshake.Nick Mathewson2022-10-031-0/+1
| | | | | | These tests include a few reference cases, as well as a little framework to make sure that the client and the proxy implementation will handshake with one another successfully.
* Fuzzer code for socks client implementation.Nick Mathewson2022-10-031-1/+50
|
* Implement client-side SOCKS handshakeNick Mathewson2022-09-281-0/+9
|
* Make "SocksRequest::new" public.Nick Mathewson2022-09-271-1/+17
| | | | Also, have it enforce more correctness properties.
* tor-socksproto: Style and info fixes in errors.Nick Mathewson2022-06-221-2/+4
| | | | | (The use of Cow<> in the error message isn't strictly necessary here, but it's a pattern I want to encourage.)
* squash! Bump every crate's edition to 2021.Nick Mathewson2022-04-251-2/+0
| | | | | Remove all `use` statements for `TryFrom` and `TryInto`. These are now redundant in Rust 2021.
* socksproto: remove some unused accessors.Nick Mathewson2022-04-021-15/+0
|
* tor-socksproto: Use bad_api_usage! rather than ad-hoc Invalid errorIan Jackson2022-02-151-1/+3
|
* ErrorKind::NotImplemented: fix two testsIan Jackson2022-02-141-1/+1
|
* Split up ErrorKind::NoSupportIan Jackson2022-02-141-1/+1
|
* socksproto: fix one more error type.Nick Mathewson2022-02-111-1/+1
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-0/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+311
This will cause some pain for now, but now is really the best time to do this kind of thing.