| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Check declared post-digest on consensus diffs. | Nick Mathewson | 2021-01-25 | 1 | -5/+6 | |
| | | ||||||
| * | Don't give up easily on initial bootstrap attempts. | Nick Mathewson | 2021-01-25 | 1 | -7/+14 | |
| | | ||||||
| * | Resolve a few more XXX-A1 comments in dirmgr. | Nick Mathewson | 2021-01-25 | 1 | -18/+29 | |
| | | ||||||
| * | Remove some not-necessary XXX-A1s in sqlite.rs | Nick Mathewson | 2021-01-25 | 1 | -3/+0 | |
| | | ||||||
| * | dirmgr: fix usage and meaning of `pending`. | Nick Mathewson | 2021-01-25 | 2 | -14/+34 | |
| | | | | | | The documentation and implementation diverged; the documentation was correct. | |||||
| * | Detect consensuses that are signed by the wrong authorities. | Nick Mathewson | 2021-01-25 | 3 | -13/+57 | |
| | | | | | | | | | | | | | With this patch we don't consider a consensus to be even potentially well-signed if the authorities that are listed as signing it don't contain enough authorities we believe in. Otherwise, we'd just try fetching certs for them and failing forever. (I found this by switching from a chutney network to the main network without cleaning out my cache.) Closes #44 | |||||
| * | dirmgr: Extra explanatory comments. | Nick Mathewson | 2021-01-25 | 1 | -3/+23 | |
| | | | | | Also replace some "disk" with "cache" in log messages | |||||
| * | require latest futures crate | Nick Mathewson | 2021-01-15 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few dependencies. | Nick Mathewson | 2021-01-13 | 1 | -3/+3 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -2/+2 | |
| | | ||||||
| * | dirmgr: Handle another error in download_mds(). | George Kadianakis | 2020-12-23 | 1 | -8/+12 | |
| | | | | | Co-authored-by: David Goulet <[email protected]> | |||||
| * | dirmgr: Handle some errors in download_mds(). | George Kadianakis | 2020-12-23 | 1 | -3/+8 | |
| | | | | | Co-authored-by: David Goulet <[email protected]> | |||||
| * | upgrade to latest anyhow | Nick Mathewson | 2020-12-21 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a few clippy warnings | Nick Mathewson | 2020-12-17 | 1 | -2/+5 | |
| | | ||||||
| * | Download and use consensus diffs. | Nick Mathewson | 2020-12-17 | 3 | -18/+104 | |
| | | | | | | Had to refactor a few methods for database access, and fix a bug where we were storing valid_until times with the wrong information. | |||||
| * | dirmgr: Refactor so it has no unusable state. | Nick Mathewson | 2020-12-15 | 2 | -25/+57 | |
| | | | | | | | With this new API, if you have a DirMgr, it has a NetDir that was bootstrapped, and was live at least once during your program's execution. | |||||
| * | Add a "RetryError" to capture the idea of multiple failed attempts. | Nick Mathewson | 2020-12-12 | 2 | -16/+11 | |
| | | | | | | | When we try to do something a few times and it fails each time, it can be a good idea to remember why the individual failures happened. | |||||
| * | upgrade rusqlite | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | upgrade to require latest anyhow. | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | Document a problem on network transition | Nick Mathewson | 2020-12-08 | 1 | -0/+11 | |
| | | ||||||
| * | De-parameterize ChanMgr and everything that wraps it. | Nick Mathewson | 2020-12-08 | 2 | -77/+32 | |
| | | | | | | | | | | | | | | | This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel. | |||||
| * | Fix a logic bug in the --chutney-dir option. | Nick Mathewson | 2020-12-07 | 1 | -4/+6 | |
| | | | | | | | | It was recording the dirport for each chutney authority as though it were an orport. That obviously won't work. Closes arti#45. | |||||
| * | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 2 | -19/+22 | |
| | | ||||||
| * | Fix grammar in a log message | Nick Mathewson | 2020-12-07 | 1 | -1/+1 | |
| | | ||||||
| * | Add a few log messages about download timing. | Nick Mathewson | 2020-12-07 | 2 | -2/+12 | |
| | | ||||||
| * | 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 | 2 | -10/+15 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | Upgrade a couple of dependencies | Nick Mathewson | 2020-11-28 | 1 | -1/+1 | |
| | | ||||||
| * | 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 | 3 | -2/+8 | |
| | | | | | 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 | |
| | | ||||||
