| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update TODO | Nick Mathewson | 2020-10-15 | 1 | -2/+2 | |
| | | ||||||
| * | tor-proto: Add a ClientCircChanMsg type. | Nick Mathewson | 2020-10-15 | 5 | -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 Mathewson | 2020-10-15 | 5 | -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 Mathewson | 2020-10-15 | 10 | -16/+16 | |
| | | ||||||
| * | Mark item done in todo | Nick Mathewson | 2020-10-15 | 1 | -2/+2 | |
| | | ||||||
| * | Use Ed25519Identity in microdescriptors. | Nick Mathewson | 2020-10-15 | 5 | -19/+41 | |
| | | ||||||
| * | Add an (unchecked) Ed25519Identity type | Nick Mathewson | 2020-10-15 | 3 | -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 Mathewson | 2020-10-15 | 3 | -77/+76 | |
| | | ||||||
| * | Fix a couple of clippy warnings | Nick Mathewson | 2020-10-15 | 2 | -2/+2 | |
| | | ||||||
| * | Turn the channel's ref to its circmap into a Weak reference | Nick Mathewson | 2020-10-15 | 1 | -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 Mathewson | 2020-10-15 | 3 | -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 Mathewson | 2020-10-14 | 2 | -15/+30 | |
| | | | | | This prevents the reactor from keeping the circuit alive forever. | |||||
| * | Use a weak reference from channel reactor to channel. | Nick Mathewson | 2020-10-14 | 1 | -5/+7 | |
| | | ||||||
| * | Send DESTROY cells when a circuit is dropped. | Nick Mathewson | 2020-10-14 | 3 | -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 items | Nick Mathewson | 2020-10-13 | 1 | -16/+25 | |
| | | ||||||
| * | Revise TODO and README; declare "milestone 2" done. | Nick Mathewson | 2020-10-13 | 2 | -24/+24 | |
| | | | | | | | Part of this "declaring milestone 2 done" business is a matter of putting additional tests and documentation into milestone 3 where they logically belong. | |||||
| * | Revise DropMark defense to use a better type and match Tor's behavior. | Nick Mathewson | 2020-10-13 | 6 | -14/+99 | |
| | | ||||||
| * | Document all private members in tor-proto | Nick Mathewson | 2020-10-13 | 15 | -10/+133 | |
| | | ||||||
| * | Make sure that protocol errors terminate the circuit responsible. | Nick Mathewson | 2020-10-13 | 3 | -23/+59 | |
| | | ||||||
| * | Improve handling of circuit closure or failure on reactor shutdown. | Nick Mathewson | 2020-10-13 | 3 | -6/+37 | |
| | | | | | | | | | | | We already handled the case okay when we were reading on streams, since the reactor's going away would drop the sender side of their mpsc channels. But if the reactor went away, nothing would tell _writing_ streams that they needed to close. Now we handle that case, as well as anybody who is waiting on a meta-cell to get back to them. | |||||
| * | Another tweak to handling closing streams | Nick Mathewson | 2020-10-13 | 3 | -14/+40 | |
| | | | | | | | When a stream is closed and we haven't adjusted its state in the stream map yet, remember how many cells we've dropped so we can decrement them from the window later on. | |||||
| * | Try giving distinct handling to streams where END has been sent | Nick Mathewson | 2020-10-12 | 6 | -54/+118 | |
| | | | | | | | This is the first step along the line to handling Tor issue tor#27557. We want to remember streams that we've ended and treat them as distinct from streams that have never existed | |||||
| * | Tweak terminate hand handle_close() functions. | Nick Mathewson | 2020-10-11 | 2 | -13/+20 | |
| | | | | | | These need to become functions about terminating and noticing a termination request. | |||||
| * | Rename StreamMap::Closing to EndReceived | Nick Mathewson | 2020-10-11 | 1 | -4/+4 | |
| | | | | | This is in preparation for adding a different EndSent stream state. | |||||
| * | Test the pick_weighted function in tor-netdir | Nick Mathewson | 2020-10-10 | 1 | -0/+128 | |
| | | ||||||
| * | Document remaining private members of tor-netdoc. | Nick Mathewson | 2020-10-10 | 6 | -9/+259 | |
| | | ||||||
| * | Document most private items in tor-netdoc. | Nick Mathewson | 2020-10-09 | 11 | -9/+115 | |
| | | ||||||
| * | Document all the private items in tor-cell | Nick Mathewson | 2020-10-09 | 6 | -7/+97 | |
| | | | | | | Also, change the type of the authentication challenge to be an array; it isn't in fact variable-length. | |||||
| * | Remove a couple of allow(unused) notations | Nick Mathewson | 2020-10-09 | 2 | -2/+0 | |
| | | ||||||
| * | mark off a TODO item. | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a pair of bugs in SENDME handling. | Nick Mathewson | 2020-10-09 | 1 | -13/+10 | |
| | | | | | | | | | | The problem is that we would count begin and end cells towards towards window totals when we are only supposed to count DATA cells, *and* that we would we send our sendmes one cell too early (or maybe late?). Closes #1. | |||||
| * | Move counts_towards_windows() code into circuit module | Nick Mathewson | 2020-10-09 | 6 | -19/+19 | |
| | | ||||||
| * | client-main: Add an option to run a test more than once | Nick Mathewson | 2020-10-09 | 2 | -6/+12 | |
| | | ||||||
| * | add point estimates to TODO | Nick Mathewson | 2020-10-09 | 1 | -37/+45 | |
| | | ||||||
| * | check off the deadlock in the todo. | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Split information about circuit hops into inbound and outbound. | Nick Mathewson | 2020-10-09 | 2 | -61/+172 | |
| | | | | | | | | | | | | | | | | | | | Previously the circuit object owned not only the outbound crypto, but also the inbound crypto and the stream maps. That's not so great, since the reactor needs to use the inbound crypto and the stream maps all the time, whereas the circuit doesn't need them much (or at all). Moving these objects to the reactor-owned structure should let us fix the deadlock case in stream sendme handling, since the circuit reactor no longer needs to lock the circuit in order to do crypto and demultiplexing. It should also speed up the code a bit, since it doesn't need to grab the circuit lock nearly so often as before. This change forced me to add a couple of new reactor CtrlMsg values, since the circuit can no longer add streams and layers directly. I think it will still be a performance win, though. | |||||
| * | Split client relay crypto into separate directions | Nick Mathewson | 2020-10-09 | 3 | -77/+179 | |
| | | | | | | I think we should have the reactor task own the reverse crypto and the circuit own the forward crypto. | |||||
| * | client-demo:Be louder on reactor failure. | Nick Mathewson | 2020-10-09 | 1 | -1/+4 | |
| | | ||||||
| * | Fix counting rules for circuit-level sendmes. | Nick Mathewson | 2020-10-09 | 1 | -4/+4 | |
| | | ||||||
| * | Logic error: negate test for sendme cells in counts_towards_windows | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Expose --flood and --dl switches on client-demo | Nick Mathewson | 2020-10-09 | 1 | -4/+22 | |
| | | | | | These are for testing sendmes. | |||||
| * | Add routerdesc examples | Nick Mathewson | 2020-10-07 | 7 | -0/+343 | |
| | | ||||||
| * | netdoc: more tests for routerdesc parsing | Nick Mathewson | 2020-10-07 | 2 | -5/+107 | |
| | | ||||||
| * | A few more tests in tor-netdoc | Nick Mathewson | 2020-10-07 | 2 | -3/+90 | |
| | | ||||||
| * | netdoc: test for signature/key checking func | Nick Mathewson | 2020-10-07 | 1 | -0/+11 | |
| | | ||||||
| * | mdconsensus: add tests for a few accessors | Nick Mathewson | 2020-10-06 | 1 | -3/+26 | |
| | | ||||||
| * | tests for some failing cases in mdconsensus | Nick Mathewson | 2020-10-06 | 12 | -7/+781 | |
| | | ||||||
| * | Tokenize: report accurate positions for more parsing errors | Nick Mathewson | 2020-10-02 | 1 | -2/+18 | |
| | | ||||||
| * | microdesc parsing: tests for bad microdescs | Nick Mathewson | 2020-10-02 | 3 | -0/+66 | |
| | | ||||||
| * | tests and fixes for md content parsing | Nick Mathewson | 2020-10-02 | 2 | -11/+46 | |
| | | ||||||
