summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename CircIDRange to CircIdRangeNick Mathewson2020-10-272-10/+10
|
* Run "cargo upgrade".Nick Mathewson2020-10-267-12/+15
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-267-10/+5
|
* Use event_listener to find out about sendme replenishment.Nick Mathewson2020-10-262-30/+12
| | | | | Previously we would fail if a sendme window was exhausted and two tasks were waiting for it to be replenished at the same time.
* Resolve a bunch of XXXM3 comments in tor-proto.Nick Mathewson2020-10-266-78/+81
|
* Improve documentation in tor-protoNick Mathewson2020-10-267-36/+112
|
* More documentation in tor-netdoc.Nick Mathewson2020-10-2610-3/+126
|
* Improve documentation in tor-cellNick Mathewson2020-10-265-48/+202
|
* rudimentary test for channelbuilder.Nick Mathewson2020-10-261-1/+10
|
* Tests for sending bad/good cell types on a channelNick Mathewson2020-10-262-7/+42
|
* Clean up some XXXXs in channel::reactor.rsNick Mathewson2020-10-261-7/+3
|
* Tests for receving incoming DESTROY cell.Nick Mathewson2020-10-261-0/+58
|
* channel::reactor: Tests for handling incoming RELAY cellsNick Mathewson2020-10-262-1/+88
|
* Test for rejecting CREATED cellsNick Mathewson2020-10-261-1/+16
|
* Add a CircEnt::DestroySent circuit state.Nick Mathewson2020-10-264-12/+60
| | | | | | | A circuit enters DestroySent after it's sent a DESTROY cell. We use this state to make sure that we don't receive too many cells on a destroyed circuit, _and_ so that we don't block such cells completely.
* Use better return type in advance_from_openingNick Mathewson2020-10-252-23/+23
|
* Use from_bytes name for Ed25519IdentityNick Mathewson2020-10-254-8/+7
|
* Rename CircID and StreamID to end with Id instead, for consistencyNick Mathewson2020-10-2512-87/+87
|
* Add some tests for channel reactor and related code.Nick Mathewson2020-10-254-0/+155
|
* Add a test for running and shutting down reactors.Nick Mathewson2020-10-251-1/+80
| | | | | This took a long time since I needed to learn about futures and executors, but I think it'll work out okay.
* channel: Refactor the point when we split the framed codec.Nick Mathewson2020-10-254-21/+31
| | | | | | We used to do this during creating the channel in Channel::new, but now we do it one step before, so that it's easier to construct channels for testing.
* channel: Move looping part of run_impl() into run().Nick Mathewson2020-10-251-27/+51
| | | | | This lets us turn run-impl() into a run_once() function for easier testing.
* Move cell logging into ChannelImplNick Mathewson2020-10-231-12/+11
|
* circuit: Remove the needlessly separated ReactorCore type.Nick Mathewson2020-10-231-29/+16
|
* channel: Remove the needlessly separated ReactorCore type.Nick Mathewson2020-10-231-21/+10
|
* Test for finish-handshake functionNick Mathewson2020-10-232-0/+24
|
* handshake: tests for invalid signaturesNick Mathewson2020-10-231-1/+49
|
* Add tests for handshakes certifying the wrong thingNick Mathewson2020-10-231-0/+53
|
* Tests for handshakes with missing certsNick Mathewson2020-10-232-11/+62
| | | | Also handle tor_cell::Error::ChanProto better.
* Use an enum for the return value of StreamMap::terminateNick Mathewson2020-10-222-8/+25
|
* Initial tests for tor_proto::circuit::streammapNick Mathewson2020-10-221-0/+51
|
* Tests for tor_proto::circuit::halfstreamNick Mathewson2020-10-221-1/+79
|
* tor-proto: Add tests for circuit::sendmeNick Mathewson2020-10-221-4/+134
|
* Add tests for tor_proto::circuit::celltypesNick Mathewson2020-10-211-0/+43
|
* Test a trivial succeeding case of link cert validationNick Mathewson2020-10-211-12/+72
|
* Fix a security issue (!) in link handshake validation.Nick Mathewson2020-10-211-1/+1
| | | | | | | | When making sure that the peer had the right RSA identity, we were comparing the RSA identity with itself, not with the RSA identity we expected. Found via unit testing (!).
* Fix comments in tor-cert.Nick Mathewson2020-10-211-2/+5
|
* Infrastructure for testing handshake cert-validation codeNick Mathewson2020-10-212-1/+70
|
* More tests for handshake connect functionNick Mathewson2020-10-211-26/+136
|
* Start a basic test for the first part of the handshake.Nick Mathewson2020-10-211-0/+45
|
* LogId test: tolerate concurrent tests.Nick Mathewson2020-10-211-11/+8
|
* Start on some tests for pieces of tor-proto::channelNick Mathewson2020-10-214-0/+226
|
* 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
|
* Add a fuzzer for our x509_rsa_kludge function.Nick Mathewson2020-10-213-0/+37
|
* Ed25519 batch verification test.Nick Mathewson2020-10-211-1/+39
|
* More tests for ed25519identityNick Mathewson2020-10-212-2/+48
|
* Add a test for Reader::advanceNick Mathewson2020-10-211-0/+11
|
* Follow API convention about mutable getters.Nick Mathewson2020-10-212-8/+8
| | | | They're supposed to be called field_mut().
* Rename as_message to into_message.Nick Mathewson2020-10-213-34/+34
| | | | | According to the API guidelines, "as_" is only for borrowed->borrowed conversions.