aboutsummaryrefslogtreecommitdiff
path: root/tor-cell
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-293-22/+22
| | | | This is painful, but we shouldn't have to do it again.
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-292-6/+6
|
* Add a compatibility layer so we can upgrade rand_core.Nick Mathewson2021-03-181-2/+2
| | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible.
* Add appropriate categories to some Cargo.toml files.Nick Mathewson2021-03-171-0/+1
|
* Add the tor project as an author.Nick Mathewson2021-03-171-1/+1
|
* Add keywords to each Cargo.tomlNick Mathewson2021-03-171-0/+1
|
* Add a description field to all our Cargo.toml filesNick Mathewson2021-03-171-0/+1
|
* Give it a homepage everyplace.Nick Mathewson2021-03-171-0/+1
|
* Better management for END cells in streams.Nick Mathewson2021-03-101-0/+25
|
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|
* clippy warning on msg.rsNick Mathewson2021-03-041-8/+5
|
* Change how we sort link specifiers in extend cellsNick Mathewson2021-03-041-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 parsingNick Mathewson2021-03-041-6/+8
|
* Update some dependencies.Nick Mathewson2021-02-191-1/+1
|
* Migrate from futures_codec to asynchronous_codec.Nick Mathewson2021-01-151-2/+1
| | | | | | | | asynchronous_codec is a fork of futures_codec that is up-to-date on its dependencies. This migration allows us to upgrade to the current version of the bytes crate.
* Remove unused futures_codec in tor-cell/fuzzNick Mathewson2021-01-151-1/+0
|
* cargo upgrade.Nick Mathewson2020-12-301-1/+1
|
* Basic support for IPv6 and begin flags.Nick Mathewson2020-12-151-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 Mathewson2020-12-152-6/+33
|
* Remove a couple of stray dbg!() calls.Nick Mathewson2020-11-191-1/+0
|
* Upgrade dependenciesNick Mathewson2020-11-101-1/+1
|
* tor-cell: In netinfo, unspecified addresses are None.Nick Mathewson2020-10-292-11/+18
|
* Add a test for extending a circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* Run "cargo upgrade".Nick Mathewson2020-10-261-0/+1
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-262-2/+0
|
* Improve documentation in tor-cellNick Mathewson2020-10-265-48/+202
|
* Rename CircID and StreamID to end with Id instead, for consistencyNick Mathewson2020-10-255-40/+40
|
* A few coverage-driven tests in tor-cell.Nick Mathewson2020-10-212-2/+58
|
* Specify and test correct handling for bogus netinfo addrsNick Mathewson2020-10-212-7/+29
|
* Rename as_message to into_message.Nick Mathewson2020-10-212-33/+33
| | | | | According to the API guidelines, "as_" is only for borrowed->borrowed conversions.
* Implement From, not Into.Nick Mathewson2020-10-194-13/+12
| | | | | 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-cellNick Mathewson2020-10-191-12/+13
|
* Add assertions for overflow cases in relaycell::msgNick Mathewson2020-10-191-1/+2
|
* Add assertions for overflow cases in chancell::msgNick Mathewson2020-10-191-3/+6
|
* Use DestroyReason for Truncated messages.Nick Mathewson2020-10-192-8/+6
|
* Turn End reasons into a caret enumeration.Nick Mathewson2020-10-192-16/+48
|
* Add relay commands for circuit padding.Nick Mathewson2020-10-191-1/+4
|
* Add an enumeration for destroy reasons.Nick Mathewson2020-10-192-8/+42
|
* Mark must-resolve XXXX issues with "XXXXM3".Nick Mathewson2020-10-183-11/+11
| | | | | | | | | | "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
* Remove a comment about a spec clarificationNick Mathewson2020-10-181-2/+0
| | | | This was fixed as torspec#30
* Run "cargo upgrade".Nick Mathewson2020-10-151-1/+1
|
* Document all the private items in tor-cellNick Mathewson2020-10-096-7/+97
| | | | | 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 moduleNick Mathewson2020-10-092-15/+0
|
* Fix counting rules for circuit-level sendmes.Nick Mathewson2020-10-091-4/+4
|
* Logic error: negate test for sendme cells in counts_towards_windowsNick Mathewson2020-10-091-1/+1
|
* Move RelayCell into a more reasonable place.Nick Mathewson2020-09-294-112/+114
|
* Rename remaining get_ accessorsNick Mathewson2020-09-286-20/+20
|
* A few more unit tests for tor-cellNick Mathewson2020-09-281-0/+26
|
* Fix a few clippy issuesNick Mathewson2020-09-271-4/+1
|