| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 1 | -1/+1 |
| | | |||||
| * | Resolve clippy warnings from Rust 1.52. | Nick Mathewson | 2021-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them. | ||||
| * | Use s.parse(), not u16::from_str_radix(s,10) | Nick Mathewson | 2021-05-07 | 1 | -1/+1 |
| | | | | | | | | Clippy started warning on this with Rust 1.52. I'm fairly sure that when I wrote this code I was worried that <u16 as FromStr>::parse() might allow hex or something. But fortunately, it doesn't work that way, so I don't need to be paranoid here. | ||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 1 | -0/+3 |
| | | | | | | | | | 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). | ||||
| * | Fix Rust-1.51 clippy warnings about acronyms in camel case. | Nick Mathewson | 2021-03-29 | 1 | -6/+6 |
| | | | | | This is painful, but we shouldn't have to do it again. | ||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 1 | -3/+3 |
| | | |||||
| * | Better management for END cells in streams. | Nick Mathewson | 2021-03-10 | 1 | -0/+25 |
| | | |||||
| * | clippy warning on msg.rs | Nick Mathewson | 2021-03-04 | 1 | -8/+5 |
| | | |||||
| * | Change how we sort link specifiers in extend cells | Nick Mathewson | 2021-03-04 | 1 | -1/+1 |
| | | | | | | Instead of implementing a dubious PartialOrd for link spec, add a sorting function and call that explicitly. | ||||
| * | Avoid an is_some()/unwrap() pair in End cell parsing | Nick Mathewson | 2021-03-04 | 1 | -6/+8 |
| | | |||||
| * | Basic support for IPv6 and begin flags. | Nick Mathewson | 2020-12-15 | 1 | -0/+30 |
| | | | | | | | We now have a way to tell a circuitmgr whether we require ipv4/ipv6 support for a target address in an exit policy, and we use similar logic to set begin flags. | ||||
| * | Use a set of named flags for BeginFlags in tor-cell. | Nick Mathewson | 2020-12-15 | 1 | -6/+32 |
| | | |||||
| * | Add a test for extending a circuit with ntor. | Nick Mathewson | 2020-10-27 | 1 | -0/+10 |
| | | |||||
| * | Remove a bunch of dbg! calls. | Nick Mathewson | 2020-10-26 | 1 | -1/+0 |
| | | |||||
| * | Improve documentation in tor-cell | Nick Mathewson | 2020-10-26 | 1 | -13/+90 |
| | | |||||
| * | Rename as_message to into_message. | Nick Mathewson | 2020-10-21 | 1 | -15/+15 |
| | | | | | | According to the API guidelines, "as_" is only for borrowed->borrowed conversions. | ||||
| * | Implement From, not Into. | Nick Mathewson | 2020-10-19 | 1 | -3/+3 |
| | | | | | | These traits are inverses of one another, but implementing From is always preferred since rust 1.41 relaxed the "orphan rules". | ||||
| * | Resolve remaining XXXXM3 stuff in tor-cell | Nick Mathewson | 2020-10-19 | 1 | -12/+13 |
| | | |||||
| * | Add assertions for overflow cases in relaycell::msg | Nick Mathewson | 2020-10-19 | 1 | -1/+2 |
| | | |||||
| * | Use DestroyReason for Truncated messages. | Nick Mathewson | 2020-10-19 | 1 | -7/+5 |
| | | |||||
| * | Turn End reasons into a caret enumeration. | Nick Mathewson | 2020-10-19 | 1 | -15/+47 |
| | | |||||
| * | Mark must-resolve XXXX issues with "XXXXM3". | Nick Mathewson | 2020-10-18 | 1 | -6/+6 |
| | | | | | | | | | | | "M3" is for "milestone 3" -- my target to fix the technical debt that I think will be bad if we ship even a pre-alpha with it. These aren't necessarily _all_ must-resolve, but they're all must-look-at. Closes #15 | ||||
| * | Document all the private items in tor-cell | Nick Mathewson | 2020-10-09 | 1 | -2/+38 |
| | | | | | | Also, change the type of the authentication challenge to be an array; it isn't in fact variable-length. | ||||
| * | Move counts_towards_windows() code into circuit module | Nick Mathewson | 2020-10-09 | 1 | -7/+0 |
| | | |||||
| * | Logic error: negate test for sendme cells in counts_towards_windows | Nick Mathewson | 2020-10-09 | 1 | -1/+1 |
| | | |||||
| * | Move RelayCell into a more reasonable place. | Nick Mathewson | 2020-09-29 | 1 | -109/+1 |
| | | |||||
| * | Rename remaining get_ accessors | Nick Mathewson | 2020-09-28 | 1 | -7/+7 |
| | | |||||
| * | Fix a few clippy issues | Nick Mathewson | 2020-09-27 | 1 | -4/+1 |
| | | |||||
| * | test ipv6 connected cell | Nick Mathewson | 2020-09-27 | 1 | -0/+3 |
| | | |||||
| * | Tests for Unrecognized and Data relay messages | Nick Mathewson | 2020-09-27 | 1 | -0/+9 |
| | | |||||
| * | Add tests for END_REASON_EXITPOLICY messages. | Nick Mathewson | 2020-09-26 | 1 | -0/+8 |
| | | |||||
| * | More tests for begin cells, plus fixes | Nick Mathewson | 2020-09-26 | 1 | -3/+25 |
| | | |||||
| * | add a spec conformance comment | Nick Mathewson | 2020-09-26 | 1 | -0/+2 |
| | | |||||
| * | Add tests for a few more relay message types | Nick Mathewson | 2020-09-26 | 1 | -20/+61 |
| | | |||||
| * | Add test vectors for a few relay message types. | Nick Mathewson | 2020-09-26 | 1 | -19/+63 |
| | | | | | | I generated these by running an instrumented version of Tor through chutney. | ||||
| * | tor-proto conformance: do not write zero-valued flags in begin cell. | Nick Mathewson | 2020-09-26 | 1 | -1/+3 |
| | | |||||
| * | Split the cell-handling parts of tor-proto into a new crate. | Nick Mathewson | 2020-09-26 | 1 | -0/+859 |
