| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | Try adding "test --all" and "fmt" and "clippy". | Nick Mathewson | 2020-12-07 | 1 | -4/+10 | |
| | | | | ||||||
| * | | | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 16 | -41/+40 | |
| |/ / | ||||||
| * | | Fix grammar in a log message | Nick Mathewson | 2020-12-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add a missing documentation comment. | Nick Mathewson | 2020-12-07 | 1 | -0/+1 | |
| | | | ||||||
| * | | Add a few log messages about download timing. | Nick Mathewson | 2020-12-07 | 2 | -2/+12 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/2' into main | Nick Mathewson | 2020-12-07 | 1 | -1/+1 | |
| |\ \ | ||||||
| | * | | Fix typo in pick_path(). | Alexander Færøy | 2020-12-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | This patch fixes a minor typo in the error case when looking for a middle relay for a 3-hop circuit where the error message should say "No middle relay found" and not "No exit relay found". | |||||
| * | | | Merge branch 'mr_4_squashed' into main | Nick Mathewson | 2020-12-07 | 1 | -4/+6 | |
| |\ \ \ | ||||||
| | * | | | Let's try explicit target? | Alexander Færøy | 2020-12-07 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | No need to install Husky hooks on CI. | Alexander Færøy | 2020-12-07 | 1 | -0/+4 | |
| | | | | | ||||||
| | * | | | No need to install libsqlite3-dev on CI servers. | Alexander Færøy | 2020-12-06 | 1 | -2/+0 | |
| | | | | | ||||||
| * | | | | 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 | 2 | -11/+20 | |
| | | | | | | | | | | | | | | | | | | | | | Previously, we'd re-parse them from the database every time we got a new consensus. | |||||
| * | | | | 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 | |
| | | ||||||
