| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Tests for sending bad/good cell types on a channel | Nick Mathewson | 2020-10-26 | 2 | -7/+42 | |
| | | ||||||
| * | Clean up some XXXXs in channel::reactor.rs | Nick Mathewson | 2020-10-26 | 1 | -7/+3 | |
| | | ||||||
| * | Tests for receving incoming DESTROY cell. | Nick Mathewson | 2020-10-26 | 1 | -0/+58 | |
| | | ||||||
| * | channel::reactor: Tests for handling incoming RELAY cells | Nick Mathewson | 2020-10-26 | 2 | -1/+88 | |
| | | ||||||
| * | Test for rejecting CREATED cells | Nick Mathewson | 2020-10-26 | 1 | -1/+16 | |
| | | ||||||
| * | Add a CircEnt::DestroySent circuit state. | Nick Mathewson | 2020-10-26 | 4 | -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_opening | Nick Mathewson | 2020-10-25 | 2 | -23/+23 | |
| | | ||||||
| * | Use from_bytes name for Ed25519Identity | Nick Mathewson | 2020-10-25 | 4 | -8/+7 | |
| | | ||||||
| * | Rename CircID and StreamID to end with Id instead, for consistency | Nick Mathewson | 2020-10-25 | 12 | -87/+87 | |
| | | ||||||
| * | Add some tests for channel reactor and related code. | Nick Mathewson | 2020-10-25 | 4 | -0/+155 | |
| | | ||||||
| * | Add a test for running and shutting down reactors. | Nick Mathewson | 2020-10-25 | 1 | -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 Mathewson | 2020-10-25 | 4 | -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 Mathewson | 2020-10-25 | 1 | -27/+51 | |
| | | | | | | This lets us turn run-impl() into a run_once() function for easier testing. | |||||
| * | Move cell logging into ChannelImpl | Nick Mathewson | 2020-10-23 | 1 | -12/+11 | |
| | | ||||||
| * | circuit: Remove the needlessly separated ReactorCore type. | Nick Mathewson | 2020-10-23 | 1 | -29/+16 | |
| | | ||||||
| * | channel: Remove the needlessly separated ReactorCore type. | Nick Mathewson | 2020-10-23 | 1 | -21/+10 | |
| | | ||||||
| * | Test for finish-handshake function | Nick Mathewson | 2020-10-23 | 2 | -0/+24 | |
| | | ||||||
| * | handshake: tests for invalid signatures | Nick Mathewson | 2020-10-23 | 1 | -1/+49 | |
| | | ||||||
| * | Add tests for handshakes certifying the wrong thing | Nick Mathewson | 2020-10-23 | 1 | -0/+53 | |
| | | ||||||
| * | Tests for handshakes with missing certs | Nick Mathewson | 2020-10-23 | 2 | -11/+62 | |
| | | | | | Also handle tor_cell::Error::ChanProto better. | |||||
| * | Use an enum for the return value of StreamMap::terminate | Nick Mathewson | 2020-10-22 | 2 | -8/+25 | |
| | | ||||||
| * | Initial tests for tor_proto::circuit::streammap | Nick Mathewson | 2020-10-22 | 1 | -0/+51 | |
| | | ||||||
| * | Tests for tor_proto::circuit::halfstream | Nick Mathewson | 2020-10-22 | 1 | -1/+79 | |
| | | ||||||
| * | tor-proto: Add tests for circuit::sendme | Nick Mathewson | 2020-10-22 | 1 | -4/+134 | |
| | | ||||||
| * | Add tests for tor_proto::circuit::celltypes | Nick Mathewson | 2020-10-21 | 1 | -0/+43 | |
| | | ||||||
| * | Test a trivial succeeding case of link cert validation | Nick Mathewson | 2020-10-21 | 1 | -12/+72 | |
| | | ||||||
| * | Fix a security issue (!) in link handshake validation. | Nick Mathewson | 2020-10-21 | 1 | -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 Mathewson | 2020-10-21 | 1 | -2/+5 | |
| | | ||||||
| * | Infrastructure for testing handshake cert-validation code | Nick Mathewson | 2020-10-21 | 2 | -1/+70 | |
| | | ||||||
| * | More tests for handshake connect function | Nick Mathewson | 2020-10-21 | 1 | -26/+136 | |
| | | ||||||
| * | Start a basic test for the first part of the handshake. | Nick Mathewson | 2020-10-21 | 1 | -0/+45 | |
| | | ||||||
| * | LogId test: tolerate concurrent tests. | Nick Mathewson | 2020-10-21 | 1 | -11/+8 | |
| | | ||||||
| * | Start on some tests for pieces of tor-proto::channel | Nick Mathewson | 2020-10-21 | 4 | -0/+226 | |
| | | ||||||
| * | A few coverage-driven tests in tor-cell. | Nick Mathewson | 2020-10-21 | 2 | -2/+58 | |
| | | ||||||
| * | Specify and test correct handling for bogus netinfo addrs | Nick Mathewson | 2020-10-21 | 2 | -7/+29 | |
| | | ||||||
| * | Add a fuzzer for our x509_rsa_kludge function. | Nick Mathewson | 2020-10-21 | 3 | -0/+37 | |
| | | ||||||
| * | Ed25519 batch verification test. | Nick Mathewson | 2020-10-21 | 1 | -1/+39 | |
| | | ||||||
| * | More tests for ed25519identity | Nick Mathewson | 2020-10-21 | 2 | -2/+48 | |
| | | ||||||
| * | Add a test for Reader::advance | Nick Mathewson | 2020-10-21 | 1 | -0/+11 | |
| | | ||||||
| * | Follow API convention about mutable getters. | Nick Mathewson | 2020-10-21 | 2 | -8/+8 | |
| | | | | | They're supposed to be called field_mut(). | |||||
| * | Rename as_message to into_message. | Nick Mathewson | 2020-10-21 | 3 | -34/+34 | |
| | | | | | | According to the API guidelines, "as_" is only for borrowed->borrowed conversions. | |||||
| * | Add a close() method for streams | Nick Mathewson | 2020-10-20 | 1 | -0/+8 | |
| | | ||||||
| * | Add new `terminate()` method to circuits and channels. | Nick Mathewson | 2020-10-20 | 3 | -6/+48 | |
| | | | | | | | | | These aren't called "close" because they're more destructive than that: they can be called even if other parties are using the circuit or channel. This is for arti#21. | |||||
| * | Missing file and docs | Nick Mathewson | 2020-10-20 | 3 | -6/+45 | |
| | | ||||||
| * | Add a TODO for register_meta_handler API | Nick Mathewson | 2020-10-20 | 1 | -0/+3 | |
| | | ||||||
| * | Work on closing flooding-based side-channels | Nick Mathewson | 2020-10-20 | 2 | -17/+28 | |
| | | | | | | We need to make sure that we're dropping cells that we don't recognize or want, so that we can't be flooded with bogus junk. | |||||
| * | Add some helpful logs in circuit code. | Nick Mathewson | 2020-10-20 | 5 | -17/+101 | |
| | | ||||||
| * | main.rs: Add a flag for trace-level logs | Nick Mathewson | 2020-10-20 | 1 | -2/+10 | |
| | | ||||||
| * | Add reasonable logging (I hope!) to channel | Nick Mathewson | 2020-10-20 | 5 | -43/+221 | |
| | | ||||||
| * | Test new error type from caret | Nick Mathewson | 2020-10-19 | 2 | -2/+14 | |
| | | ||||||
