| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Teach updater to download microdescriptors for usable directory. | Nick Mathewson | 2020-12-07 | 3 | -43/+121 | |
| | | | | | | | | | | | This follows a three-phase process: We are either fetching microdescriptors, waiting for the time to download the next consensus, or fetching the next consensus and making it usable. We can stop fetching microdescriptors for two reasons: by having no more mds that we need to download, or by running out of time in which the current consensus is usable. | |||||
| * | Reuse microdescriptors from previous consensus | Nick Mathewson | 2020-12-06 | 1 | -10/+16 | |
| | | | | | | Previously, we'd re-parse them from the database every time we got a new consensus. | |||||
| * | Enforce that the periods in a consensus lifetime are nonempty. | Nick Mathewson | 2020-12-04 | 1 | -1/+2 | |
| | | | | | | To be valid, a lifetime must have valid_after < fresh_until < valid_until. | |||||
| * | Update a few comments. | Nick Mathewson | 2020-12-04 | 1 | -3/+16 | |
| | | ||||||
| * | Dirmgr: Add a feature to keep the directory up-to-date. | Nick Mathewson | 2020-12-04 | 2 | -27/+231 | |
| | | | | | | This required me to move the sqlite connection from a rwlock into mutex, since it isn't actually Sync. | |||||
| * | Abandon directory circuits on most kinds of directory failure. | Nick Mathewson | 2020-12-02 | 1 | -3/+14 | |
| | | | | | | (There are more cases that this _doesn't_ handle, but it's a start for now.) | |||||
| * | tor-dirmgr: retry up to 3 times on download failure. | Nick Mathewson | 2020-12-01 | 2 | -4/+118 | |
| | | ||||||
| * | Make mmap usage optional. | Nick Mathewson | 2020-12-01 | 1 | -8/+12 | |
| | | ||||||
| * | tor-dirmgr: tests for storage.rs | Nick Mathewson | 2020-12-01 | 1 | -0/+38 | |
| | | ||||||
| * | Add a decorrelated-jitter implementation. | Nick Mathewson | 2020-11-30 | 2 | -0/+147 | |
| | | | | | | This is the algorithm we use on download failure to back off before we retry. | |||||
| * | only expire dorectory info on a successful bootstrap. | Nick Mathewson | 2020-11-30 | 2 | -2/+3 | |
| | | ||||||
| * | Add tests for blob_fname failing cases | Nick Mathewson | 2020-11-30 | 1 | -0/+17 | |
| | | ||||||
| * | More tests for sqlite.rs | Nick Mathewson | 2020-11-30 | 1 | -3/+46 | |
| | | ||||||
| * | Initial tests for authcert storage | Nick Mathewson | 2020-11-30 | 2 | -4/+31 | |
| | | ||||||
| * | tor-dirmgr: Refactor storage not to take AuthCert type. | Nick Mathewson | 2020-11-30 | 3 | -11/+63 | |
| | | | | | Add a new AuthCertMeta type to make it easier to test. | |||||
| * | tor-dirmgr: Refactor storage not to take Microdesc type. | Nick Mathewson | 2020-11-30 | 3 | -8/+13 | |
| | | | | | | Since all it needs is an MDDigest, that's what it should take. This will make it easier to test. | |||||
| * | Add a test for sha3_dual | Nick Mathewson | 2020-11-30 | 1 | -4/+26 | |
| | | ||||||
| * | Fetch microdescriptors in parallel. | Nick Mathewson | 2020-11-24 | 1 | -27/+51 | |
| | | ||||||
| * | A little better logging on bootstrap. | Nick Mathewson | 2020-11-24 | 2 | -3/+13 | |
| | | ||||||
| * | Make legacy-store code disabled by default. | Nick Mathewson | 2020-11-24 | 2 | -2/+4 | |
| | | | | | In the long run we might not want it at all. | |||||
| * | Turn client-demo into a mostly-good client. | Nick Mathewson | 2020-11-24 | 1 | -2/+5 | |
| | | ||||||
| * | Add a function to load a directory from cache. | Nick Mathewson | 2020-11-24 | 1 | -1/+65 | |
| | | ||||||
| * | When a consensus has enough descriptors, mark it non-pending. | Nick Mathewson | 2020-11-24 | 2 | -6/+52 | |
| | | ||||||
| * | When storing consensuses, index them by the sha3 of the whole file. | Nick Mathewson | 2020-11-23 | 4 | -21/+52 | |
| | | ||||||
| * | Document and de-warning the rest of tor-dirmgr | Nick Mathewson | 2020-11-23 | 6 | -51/+219 | |
| | | ||||||
| * | Less copying of the authority list. | Nick Mathewson | 2020-11-23 | 1 | -31/+27 | |
| | | ||||||
| * | A little documentation in tor-dirmgr | Nick Mathewson | 2020-11-23 | 1 | -14/+44 | |
| | | ||||||
| * | Make "storage" module private | Nick Mathewson | 2020-11-20 | 1 | -1/+1 | |
| | | ||||||
| * | Remove a couple of #[allow]s. | Nick Mathewson | 2020-11-20 | 1 | -7/+5 | |
| | | ||||||
| * | Teach DirMgr to use its own NetDir, if present, to bootstrap itself. | Nick Mathewson | 2020-11-20 | 1 | -7/+5 | |
| | | ||||||
| * | 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 | 3 | -62/+121 | |
| | | | | | Also start a DirMgr type. | |||||
| * | Move storage and config logic from netdir to dirmgr. | Nick Mathewson | 2020-11-20 | 8 | -4/+1223 | |
| | | ||||||
| * | Initial pass on directory-manager code. | Nick Mathewson | 2020-11-19 | 1 | -0/+422 | |
| 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. | ||||||
