aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a few easy tests in weights.rsNick Mathewson2020-12-022-3/+56
| |
* | a little more refactoring for testabilityNick Mathewson2020-12-021-7/+13
| |
* | Clarify DFLT_WEIGHT in weights.rsNick Mathewson2020-12-021-1/+4
| |
* | Resolve a couple of TODOs in weight.rsNick Mathewson2020-12-021-3/+4
| | | | | | | | (Thanks to Mike Perry for answers here.)
* | weights: refactor a couple of functions to be more testable.Nick Mathewson2020-12-021-5/+14
| |
* | Use a slightly prettier syntax in max_weightNick Mathewson2020-12-021-1/+2
| |
* | Run cargo fix --edition-idiomsNick Mathewson2020-12-029-15/+15
| |
* | Fix a few comments in weight.rsNick Mathewson2020-12-021-12/+17
| |
* | Use a better calculation for deciding if we have enough paths.Nick Mathewson2020-12-022-12/+62
| |
* | Implement correct (?) weighting for path selection.Nick Mathewson2020-12-025-88/+401
| |
* | Fix a couple of clippy warnings in tor-dirclient.Nick Mathewson2020-12-022-2/+3
| |
* | Abandon directory circuits on most kinds of directory failure.Nick Mathewson2020-12-023-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 Mathewson2020-12-011-8/+8
|
* Bump to latest async-ioNick Mathewson2020-12-011-1/+1
|
* Expose UniqId types for channels and circuitsNick Mathewson2020-12-014-14/+30
|
* Rename LogId -> UniqId.Nick Mathewson2020-12-017-106/+125
|
* Derive more types for circuit and channel LogIdsNick Mathewson2020-12-012-2/+2
|
* Enforce uniqueness on circuit and channel logidsNick Mathewson2020-12-011-3/+9
|
* tor-dirmgr: retry up to 3 times on download failure.Nick Mathewson2020-12-012-4/+118
|
* tor-dirclient: add timeoutsNick Mathewson2020-12-015-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 Mathewson2020-12-012-10/+15
|
* tor-dirmgr: tests for storage.rsNick Mathewson2020-12-011-0/+38
|
* Add a decorrelated-jitter implementation.Nick Mathewson2020-11-302-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 Mathewson2020-11-302-2/+3
|
* Add tests for blob_fname failing casesNick Mathewson2020-11-301-0/+17
|
* More tests for sqlite.rsNick Mathewson2020-11-301-3/+46
|
* Initial tests for authcert storageNick Mathewson2020-11-302-4/+31
|
* tor-dirmgr: Refactor storage not to take AuthCert type.Nick Mathewson2020-11-303-11/+63
| | | | Add a new AuthCertMeta type to make it easier to test.
* tor-dirmgr: Refactor storage not to take Microdesc type.Nick Mathewson2020-11-303-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_dualNick Mathewson2020-11-301-4/+26
|
* Add a few more tests for tor-certs.Nick Mathewson2020-11-302-4/+101
|
* Fix a couple of new clippy warnings.Nick Mathewson2020-11-282-2/+2
|
* Upgrade a couple of dependenciesNick Mathewson2020-11-284-4/+4
|
* Implement a maximum length for directory responsesNick Mathewson2020-11-253-4/+31
|
* Extract another function in tor-dirclientNick Mathewson2020-11-251-16/+28
|
* Better error types for tor-dirclientNick Mathewson2020-11-254-9/+33
|
* tor-dirclient: add support for partial documents.Nick Mathewson2020-11-253-39/+87
| | | | | | Some requests are still useful when we get only a partial response -- like those where we're asking for a bunch of documents at once. For those, we should return any nonempty partial result.
* Document newer modulesNick Mathewson2020-11-251-7/+27
|
* Update README to mention current state.Nick Mathewson2020-11-251-14/+16
|
* A couple more tests in tor-certNick Mathewson2020-11-252-1/+61
|
* Add a function to retire circuits.Nick Mathewson2020-11-241-0/+29
|
* change default socks proxy port to 9150Nick Mathewson2020-11-241-1/+1
|
* Drop unsupported requests (like RESOLVE)Nick Mathewson2020-11-241-0/+5
|
* Fetch microdescriptors in parallel.Nick Mathewson2020-11-241-27/+51
|
* A little better logging on bootstrap.Nick Mathewson2020-11-243-5/+20
|
* Make legacy-store code disabled by default.Nick Mathewson2020-11-243-2/+8
| | | | In the long run we might not want it at all.
* typo fixNick Mathewson2020-11-241-1/+1
|
* Reject .onion addresses for now.Nick Mathewson2020-11-241-0/+5
|
* Turn client-demo into a mostly-good client.Nick Mathewson2020-11-242-163/+47
|
* Add a function to load a directory from cache.Nick Mathewson2020-11-242-1/+70
|