summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Add a close() method for streamsNick Mathewson2020-10-201-0/+8
|
* Add new `terminate()` method to circuits and channels.Nick Mathewson2020-10-203-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 docsNick Mathewson2020-10-203-6/+45
|
* Add a TODO for register_meta_handler APINick Mathewson2020-10-201-0/+3
|
* Work on closing flooding-based side-channelsNick Mathewson2020-10-202-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 Mathewson2020-10-205-17/+101
|
* main.rs: Add a flag for trace-level logsNick Mathewson2020-10-201-2/+10
|
* Add reasonable logging (I hope!) to channelNick Mathewson2020-10-205-43/+221
|
* Test new error type from caretNick Mathewson2020-10-192-2/+14
|
* Implement From, not Into.Nick Mathewson2020-10-196-23/+22
| | | | | 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
|
* Add and use remaining CertType values in tor-certNick Mathewson2020-10-192-6/+26
|
* 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-193-11/+44
|
* Validate master-key-ed25519 field in routerdescsNick Mathewson2020-10-192-1/+20
|
* netdir: don't use relays with NoEdConsensus flag set.Nick Mathewson2020-10-192-2/+6
|
* Improvements to Relay type in tor-netdir.Nick Mathewson2020-10-197-41/+87
| | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity.
* Calculate digest correctly when microdesc ends with base64 object.Nick Mathewson2020-10-193-23/+43
|
* Netdoc: validate objects even on unrecognized items.Nick Mathewson2020-10-194-10/+38
|
* portpolicy: note a spec issueNick Mathewson2020-10-192-2/+4
|
* Explain problems with APIs in linkspec::traits.Nick Mathewson2020-10-181-2/+6
|
* Resolve XXXXM3 comments in caret crateNick Mathewson2020-10-181-5/+28
|
* Mark must-resolve XXXX issues with "XXXXM3".Nick Mathewson2020-10-1819-56/+52
| | | | | | | | | | "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