aboutsummaryrefslogtreecommitdiff
path: root/tor-cell/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* 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-253-29/+29
|
* Specify and test correct handling for bogus netinfo addrsNick Mathewson2020-10-211-2/+3
|
* 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-191-7/+5
|
* Turn End reasons into a caret enumeration.Nick Mathewson2020-10-191-15/+47
|
* Add relay commands for circuit padding.Nick Mathewson2020-10-191-1/+4
|
* Add an enumeration for destroy reasons.Nick Mathewson2020-10-191-6/+40
|
* 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
* 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-292-110/+112
|
* Rename remaining get_ accessorsNick Mathewson2020-09-284-16/+16
|
* Fix a few clippy issuesNick Mathewson2020-09-271-4/+1
|
* Tests for channel-cell codecNick Mathewson2020-09-271-1/+1
|
* Test a few more channel cell types.Nick Mathewson2020-09-271-0/+41
|
* test ipv6 connected cellNick Mathewson2020-09-271-0/+3
|
* Tests for Unrecognized and Data relay messagesNick Mathewson2020-09-271-0/+9
|
* Add tests for END_REASON_EXITPOLICY messages.Nick Mathewson2020-09-261-0/+8
|
* More tests for begin cells, plus fixesNick Mathewson2020-09-261-3/+25
|
* add a spec conformance commentNick Mathewson2020-09-261-0/+2
|
* Add tests for a few more relay message typesNick Mathewson2020-09-261-20/+61
|
* Add test vectors for a few relay message types.Nick Mathewson2020-09-262-19/+65
| | | | | I generated these by running an instrumented version of Tor through chutney.
* Use the correct value for TAP_C_HANDSHAKE_LENNick Mathewson2020-09-261-1/+1
|
* tor-proto conformance: do not write zero-valued flags in begin cell.Nick Mathewson2020-09-261-1/+3
|
* tor-cell: Add some test vectors for channel messagesNick Mathewson2020-09-261-11/+110
|
* Split the cell-handling parts of tor-proto into a new crate.Nick Mathewson2020-09-267-0/+2199