summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* More notes in README.md: assumed proposals, stability (non)guaranteeNick Mathewson2020-10-181-0/+8
|
* Update microdesc parsing: ed25519 keys are no longer optional.Nick Mathewson2020-10-181-10/+8
|
* Clarify TODOs in tor-protoverNick Mathewson2020-10-181-3/+4
|
* tor-linkspec: remove a completed TODONick Mathewson2020-10-181-2/+0
|
* Remove a comment about a spec clarificationNick Mathewson2020-10-181-2/+0
| | | | This was fixed as torspec#30
* Resolve XXXX items in tor-cert crate.Nick Mathewson2020-10-182-2/+3
|
* Clarify kludgey magic in our to_der() function.Nick Mathewson2020-10-182-2/+7
|
* List supported/unsupported subprotocols in the READMENick Mathewson2020-10-181-1/+58
|
* Cleanup from prop315 implementation.Nick Mathewson2020-10-163-16/+11
| | | | | | | | Most of the fixes here are just removing comments that said "this isn't technically required but I'm going to pretend it is". I also made the "protocols" field in microdescs out of its Option<>, since we're now requiring that.
* Implement proposal 315: make various directory fields requiredNick Mathewson2020-10-162-18/+8
|
* Update TODONick Mathewson2020-10-151-2/+2
|
* tor-proto: Add a ClientCircChanMsg type.Nick Mathewson2020-10-155-22/+43
| | | | | | This wraps exactly the ChanMsg values that are valid on open client circuits, so that we can be sure that only those cells are sent to a ClientCirc's reactor.
* tor-proto: Add a "CreateResponse" type.Nick Mathewson2020-10-155-15/+64
| | | | | | CreateResponse includes exactly those cells that are a correct response to a CREATE2/CREATE_FAST, so we can be sure that only those cells are actually passed to a PendingClientCirc.
* Run "cargo upgrade".Nick Mathewson2020-10-1510-16/+16
|
* Mark item done in todoNick Mathewson2020-10-151-2/+2
|
* Use Ed25519Identity in microdescriptors.Nick Mathewson2020-10-155-19/+41
|
* Add an (unchecked) Ed25519Identity typeNick Mathewson2020-10-153-6/+91
| | | | | This type differs from ed25519::PublicKey in that it is _not_ checked or expanded.
* llcrypto: Move ed25519 module into its own file.Nick Mathewson2020-10-153-77/+76
|
* Fix a couple of clippy warningsNick Mathewson2020-10-152-2/+2
|
* Turn the channel's ref to its circmap into a Weak referenceNick Mathewson2020-10-151-6/+11
| | | | | This way, when the channel reactor is dropped, the circuit map can get dropped too, which will cause reading circuits to notice.
* Mark channels as unusable if reactor gets an error.Nick Mathewson2020-10-153-1/+31
| | | | | Similarly as with circuits, we want this code to set a "closed" flag so that attempts to write on the channel will fail.
* Use weak references from circuit reactor to circimpl.Nick Mathewson2020-10-142-15/+30
| | | | This prevents the reactor from keeping the circuit alive forever.
* Use a weak reference from channel reactor to channel.Nick Mathewson2020-10-141-5/+7
|
* Send DESTROY cells when a circuit is dropped.Nick Mathewson2020-10-143-27/+161
| | | | | | | | | This reuses a lot of mechanism from the circuit code that sends END cells when streams are dropped. There is a problem here: Circuits and channels won't actually get dropped, because we should be using a weak reference from the reactor.
* TODO: Add and link tickets for Milestone 3 itemsNick Mathewson2020-10-131-16/+25
|