| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | Refactor NetDir a little for space savings and updating | Nick Mathewson | 2020-12-06 | 1 | -19/+96 | |
| |/ / / | | | | | | | | | | | | | | | | | | | Rather than having the NetDir own its microdescs and consensus, give it Arc<>s for them. This way, we can do a shallow copy of a NetDir to work around mutability issues that would otherwise make it hard to add microdescs to a netdir on the fly. | |||||
| * | | | Also install libsqlite3-dev. | Alexander Færøy | 2020-12-06 | 1 | -0/+2 | |
| | | | | ||||||
| * | | | Add Gitlab CI support. | Alexander Færøy | 2020-12-06 | 1 | -0/+17 | |
| |/ / | ||||||
| * | | Enforce that the periods in a consensus lifetime are nonempty. | Nick Mathewson | 2020-12-04 | 3 | -7/+17 | |
| | | | | | | | | | | | 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 | 3 | -30/+235 | |
| | | | | | | | | | | | This required me to move the sqlite connection from a rwlock into mutex, since it isn't actually Sync. | |||||
| * | | authcert: move location into UncheckedAuthCert. | Nick Mathewson | 2020-12-04 | 1 | -22/+39 | |
| | | | | | | | | | This lets us make AuthCert Send and Sync. | |||||
| * | | tor-dirclient: tweak so that its future is Send. | Nick Mathewson | 2020-12-04 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix a copy-paste bug in netstatus::Lifetime | Nick Mathewson | 2020-12-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | rtcompat: add a function to sleep until a given wallclock time | Nick Mathewson | 2020-12-04 | 1 | -1/+36 | |
| | | | | | | | | | | | (We can't just subtract and sleep, since we should be at least somewhat concerned about clock jumps.) | |||||
| * | | Upgrade async-io | Nick Mathewson | 2020-12-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | TODO | Nick Mathewson | 2020-12-03 | 1 | -10/+11 | |
| | | | ||||||
| * | | A few more tests for role-based weighting | Nick Mathewson | 2020-12-02 | 1 | -0/+36 | |
| | | | ||||||
| * | | Use bwweightscale to avoid miscalculating weights for v2dir relays | Nick Mathewson | 2020-12-02 | 1 | -16/+32 | |
| | | | ||||||
| * | | More tests for weight.rs; find a bug. | Nick Mathewson | 2020-12-02 | 1 | -1/+44 | |
| | | | ||||||
| * | | Add a few easy tests in weights.rs | Nick Mathewson | 2020-12-02 | 2 | -3/+56 | |
| | | | ||||||
| * | | a little more refactoring for testability | Nick Mathewson | 2020-12-02 | 1 | -7/+13 | |
| | | | ||||||
| * | | Clarify DFLT_WEIGHT in weights.rs | Nick Mathewson | 2020-12-02 | 1 | -1/+4 | |
| | | | ||||||
| * | | Resolve a couple of TODOs in weight.rs | Nick Mathewson | 2020-12-02 | 1 | -3/+4 | |
| | | | | | | | | | (Thanks to Mike Perry for answers here.) | |||||
| * | | weights: refactor a couple of functions to be more testable. | Nick Mathewson | 2020-12-02 | 1 | -5/+14 | |
| | | | ||||||
| * | | Use a slightly prettier syntax in max_weight | Nick Mathewson | 2020-12-02 | 1 | -1/+2 | |
| | | | ||||||
| * | | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 9 | -15/+15 | |
| | | | ||||||
| * | | Fix a few comments in weight.rs | Nick Mathewson | 2020-12-02 | 1 | -12/+17 | |
| | | | ||||||
| * | | Use a better calculation for deciding if we have enough paths. | Nick Mathewson | 2020-12-02 | 2 | -12/+62 | |
| | | | ||||||
| * | | Implement correct (?) weighting for path selection. | Nick Mathewson | 2020-12-02 | 5 | -88/+401 | |
| | | | ||||||
| * | | Fix a couple of clippy warnings in tor-dirclient. | Nick Mathewson | 2020-12-02 | 2 | -2/+3 | |
| | | | ||||||
| * | | Abandon directory circuits on most kinds of directory failure. | Nick Mathewson | 2020-12-02 | 3 | -24/+178 | |
| |/ | | | | | (There are more cases that this _doesn't_ handle, but it's a start for now.) | |||||
| * | When retiring circuits, do it by ID, not by reference. | Nick Mathewson | 2020-12-01 | 1 | -8/+8 | |
| | | ||||||
| * | Bump to latest async-io | Nick Mathewson | 2020-12-01 | 1 | -1/+1 | |
| | | ||||||
| * | Expose UniqId types for channels and circuits | Nick Mathewson | 2020-12-01 | 4 | -14/+30 | |
| | | ||||||
| * | Rename LogId -> UniqId. | Nick Mathewson | 2020-12-01 | 7 | -106/+125 | |
| | | ||||||
| * | Derive more types for circuit and channel LogIds | Nick Mathewson | 2020-12-01 | 2 | -2/+2 | |
| | | ||||||
| * | Enforce uniqueness on circuit and channel logids | Nick Mathewson | 2020-12-01 | 1 | -3/+9 | |
| | | ||||||
| * | tor-dirmgr: retry up to 3 times on download failure. | Nick Mathewson | 2020-12-01 | 2 | -4/+118 | |
| | | ||||||
| * | tor-dirclient: add timeouts | Nick Mathewson | 2020-12-01 | 5 | -9/+42 | |
| | | | | | | | | | This adds two timeouts in total: one for sending begin, and getting headers, and one for getting the rest of the data. These timeouts are way too long right now, but at least the code is there. | |||||
| * | 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 | |
| | | ||||||
| * | Add a few more tests for tor-certs. | Nick Mathewson | 2020-11-30 | 2 | -4/+101 | |
| | | ||||||
| * | Fix a couple of new clippy warnings. | Nick Mathewson | 2020-11-28 | 2 | -2/+2 | |
| | | ||||||
| * | Upgrade a couple of dependencies | Nick Mathewson | 2020-11-28 | 4 | -4/+4 | |
| | | ||||||
| * | Implement a maximum length for directory responses | Nick Mathewson | 2020-11-25 | 3 | -4/+31 | |
| | | ||||||
| * | Extract another function in tor-dirclient | Nick Mathewson | 2020-11-25 | 1 | -16/+28 | |
| | | ||||||
