summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a round-trip test for cell encryption.Nick Mathewson2020-09-281-0/+74
|
* tor-cert: comment out cert-generation codeNick Mathewson2020-09-281-25/+37
| | | | This won't be used until we have onion service or relay support.
* Rename remaining get_ accessorsNick Mathewson2020-09-2822-209/+196
|
* tor_cert: rename accessorsNick Mathewson2020-09-287-28/+28
|
* Tests for CircTarget::linkspecs()Nick Mathewson2020-09-281-0/+89
|
* Rename some identifiers in tor-linkspec.Nick Mathewson2020-09-286-33/+33
| | | | By convention, rust accessor functions don't start with 'get'.
* Rename ExtendTarget to CircTarget.Nick Mathewson2020-09-284-6/+6
|
* Rewrite the TODO file.Nick Mathewson2020-09-281-67/+49
|
* Tests for tor-certNick Mathewson2020-09-282-0/+101
|
* A few more unit tests for tor-cellNick Mathewson2020-09-281-0/+26
|
* Fix a few clippy issuesNick Mathewson2020-09-274-9/+8
|
* fix fuzzing targets that broke from recent refactoringNick Mathewson2020-09-272-4/+3
|
* Tests for relay cell encoding/decoding.Nick Mathewson2020-09-271-0/+62
|
* Tests for channel-cell codecNick Mathewson2020-09-272-1/+137
|
* Add tests for certs cell accessorsNick Mathewson2020-09-271-2/+11
|
* Test a few more channel cell types.Nick Mathewson2020-09-272-4/+112
|
* test ipv6 connected cellNick Mathewson2020-09-272-0/+11
|
* Tests for Unrecognized and Data relay messagesNick Mathewson2020-09-272-0/+46
|
* Add tests for END_REASON_EXITPOLICY messages.Nick Mathewson2020-09-262-1/+21
|
* More tests for begin cells, plus fixesNick Mathewson2020-09-262-4/+39
|
* add a spec conformance commentNick Mathewson2020-09-261-0/+2
|
* Fix some comments that reflected a misunderstanding in SENDMEsNick Mathewson2020-09-262-3/+3
| | | | | I had thought that the sendme authentication things used for onion services were 32-byte; they're still only 20.
* Add tests for a few more relay message typesNick Mathewson2020-09-262-24/+152
|
* Add test vectors for a few relay message types.Nick Mathewson2020-09-265-26/+297
| | | | | 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-263-12/+355
|
* Run cargo upgrade.Nick Mathewson2020-09-263-3/+3
|
* update fuzzing cfg for tor-cell crateNick Mathewson2020-09-261-2/+2
|
* Split the cell-handling parts of tor-proto into a new crate.Nick Mathewson2020-09-2627-79/+190
|
* readme editsNick Mathewson2020-09-261-8/+10
|
* Make sendme authentication optional.Nick Mathewson2020-09-255-16/+44
| | | | | | | This code deviates from current tor in that it allows missing sendme authentications only when we know we're talking to an old relay, or when we don't know the version of the relay we're talking to.
* Lower our "#[allow(dead_code)]" decl in tor_proto."Nick Mathewson2020-09-257-1/+6
|
* Update TODO and README.Nick Mathewson2020-09-252-4/+14
|
* Improve documentation and lightly refactor SENDME codeNick Mathewson2020-09-255-49/+119
|
* Add new (disabled) demo pieces to client-demoNick Mathewson2020-09-251-15/+53
|
* Implement authenticated sendme output for circuit-level sendmes.Nick Mathewson2020-09-253-6/+44
| | | | This patch has a XXXXX kludge note in it.
* Add a bad workaround for a deadlock: we should look for a better one.Nick Mathewson2020-09-252-4/+14
|
* Fix encoding/decoding of authenticated sendme.Nick Mathewson2020-09-251-4/+22
|
* Try to get sendme crypto workingNick Mathewson2020-09-253-27/+62
| | | | | | | | There's a problem, though: this code assumes that tags are 20 bytes long whereas actually the tag type is part of the crypto layer info. So maybe in the long term we need to move the queue of tags from the send window into being part of the crypto layers.
* Incomplete implementation of circuit SENDME handling.Nick Mathewson2020-09-255-26/+86
| | | | | | This is incomplete because the cell crypto code doesn't actually expose tags yet, and because it demands tags unconditionally, without caring about the linkspec protocol version.
* Attempted implementation of stream sendme cellsNick Mathewson2020-09-256-26/+100
|
* Initial work on a sendme backend.Nick Mathewson2020-09-252-0/+152
| | | | | Parameterized for authenticated/unauthenticated operation, and operation on circuits and streams.
* Initial error cleanup on streams/circuitsNick Mathewson2020-09-254-20/+36
|
* Document private members in most cratesNick Mathewson2020-09-2421-11/+121
|
* Migrate ClientMain to byte-oriented API.Nick Mathewson2020-09-243-32/+36
|
* Try to make a send/receive style API for streams.Nick Mathewson2020-09-244-5/+136
|
* Add support for RELAY_END cells.Nick Mathewson2020-09-246-21/+171
| | | | | | | | | | | | | | | | | | | | This was a hard one. I need to make sure that we send an END cell when the stream is dropped. But we can't call an .await from inside the drop() function, since drop() isn't async, and we don't have an executor. Fortunately, you can call send() on a oneshot::Sender without having to await on it, so that's the obvious thing to put in drop(). But we need some way to make sure that the oneshot::Receiver is given to the reactor, and is .awaited. For that, we needed a control channel. And the reactor needs to treat the control channel and the close messages as equally important. So that's how I wound up with a Fuse<Select<mpsc::Receiver<Result<Foo>>, SelectAll<Once<oneshot::Receiver<Foo>>>>>. I doubt that this is actually the best way to handle any of this!
* as Tor does, skip to random initial stream member.Nick Mathewson2020-09-231-1/+6
|
* Fuse input streams on creation.Nick Mathewson2020-09-232-10/+8
|