aboutsummaryrefslogtreecommitdiff
path: root/tor-proto
Commit message (Collapse)AuthorAgeFilesLines
...
* Add tests for CREATE_FAST handshakeNick Mathewson2020-09-194-26/+100
|
* Add tests for failing ntor handshakes.Nick Mathewson2020-09-191-1/+51
|
* ntor: test the ClientHandshake/ServerHandshake implNick Mathewson2020-09-181-3/+4
|
* tests for kdf functions in tor_protoNick Mathewson2020-09-181-0/+127
|
* Add tests for tor_proto::util::ctNick Mathewson2020-09-181-0/+31
|
* Give up on suppressing that nightly-only clippy warningNick Mathewson2020-09-181-21/+19
|
* Resolve some nightly-only clippy warningsNick Mathewson2020-09-171-0/+2
|
* Add fuzzers for certs, netdoc, and proto.Nick Mathewson2020-09-175-1/+60
| | | | This was remarkably simple.
* Sort linkspecs in the same order as tor doesNick Mathewson2020-09-172-2/+3
|
* Make client-demo launch a request to www.torproject.org:80Nick Mathewson2020-09-122-0/+38
|
* Implement extend2/extended2 handshake.Nick Mathewson2020-09-121-0/+17
| | | | | | | This is not a production-ready implementation: it will break if a circuit is used for anything while an extend is pending. Client-demo can now build 3-hop circuits.
* Make more types implement Debug.Nick Mathewson2020-09-121-0/+17
|
* Fix a bug in encoding extend2 cells.Nick Mathewson2020-09-121-0/+2
|
* WIP: extend.Nick Mathewson2020-09-124-17/+166
|
* Simple functions to send and receive relay cells.Nick Mathewson2020-09-124-1/+74
|
* Add a function to pad relay cells.Nick Mathewson2020-09-121-0/+28
|
* Refactoring around our 509-byte array type.Nick Mathewson2020-09-126-43/+66
|
* Ntor handshake (first hop) is go.Nick Mathewson2020-09-113-2/+56
|
* Wrap ntor handshake in appropriate trait.Nick Mathewson2020-09-111-10/+39
|
* Parameterize the circuit create code.Nick Mathewson2020-09-111-20/+45
|
* Make create_fast implementation a little more generic.Nick Mathewson2020-09-112-20/+31
|
* For circuits: Implement first hop create via create_fast.Nick Mathewson2020-09-118-24/+199
|
* proto: add minimal (raw) circuit support.Nick Mathewson2020-09-116-16/+131
| | | | | This is about enough to make a circuit, send a create_fast cell, and get a created_fast cell back.
* proto::channel: add piping to move cells around.Nick Mathewson2020-09-116-18/+337
| | | | | | | There's a "reactor" task to move cells to the appropriate circuit, and a "send_cell" to send a cell directly. This is client-only for now.
* Turn channel into a handle-to-inner type.Nick Mathewson2020-09-102-4/+30
| | | | | I think I'll likely be refactoring this a _bunch_ before I actually get to use this.
* Move channel handshake into its own module.Nick Mathewson2020-09-102-254/+272
|
* Pare down and sort dependenciesNick Mathewson2020-09-092-12/+12
|
* Run cargo upgrade, except for stream-cipher.Nick Mathewson2020-09-091-7/+7
|
* cargo fix --edition-idiomsNick Mathewson2020-09-091-1/+1
|
* Add some missing documentationNick Mathewson2020-09-091-4/+54
|
* Also RSA identities on channel handshakesNick Mathewson2020-09-092-6/+36
| | | | | | This took a good bit of hacking, including a kludge to extract an RSA subject key from an x509 cert, since we didn't have a good way to do that.
* Implement most of client-side channel cert validation.Nick Mathewson2020-09-094-16/+72
|
* Declare Into<ChanCell> for channel messages without circidsNick Mathewson2020-09-092-4/+26
|
* Work on client channel handshake: mostly done, except for verificationNick Mathewson2020-09-097-18/+235
|
* New "linkspec" module to encapsulate info needed to connect/extend.Nick Mathewson2020-09-082-94/+2
|
* relaycell: slight error cleanupNick Mathewson2020-09-071-18/+23
|
* relaycell: move cmd into Unrecognized.Nick Mathewson2020-09-071-6/+20
|
* proto::relaycell: documentation and light refactoringNick Mathewson2020-09-072-103/+192
|
* rename relaycell stuff to its own module; rename a bitNick Mathewson2020-09-066-61/+61
|
* proto: Finish documenting chancellNick Mathewson2020-09-063-21/+196
|
* proto: small err cleanupsNick Mathewson2020-09-065-49/+35
|
* proto: make write_body_onto destructive. That might help down the roadNick Mathewson2020-09-062-19/+18
|
* Reinstate ChanCell as a meaningful type.Nick Mathewson2020-09-062-24/+24
|
* proto: major refactor to channel cellsNick Mathewson2020-09-068-758/+832
| | | | | | | The protocol is now based around a message-oriented scheme intended to use futures_codec, which in turn uses BytesMut. The transition to BytesMut is incomplete, and we're not nearly so zero-copy as intended. We should think about that.
* Run cargo-upgrade.Nick Mathewson2020-08-281-5/+5
|
* Update to latest packages; ed25519 now needs signature crate traits.Nick Mathewson2020-07-201-6/+6
|
* Run cargo fix --edition-idiomsNick Mathewson2020-06-261-1/+1
|
* Use "cargo upgrade" from cargo-edit to list current versionsNick Mathewson2020-06-121-13/+13
|
* update to use latest rust-crypto traits and modulesNick Mathewson2020-06-104-20/+24
|
* tor-proto: use caret_int!() for cell and relay commands.Nick Mathewson2020-05-154-175/+157
|