summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark tor_netdoc::err::Pos as Send and SyncNick Mathewson2020-11-111-0/+9
| | | | | | I am about 99% sure this is safe: the pointer that this type contains is never dereferenced, and is only compared to the bounds of a string later on.
* Use bitflags crate to represent RouterFlags.Nick Mathewson2020-11-112-90/+75
|
* update some dependenciesNick Mathewson2020-11-114-10/+10
|
* Upgrade dependenciesNick Mathewson2020-11-1012-16/+16
|
* upgrade a few packages.Nick Mathewson2020-11-055-7/+7
|
* Add some tor-sockproto testsNick Mathewson2020-11-052-1/+200
|
* Document tor-socksprotoNick Mathewson2020-11-044-4/+165
|
* rename tor_socks -> tor_socksproto.Nick Mathewson2020-11-049-7/+7
|
* Refactor DataStream to be splittable, and have internal locking.Nick Mathewson2020-11-042-20/+65
| | | | This lets me fix the deadlock in the proxy code.
* stream: Update to enable more fine-grained lockingNick Mathewson2020-11-043-17/+28
| | | | | Not sure this is quite right, or quite deadlock free, but it lets us read/write cells on a stream we haven't locked.
* Add a (broken) SOCKS proxy to client-demo.Nick Mathewson2020-11-043-4/+131
| | | | | This is broken because it hits a deadlock when two tasks at once want to use a DataStream for reading and writing.
* Add a SOCKS protocol implementation. Needs tests and docsNick Mathewson2020-11-046-0/+449
|
* netdir: remove interior mutability.Nick Mathewson2020-11-041-15/+17
|
* circmgr: Make sure circmgr can be shared among threadsNick Mathewson2020-11-041-8/+6
|
* chanmgr: Make sure chanmgr can be shared among threadsNick Mathewson2020-11-041-14/+18
|
* Make 'netdir' no longer a field in circmgr.Nick Mathewson2020-11-022-14/+15
|
* Add a tiny bit of cleanup logic to tor-circmgrNick Mathewson2020-11-022-4/+24
|
* Document tor-circmgrNick Mathewson2020-11-026-7/+108
|
* Implement rudimentary circuit-manager functionalityNick Mathewson2020-11-024-11/+198
| | | | | This code is meant to "get or launch a circuit as appropriate." It's super dodgy, but it is probably good enough for a first pass.
* Add a new circuit-manager crate and move path selection there.Nick Mathewson2020-11-0212-45/+244
|
* Add missing testing.rs fileNick Mathewson2020-10-301-0/+102
|
* Tests for tor-chanmgr.Nick Mathewson2020-10-304-7/+252
|
* chanmgr: don't return closing channels.Nick Mathewson2020-10-302-1/+18
|
* Use chanmgr in client-demoNick Mathewson2020-10-303-73/+36
|
* Implement a channel-manager type to get or launch channels on request.Nick Mathewson2020-10-308-2/+355
|
* Remove duplication of ipaddr argument in handshake.Nick Mathewson2020-10-292-15/+22
|
* tor-cell: In netinfo, unspecified addresses are None.Nick Mathewson2020-10-292-11/+18
|
* Function to check whether a channel matches a target.Nick Mathewson2020-10-292-2/+30
|
* tor-proto API: Use new_ref, not clone.Nick Mathewson2020-10-294-17/+22
| | | | | | Semantically, cloning a Channel or Circuit is actually increasing an internal reference count. We should name the functions to reflect that, to be more explicit about what we're doing.
* update the TODONick Mathewson2020-10-271-9/+10
|
* Add a simple test for stream creation.Nick Mathewson2020-10-271-1/+37
|
* Add a test for extending a circuit with ntor.Nick Mathewson2020-10-272-0/+63
|
* circuit: test meta-cell receivingNick Mathewson2020-10-271-11/+77
|
* Downgrade an XXXXM3 message.Nick Mathewson2020-10-271-1/+1
|
* Unify interface for detecting stream close.Nick Mathewson2020-10-271-2/+1
|
* Add a test for sending a cell.Nick Mathewson2020-10-271-1/+84
|
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-273-15/+100
|
* Make a test for create_firsthop_fast. WOW that was hard.Nick Mathewson2020-10-272-4/+75
|
* Make circuit reactors also have a run_once() method for testing.Nick Mathewson2020-10-273-51/+60
|
* Add a fake, reactorless channel, for use in testing circuitsNick Mathewson2020-10-272-3/+45
|
* Remove use of Cell<> in tor_proto.Nick Mathewson2020-10-272-17/+13
| | | | I was confused about what this was for, I guess.
* Rename CircIDRange to CircIdRangeNick Mathewson2020-10-272-10/+10
|
* Run "cargo upgrade".Nick Mathewson2020-10-267-12/+15
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-267-10/+5
|
* Use event_listener to find out about sendme replenishment.Nick Mathewson2020-10-262-30/+12
| | | | | Previously we would fail if a sendme window was exhausted and two tasks were waiting for it to be replenished at the same time.
* Resolve a bunch of XXXM3 comments in tor-proto.Nick Mathewson2020-10-266-78/+81
|
* Improve documentation in tor-protoNick Mathewson2020-10-267-36/+112
|
* More documentation in tor-netdoc.Nick Mathewson2020-10-2610-3/+126
|
* Improve documentation in tor-cellNick Mathewson2020-10-265-48/+202
|
* rudimentary test for channelbuilder.Nick Mathewson2020-10-261-1/+10
|