| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Document tor-socksproto | Nick Mathewson | 2020-11-04 | 4 | -4/+165 | |
| | | ||||||
| * | rename tor_socks -> tor_socksproto. | Nick Mathewson | 2020-11-04 | 9 | -7/+7 | |
| | | ||||||
| * | Refactor DataStream to be splittable, and have internal locking. | Nick Mathewson | 2020-11-04 | 2 | -20/+65 | |
| | | | | | This lets me fix the deadlock in the proxy code. | |||||
| * | stream: Update to enable more fine-grained locking | Nick Mathewson | 2020-11-04 | 3 | -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 Mathewson | 2020-11-04 | 3 | -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 docs | Nick Mathewson | 2020-11-04 | 6 | -0/+449 | |
| | | ||||||
| * | netdir: remove interior mutability. | Nick Mathewson | 2020-11-04 | 1 | -15/+17 | |
| | | ||||||
| * | circmgr: Make sure circmgr can be shared among threads | Nick Mathewson | 2020-11-04 | 1 | -8/+6 | |
| | | ||||||
| * | chanmgr: Make sure chanmgr can be shared among threads | Nick Mathewson | 2020-11-04 | 1 | -14/+18 | |
| | | ||||||
| * | Make 'netdir' no longer a field in circmgr. | Nick Mathewson | 2020-11-02 | 2 | -14/+15 | |
| | | ||||||
| * | Add a tiny bit of cleanup logic to tor-circmgr | Nick Mathewson | 2020-11-02 | 2 | -4/+24 | |
| | | ||||||
| * | Document tor-circmgr | Nick Mathewson | 2020-11-02 | 6 | -7/+108 | |
| | | ||||||
| * | Implement rudimentary circuit-manager functionality | Nick Mathewson | 2020-11-02 | 4 | -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 Mathewson | 2020-11-02 | 12 | -45/+244 | |
| | | ||||||
| * | Add missing testing.rs file | Nick Mathewson | 2020-10-30 | 1 | -0/+102 | |
| | | ||||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 4 | -7/+252 | |
| | | ||||||
| * | chanmgr: don't return closing channels. | Nick Mathewson | 2020-10-30 | 2 | -1/+18 | |
| | | ||||||
| * | Use chanmgr in client-demo | Nick Mathewson | 2020-10-30 | 3 | -73/+36 | |
| | | ||||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 8 | -2/+355 | |
| | | ||||||
| * | Remove duplication of ipaddr argument in handshake. | Nick Mathewson | 2020-10-29 | 2 | -15/+22 | |
| | | ||||||
| * | tor-cell: In netinfo, unspecified addresses are None. | Nick Mathewson | 2020-10-29 | 2 | -11/+18 | |
| | | ||||||
| * | Function to check whether a channel matches a target. | Nick Mathewson | 2020-10-29 | 2 | -2/+30 | |
| | | ||||||
| * | tor-proto API: Use new_ref, not clone. | Nick Mathewson | 2020-10-29 | 4 | -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 TODO | Nick Mathewson | 2020-10-27 | 1 | -9/+10 | |
| | | ||||||
| * | Add a simple test for stream creation. | Nick Mathewson | 2020-10-27 | 1 | -1/+37 | |
| | | ||||||
| * | Add a test for extending a circuit with ntor. | Nick Mathewson | 2020-10-27 | 2 | -0/+63 | |
| | | ||||||
| * | circuit: test meta-cell receiving | Nick Mathewson | 2020-10-27 | 1 | -11/+77 | |
| | | ||||||
| * | Downgrade an XXXXM3 message. | Nick Mathewson | 2020-10-27 | 1 | -1/+1 | |
| | | ||||||
| * | Unify interface for detecting stream close. | Nick Mathewson | 2020-10-27 | 1 | -2/+1 | |
| | | ||||||
| * | Add a test for sending a cell. | Nick Mathewson | 2020-10-27 | 1 | -1/+84 | |
| | | ||||||
| * | Expand test to handle building circuit with ntor. | Nick Mathewson | 2020-10-27 | 3 | -15/+100 | |
| | | ||||||
| * | Make a test for create_firsthop_fast. WOW that was hard. | Nick Mathewson | 2020-10-27 | 2 | -4/+75 | |
| | | ||||||
| * | Make circuit reactors also have a run_once() method for testing. | Nick Mathewson | 2020-10-27 | 3 | -51/+60 | |
| | | ||||||
| * | Add a fake, reactorless channel, for use in testing circuits | Nick Mathewson | 2020-10-27 | 2 | -3/+45 | |
| | | ||||||
| * | Remove use of Cell<> in tor_proto. | Nick Mathewson | 2020-10-27 | 2 | -17/+13 | |
| | | | | | I was confused about what this was for, I guess. | |||||
| * | Rename CircIDRange to CircIdRange | Nick Mathewson | 2020-10-27 | 2 | -10/+10 | |
| | | ||||||
| * | Run "cargo upgrade". | Nick Mathewson | 2020-10-26 | 7 | -12/+15 | |
| | | ||||||
| * | Remove a bunch of dbg! calls. | Nick Mathewson | 2020-10-26 | 7 | -10/+5 | |
| | | ||||||
| * | Use event_listener to find out about sendme replenishment. | Nick Mathewson | 2020-10-26 | 2 | -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 Mathewson | 2020-10-26 | 6 | -78/+81 | |
| | | ||||||
| * | Improve documentation in tor-proto | Nick Mathewson | 2020-10-26 | 7 | -36/+112 | |
| | | ||||||
| * | More documentation in tor-netdoc. | Nick Mathewson | 2020-10-26 | 10 | -3/+126 | |
| | | ||||||
| * | Improve documentation in tor-cell | Nick Mathewson | 2020-10-26 | 5 | -48/+202 | |
| | | ||||||
| * | rudimentary test for channelbuilder. | Nick Mathewson | 2020-10-26 | 1 | -1/+10 | |
| | | ||||||
| * | Tests for sending bad/good cell types on a channel | Nick Mathewson | 2020-10-26 | 2 | -7/+42 | |
| | | ||||||
| * | Clean up some XXXXs in channel::reactor.rs | Nick Mathewson | 2020-10-26 | 1 | -7/+3 | |
| | | ||||||
| * | Tests for receving incoming DESTROY cell. | Nick Mathewson | 2020-10-26 | 1 | -0/+58 | |
| | | ||||||
| * | channel::reactor: Tests for handling incoming RELAY cells | Nick Mathewson | 2020-10-26 | 2 | -1/+88 | |
| | | ||||||
| * | Test for rejecting CREATED cells | Nick Mathewson | 2020-10-26 | 1 | -1/+16 | |
| | | ||||||
| * | Add a CircEnt::DestroySent circuit state. | Nick Mathewson | 2020-10-26 | 4 | -12/+60 | |
| | | | | | | | | A circuit enters DestroySent after it's sent a DESTROY cell. We use this state to make sure that we don't receive too many cells on a destroyed circuit, _and_ so that we don't block such cells completely. | |||||
