Commit Graph

40 Commits

Author SHA1 Message Date
rls c813eb1a10 Add symlinks to arti-corpora 2021-08-04 15:52:24 -04:00
Nick Mathewson 9c8dcecf20 socksproto: Allow port 0 for RESOLVE and RESOLVE_PTR. 2021-07-27 13:48:24 -04:00
Daniel Eades d23256074e address a bunch of hopefully uncontroversial lints 2021-07-20 22:59:59 +01:00
Trinity Pointard dfd8adbb25 implement isolation in arti
rules are not configurable, but similar to default rules for Tor
(isolate by client addr, by listening port and by authentication if any)
2021-07-13 17:34:20 +02:00
Nick Mathewson 1c21295d19 Merge remote-tracking branch 'origin/mr/34' 2021-06-27 14:30:49 -04:00
Nick Mathewson 38db8cb551 Add version="0.0.0" to dependencies that were missing it 2021-06-24 09:47:48 -04:00
Nick Mathewson b774360755 Remove "publish = false" 2021-06-24 07:04:26 -04:00
YUAN LYU 92dbf20a76 Add clippy warn needless pass by value 2021-06-21 23:27:19 -04:00
YUAN LYU b830e81b7f Add clippy warn needless borrow 2021-06-21 21:34:40 -04:00
Nick Mathewson 2102d2e2b5 Add noop_method_call warning.
This would have saved ahf and me a lot of confusion in debugging a
situation where we were cloning a reference of a type that didn't
implement Clone.
2021-05-27 14:32:29 -04:00
Nick Mathewson 745c90e92c Enable cargo_common_metadata warning. 2021-05-25 15:42:47 -04:00
Nick Mathewson cf59e9be77 Add automatically generated README.md files to each crate. 2021-05-25 15:41:23 -04:00
Nick Mathewson 696202217b Add a link tto the tor website to arti blurb. 2021-05-24 08:44:04 -04:00
Nick Mathewson bcb26da1df Improve crate documentation for tor-retry and tor-socksproto 2021-05-24 08:38:18 -04:00
Nick Mathewson ce6702a147 Give every Cargo.toml a repository field 2021-05-19 14:56:09 -04:00
Nick Mathewson 411e1b35e0 Add the "unreachable_pub" lint.
This is a somewhat obnoxious change in its scope and requirements,
but it makes it easier to understand what the real public and
private parts of our APIs are.
2021-05-18 13:45:39 -04:00
Nick Mathewson 8eb36cbfff Add trait_duplication_in_bounds warning. 2021-05-03 16:30:27 -04:00
Nick Mathewson d516298b47 Add unseparated_literal_suffix lint, and fix it. 2021-05-03 16:19:01 -04:00
Nick Mathewson 9737580402 Add a few more clippy warnings 2021-05-03 16:10:39 -04:00
Nick Mathewson 94c93c9121 Add some more clippy warnings to our list. 2021-04-27 14:51:04 -04:00
Nick Mathewson 2e3780affb Enforce (and obey) clippy lints about exhaustive enums, structs.
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).
2021-04-27 14:17:49 -04:00
Nick Mathewson a4e0dde4da Add appropriate categories to some Cargo.toml files. 2021-03-17 14:51:18 -04:00
Nick Mathewson 6daf57957d Add the tor project as an author. 2021-03-17 14:43:40 -04:00
Nick Mathewson ba14d43be4 Add keywords to each Cargo.toml 2021-03-17 14:41:02 -04:00
Nick Mathewson c8481a9354 Add a description field to all our Cargo.toml files 2021-03-17 14:31:59 -04:00
Nick Mathewson 58d8472ea0 Give it a homepage everyplace. 2021-03-17 14:13:26 -04:00
Nick Mathewson ab9d4a2229 Update some dependencies. 2021-02-19 09:39:23 -05:00
Nick Mathewson f01d641ec8 cargo upgrade. 2020-12-30 15:59:33 -05:00
Nick Mathewson 9341cde18c Use typesystem to enforce limit on socks hostname length. 2020-12-22 09:57:32 -05:00
Nick Mathewson 216348a06e tor-socksproto: a few more tests 2020-12-21 10:47:45 -05:00
Nick Mathewson 1a1ff2a45a Add a fuzzer for tor-socksproto. 2020-12-17 17:09:52 -05:00
Nick Mathewson 9680a99205 socksproto: fuze the handshake object on error.
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.
2020-12-17 17:05:50 -05:00
Nick Mathewson a1f1dac4eb Resolve a few nightly-only clippy issues 2020-12-07 16:14:36 -05:00
Nick Mathewson a52585d9d6 Mark some XXXX issues as XXXX-A1. 2020-12-07 16:07:59 -05:00
Nick Mathewson 01de0cafc5 Run cargo fix --edition-idioms 2020-12-02 15:14:29 -05:00
Nick Mathewson 7ecfa4c863 Remove a couple of stray dbg!() calls. 2020-11-19 19:23:34 -05:00
Nick Mathewson 4d24fff9c0 Upgrade dependencies 2020-11-10 12:27:10 -05:00
Nick Mathewson 44cbe2f89b Add some tor-sockproto tests 2020-11-05 11:20:49 -05:00
Nick Mathewson fee895b33a Document tor-socksproto 2020-11-04 16:15:49 -05:00
Nick Mathewson 2e1f510225 rename tor_socks -> tor_socksproto. 2020-11-04 15:01:25 -05:00