| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add a compatibility layer so we can upgrade rand_core. | Nick Mathewson | 2021-03-18 | 2 | -6/+17 | |
| | | | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible. | |||||
| * | Add the tor project as an author. | Nick Mathewson | 2021-03-17 | 1 | -1/+1 | |
| | | ||||||
| * | Add keywords to each Cargo.toml | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Add a description field to all our Cargo.toml files | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Give it a homepage everyplace. | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Resolve unwrap() instances in tor-netdir. | Nick Mathewson | 2021-03-16 | 3 | -8/+52 | |
| | | | | | | This includes revising the pick_weighted() function to not panic if its inputs are above 2^64 in total. | |||||
| * | Bump dependencies with "cargo upgrade" | Nick Mathewson | 2021-03-06 | 1 | -3/+3 | |
| | | ||||||
| * | Update to latest futures, once_cell | Nick Mathewson | 2021-02-23 | 1 | -1/+1 | |
| | | ||||||
| * | Update some dependencies. | Nick Mathewson | 2021-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | Add support to override network parameters in the configuration. | Nick Mathewson | 2021-02-16 | 3 | -5/+28 | |
| | | ||||||
| * | Apply "deny_unknown_fields" to configuration types. | Nick Mathewson | 2021-02-12 | 1 | -0/+4 | |
| | | ||||||
| * | Make authorities and fallbacks configurable. | Nick Mathewson | 2021-02-11 | 3 | -921/+3 | |
| | | | | | | | | | | | This commit adds configuration options for these values, with the right defaults, and uses those options instead of built-in functions to set them. We also remove the function to extract information from chutney directories: now that arti is configurable, it can be chutney's job to make its own network configurations. | |||||
| * | Resolve a few more XXX-A1 comments in dirmgr. | Nick Mathewson | 2021-01-25 | 1 | -0/+5 | |
| | | ||||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -1/+1 | |
| | | ||||||
| * | Cleanup on DirInfo::circ_params. | Nick Mathewson | 2020-12-22 | 1 | -0/+43 | |
| | | ||||||
| * | Implement the "circwindow" and "ExtendByEd25519ID" parameters | Nick Mathewson | 2020-12-22 | 1 | -4/+0 | |
| | | | | | | | These necessitated a little complexity for our circuit creation/extension API; we might want to refactor that down the road. | |||||
| * | Expose network parameters more sensibly from NetDir. | Nick Mathewson | 2020-12-22 | 4 | -12/+291 | |
| | | ||||||
| * | Migrate from lazy_static to once_cell. | Nick Mathewson | 2020-12-22 | 2 | -7/+5 | |
| | | ||||||
| * | Check ipv6 exit policies when trying to connect to an ipv6 port specifically | Nick Mathewson | 2020-12-22 | 1 | -2/+5 | |
| | | ||||||
| * | Simplification: Every relay is in the same family as itself. | Nick Mathewson | 2020-12-17 | 1 | -0/+5 | |
| | | ||||||
| * | Make sure that a circuit doesn't use relays in the same family | Lunar | 2020-12-16 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | We implement `Relay::in_same_family` which is in turn used by `ExitPathBuilder::pick_path` to avoid picking relays in the same family. Compared to the original C implementation, we are missing support for options EnforceDistinctSubnets and NodeFamilySets. This has only been very lightly tested so far. Closes: #43 | |||||
| * | Write a few misc unit tests | Nick Mathewson | 2020-12-15 | 1 | -0/+33 | |
| | | ||||||
| * | Remember the actual usable ports for an exit after we've built a circuit | Nick Mathewson | 2020-12-14 | 1 | -0/+11 | |
| | | | | | | | | | Previously we'd just remember the port that we _wanted_ a circuit for, and forget all the ports that it _could_ support. This is part of a bigger circmgr revision/refactoring pass; there should be cleanups before I merge this. | |||||
| * | Fix some rustdoc warnings. | Nick Mathewson | 2020-12-09 | 1 | -1/+1 | |
| | | ||||||
| * | upgrade rusqlite | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | Use uniform weight all measured weights are zero. | Nick Mathewson | 2020-12-07 | 1 | -9/+13 | |
| | | ||||||
| * | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 3 | -3/+3 | |
| | | ||||||
| * | Add a missing documentation comment. | Nick Mathewson | 2020-12-07 | 1 | -0/+1 | |
| | | ||||||
| * | Reuse microdescriptors from previous consensus | Nick Mathewson | 2020-12-06 | 1 | -1/+4 | |
| | | | | | | 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. | |||||
| * | 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 | 1 | -1/+55 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | 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 | 1 | -11/+30 | |
| | | ||||||
| * | Implement correct (?) weighting for path selection. | Nick Mathewson | 2020-12-02 | 2 | -66/+379 | |
| | | ||||||
| * | Add a function to load a directory from cache. | Nick Mathewson | 2020-11-24 | 1 | -0/+5 | |
| | | ||||||
| * | When a consensus has enough descriptors, mark it non-pending. | Nick Mathewson | 2020-11-24 | 1 | -0/+5 | |
| | | ||||||
| * | Remove a couple of #[allow]s. | Nick Mathewson | 2020-11-20 | 1 | -1/+0 | |
| | | ||||||
| * | Move storage and config logic from netdir to dirmgr. | Nick Mathewson | 2020-11-20 | 8 | -1195/+0 | |
| | | ||||||
| * | NetDirConfig: Learn fallback directories from chutney configurations too | Nick Mathewson | 2020-11-20 | 2 | -3/+66 | |
| | | ||||||
| * | Missing file: whoops | Nick Mathewson | 2020-11-20 | 1 | -0/+223 | |
| | | ||||||
| * | Use a builder pattern for NetDir. | Nick Mathewson | 2020-11-20 | 1 | -7/+1 | |
| | | ||||||
