| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Checkpoint work on a sqlite backend. | Nick Mathewson | 2020-11-16 | 7 | -37/+649 | |
| | | | | | | | | | | | | Among other stuff, revert parts of previous commit that introduced a ReadableStore abstraction: there isn't a good abstraction hat covers both Tor legacy stores and sqlite stores-- or if there is, I'll have to find it organizally. This isn't a final version: it probably has bugs, and it needs documentation and more tests. But before I do those, I want to sanity-check the API by drafting the next layer up on the stack. | |||||
| * | Type and functions for key ID inspection of AuthCert. | Nick Mathewson | 2020-11-16 | 2 | -27/+52 | |
| | | ||||||
| * | Have the consensus-parsing code expose the signed piece of the consensus. | Nick Mathewson | 2020-11-16 | 2 | -7/+11 | |
| | | ||||||
| * | Checkpoint work on making storage backend generic | Nick Mathewson | 2020-11-14 | 5 | -53/+188 | |
| | | | | | Also uses mmap for loading stuff. | |||||
| * | Add accessors for consensus lifetimes. | Nick Mathewson | 2020-11-14 | 1 | -6/+43 | |
| | | ||||||
| * | Remember the position of authcert and microdescs | Nick Mathewson | 2020-11-14 | 3 | -12/+64 | |
| | | | | | | We'll need this to save them to disk after parsing them from an upstream source. | |||||
| * | netdoc: Add a bogus "Extent()" facility to remember where things were. | Nick Mathewson | 2020-11-14 | 1 | -0/+126 | |
| | | | | | Also add the missing str.rs file (oops) | |||||
| * | netdoc: split off string utils | Nick Mathewson | 2020-11-14 | 3 | -57/+4 | |
| | | ||||||
| * | Move closed-check for circuits into an atomicbool. | Nick Mathewson | 2020-11-13 | 3 | -32/+48 | |
| | | ||||||
| * | Light refactoring on remaining ChannelImpl functions | Nick Mathewson | 2020-11-13 | 1 | -22/+21 | |
| | | ||||||
| * | Turn the channel "closed" method into an AtomicBool | Nick Mathewson | 2020-11-13 | 4 | -26/+27 | |
| | | | | | This lets us make the test for closed channels non-async. | |||||
| * | Move a few immutable fields from ChannelImpl outside the lock. | Nick Mathewson | 2020-11-13 | 4 | -37/+30 | |
| | | | | | | Since these don't change while the channel is alive, we don't need the lock to protect them. | |||||
| * | Make Arc<>-ness of ClientCirc explicit. | Nick Mathewson | 2020-11-12 | 5 | -60/+68 | |
| | | ||||||
| * | Make the Arc-ness of channels more explicit. | Nick Mathewson | 2020-11-12 | 7 | -79/+61 | |
| | | | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places. | |||||
| * | tor-circmgr: timeout and retry support. | Nick Mathewson | 2020-11-11 | 2 | -3/+40 | |
| | | ||||||
| * | tor-chanmgr: timeout support. | Nick Mathewson | 2020-11-11 | 3 | -7/+22 | |
| | | ||||||
| * | Document tor-rtcompat crate a little | Nick Mathewson | 2020-11-11 | 2 | -3/+12 | |
| | | ||||||
| * | Remove a couple of unused dependencies | Nick Mathewson | 2020-11-11 | 2 | -7/+0 | |
| | | ||||||
| * | Isolate async_std usage in a new tor_rtcompat crate. | Nick Mathewson | 2020-11-11 | 14 | -86/+75 | |
| | | | | | | Like tor_llcrypto, this crate is meant to expose only the part of other crates (in this case, a async runtime crate) that we use. | |||||
| * | Use anyhow in tor-circmgr and tor-chanmgr | Nick Mathewson | 2020-11-11 | 9 | -50/+17 | |
| | | ||||||
| * | Use Infallible in tor-netdoc. | Nick Mathewson | 2020-11-11 | 1 | -2/+2 | |
| | | ||||||
| * | Use anyhow for error management in client-demo. | Nick Mathewson | 2020-11-11 | 3 | -29/+11 | |
| | | ||||||
| * | Mark tor_netdoc::err::Pos as Send and Sync | Nick Mathewson | 2020-11-11 | 1 | -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 Mathewson | 2020-11-11 | 2 | -90/+75 | |
| | | ||||||
| * | update some dependencies | Nick Mathewson | 2020-11-11 | 4 | -10/+10 | |
| | | ||||||
| * | Upgrade dependencies | Nick Mathewson | 2020-11-10 | 12 | -16/+16 | |
| | | ||||||
| * | upgrade a few packages. | Nick Mathewson | 2020-11-05 | 5 | -7/+7 | |
| | | ||||||
| * | Add some tor-sockproto tests | Nick Mathewson | 2020-11-05 | 2 | -1/+200 | |
| | | ||||||
| * | 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 | |
| | | ||||||
