summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* proto::channel: add piping to move cells around.Nick Mathewson2020-09-117-19/+340
| | | | | | | 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-103-256/+274
|
* update readmeNick Mathewson2020-09-092-26/+24
|
* Pare down and sort dependenciesNick Mathewson2020-09-099-43/+44
|
* Run cargo upgrade, except for stream-cipher.Nick Mathewson2020-09-097-30/+30
|
* cargo fix --edition-idiomsNick Mathewson2020-09-092-6/+6
|
* Add some missing documentationNick Mathewson2020-09-092-7/+76
|
* Also RSA identities on channel handshakesNick Mathewson2020-09-098-7/+191
| | | | | | 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.
* checkable: documentation fix.Nick Mathewson2020-09-091-0/+3
|
* Fix bogus docs in ll::pk::rsaNick Mathewson2020-09-091-2/+2
|
* Implement most of client-side channel cert validation.Nick Mathewson2020-09-097-21/+89
|
* 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-098-27/+251
|
* netdir: downgrade a logNick Mathewson2020-09-091-2/+2
|
* client-demo: do a TLS handshake.Nick Mathewson2020-09-093-20/+83
|
* netdir: look in right path for cached-microdescs.newNick Mathewson2020-09-091-1/+1
|
* New "linkspec" module to encapsulate info needed to connect/extend.Nick Mathewson2020-09-0810-94/+214
|
* rename weightfn variantsNick Mathewson2020-09-081-11/+11
|
* Add a handy function for picking a random relay.Nick Mathewson2020-09-083-2/+46
|
* Start on accessors for relay weight.Nick Mathewson2020-09-082-2/+70
|
* add emacs tmpfiles to gitignoreNick Mathewson2020-09-081-0/+2
|
* Create a stub for a minimal demo client program.Nick Mathewson2020-09-083-0/+63
| | | | | | | | For now, it's set up to just use a chutney network, so I don't cause major drama with the real network. I'll be working on this in parallel with proto and netdir improvements, until it works.
* netdir: add the ability to add authorities from a chutney directory.Nick Mathewson2020-09-082-1/+37
|
* netdir: Add an extra day's tolerance to consensus timeoutsNick Mathewson2020-09-081-0/+2
|
* TimerangeBound: add functions to extend the tolerancesNick Mathewson2020-09-081-0/+13
| | | | | (This seems much cleaner than baking extra tolerances into the "true" validity intervals")
* Refactor timerangebound to unwrap bounds earlier.Nick Mathewson2020-09-084-43/+34
| | | | This will make them easier to adjust
* Bugfix: parse ed25519 ids right in mdsNick Mathewson2020-09-082-3/+3
|
* Netdir: a few more accessorsNick Mathewson2020-09-083-7/+45
|
* netdoc: add a few accessorsNick Mathewson2020-09-072-2/+42
|
* Fix clippy warnings; improve key type for consensus.Nick Mathewson2020-09-077-15/+23
|
* RSAIdentity: Better Display and Debug.Nick Mathewson2020-09-072-1/+15
|
* netdoc: ignore bad entries in families.Nick Mathewson2020-09-071-0/+4
| | | | Some of these are nicknames, which we can safely ignore.
* Start on a 'netdir' crate to wrap netdoc.Nick Mathewson2020-09-077-2/+257
| | | | For now, this assumes an existing Tor cache directory.
* 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.
* tor-bytes: Add initial support for the bytes crateNick Mathewson2020-09-053-0/+17
|
* Make MDConsensus also follow the checkable pattern.Nick Mathewson2020-09-031-14/+92
|
* Port authcert to use tor_checkable.Nick Mathewson2020-09-034-28/+55
|
* Migrate certificate and routerdesc checking to tor-checkableNick Mathewson2020-09-039-131/+255
| | | | | Now these types are parsed and returned wrapped inside a checkable object.
* checkable: Add a simple type for self-signed objects.Nick Mathewson2020-09-033-0/+36
|
* llcrypto: Define a "ValidatableSignature" typeNick Mathewson2020-09-033-1/+68
| | | | | This type wraps a signature, a public key, and the signed object. It's meant to be useful for implementing SelfSigned objects.
* New module with traits for time-bound and signed objectsNick Mathewson2020-09-014-0/+218
| | | | | | | | | | | Too often I've been writing code that defers timeliness checking to an is_valid_at() method [which you'd better call or else whoops] and which does signature checking while parsing [not great for performance]. Instead, let's make return types where you can't get at the interior object without first either checking the signatures/timeliness, or declaring that (dangerously) you don't care.