| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Require documentation in tor-rtcompat. | Nick Mathewson | 2020-11-20 | 3 | -11/+29 | |
| | | ||||||
| * | Make "storage" module private | Nick Mathewson | 2020-11-20 | 1 | -1/+1 | |
| | | ||||||
| * | Remove a couple of #[allow]s. | Nick Mathewson | 2020-11-20 | 2 | -8/+5 | |
| | | ||||||
| * | Teach DirMgr to use its own NetDir, if present, to bootstrap itself. | Nick Mathewson | 2020-11-20 | 2 | -8/+6 | |
| | | ||||||
| * | Add a better way to get a shared directory out of a DirMgr. | Nick Mathewson | 2020-11-20 | 1 | -16/+23 | |
| | | ||||||
| * | Remove needless Arc<> for DirStoreHandle. And DirStoreHandle itself. | Nick Mathewson | 2020-11-20 | 1 | -37/+24 | |
| | | ||||||
| * | Move a few more responsibilities into NetDirConfig. | Nick Mathewson | 2020-11-20 | 4 | -76/+125 | |
| | | | | | Also start a DirMgr type. | |||||
| * | Move storage and config logic from netdir to dirmgr. | Nick Mathewson | 2020-11-20 | 12 | -26/+58 | |
| | | ||||||
| * | NetDirConfig: Learn fallback directories from chutney configurations too | Nick Mathewson | 2020-11-20 | 3 | -5/+68 | |
| | | ||||||
| * | Missing file: whoops | Nick Mathewson | 2020-11-20 | 1 | -0/+223 | |
| | | ||||||
| * | Use a builder pattern for NetDir. | Nick Mathewson | 2020-11-20 | 2 | -9/+5 | |
| | | ||||||
| * | Move NetDirConfig into its own module. | Nick Mathewson | 2020-11-20 | 1 | -142/+2 | |
| | | ||||||
| * | Move some netdir code into submodules. | Nick Mathewson | 2020-11-20 | 4 | -147/+166 | |
| | | | | | | The Authority type gets its own module; so does the ability to load from legacy storage. | |||||
| * | Remove "dumpdir" example as obsolete | Nick Mathewson | 2020-11-20 | 1 | -33/+0 | |
| | | ||||||
| * | Remove a couple of stray dbg!() calls. | Nick Mathewson | 2020-11-19 | 2 | -2/+0 | |
| | | ||||||
| * | Initial pass on directory-manager code. | Nick Mathewson | 2020-11-19 | 14 | -75/+622 | |
| | | | | | | | | | This code can now bootstrap from the network, cache the results, and reload from cache. There's lots more work to do here, including a big pile of tidying and refactoring and testing and documentation. | |||||
| * | downgrade an ok_or_else to ok_or. | Nick Mathewson | 2020-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Refactor AuthCertKeyIds::cmp(). | Nick Mathewson | 2020-11-19 | 1 | -5/+3 | |
| | | ||||||
| * | Add support for using fallback directories in path construction | Nick Mathewson | 2020-11-19 | 11 | -54/+161 | |
| | | | | | | | This is mainly a refactoring commit, with a little new code. It also adds #[derive(Copy,Clone)] for a few types. | |||||
| * | Add a notion of a one-hop fallback path. | Nick Mathewson | 2020-11-17 | 1 | -7/+11 | |
| | | | | | These have a FallbackDirectory as target, rather than a Relay. | |||||
| * | Refactor first-hop handling types a bit | Nick Mathewson | 2020-11-17 | 7 | -19/+38 | |
| | | | | | | | This lets us have the notion of "get the first hop of a path as some kind of a chantarget", which will make it easier to write other path types. | |||||
| * | Netdir: improve representation | Nick Mathewson | 2020-11-17 | 1 | -48/+76 | |
| | | | | | | Now a netdir no longer holds unwanted microdescs, and it always holds a weight function. | |||||
| * | Netdir: add functions to add mds, and list missing mds | Nick Mathewson | 2020-11-17 | 1 | -0/+25 | |
| | | ||||||
| * | Netdir: only expose a netdir object if we have enough directory info | Nick Mathewson | 2020-11-17 | 4 | -14/+63 | |
| | | | | | | The calculation isn't completely right here, but it's a fair stopgap. | |||||
| * | Include a list of fallback directories in tor-netdir | Nick Mathewson | 2020-11-16 | 4 | -0/+881 | |
| | | ||||||
| * | Start a directory client implementation | Nick Mathewson | 2020-11-16 | 8 | -1/+466 | |
| | | | | | | | | | It can send a GET request on a circuit, get an answer, and decompress it with zlib. It will need documentation and tests eventually, as well as serious refactoring. | |||||
| * | Make AuthCertKeyIds sortable. | Nick Mathewson | 2020-11-16 | 1 | -0/+16 | |
| | | ||||||
| * | Note an unpleasantness in the circmgr api. | Nick Mathewson | 2020-11-16 | 1 | -0/+1 | |
| | | ||||||
| * | 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 | |
| | | ||||||
