| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Use interned PortPolicy objects in RouterDescs too. | Nick Mathewson | 2021-03-29 | 1 | -2/+3 | |
| | | ||||||
| * | Netdoc: Add support for interned PortPolicy objects in MicroDescs | Nick Mathewson | 2021-03-29 | 5 | -4/+18 | |
| | | | | | In C tor, this saved a whole lot of RAM. | |||||
| * | Don't copy exit policies around; instead use Arc. | George Kadianakis | 2021-03-29 | 1 | -6/+7 | |
| | | ||||||
| * | Add appropriate categories to some Cargo.toml files. | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | 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 | 2 | -2/+18 | |
| | | ||||||
| * | Detect consensuses that are signed by the wrong authorities. | Nick Mathewson | 2021-01-25 | 1 | -8/+5 | |
| | | | | | | | | | | | | | 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 | |||||
| * | Function to see whether the authorities on a netstatus are correct. | Nick Mathewson | 2021-01-25 | 1 | -0/+48 | |
| | | | | | | We should find out if we believe in the authorities before we even think of downloading their certs. | |||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -1/+1 | |
| | | ||||||
| * | Remove some now unused methods from NetParams. | Nick Mathewson | 2020-12-22 | 1 | -27/+0 | |
| | | ||||||
| * | Expose network parameters more sensibly from NetDir. | Nick Mathewson | 2020-12-22 | 1 | -2/+6 | |
| | | ||||||
| * | Migrate from lazy_static to once_cell. | Nick Mathewson | 2020-12-22 | 7 | -239/+244 | |
| | | ||||||
| * | Make sure that a circuit doesn't use relays in the same family | Lunar | 2020-12-16 | 2 | -0/+30 | |
| | | | | | | | | | | | | | | 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 | |||||
| * | Fix some rustdoc warnings. | Nick Mathewson | 2020-12-09 | 1 | -1/+1 | |
| | | ||||||
| * | Make RSAIdentity implement Copy. | Nick Mathewson | 2020-12-08 | 1 | -2/+2 | |
| | | ||||||
| * | Resolve a few nightly-only clippy issues | Nick Mathewson | 2020-12-07 | 2 | -13/+6 | |
| | | ||||||
| * | Enforce that the periods in a consensus lifetime are nonempty. | Nick Mathewson | 2020-12-04 | 2 | -6/+15 | |
| | | | | | | To be valid, a lifetime must have valid_after < fresh_until < valid_until. | |||||
| * | authcert: move location into UncheckedAuthCert. | Nick Mathewson | 2020-12-04 | 1 | -22/+39 | |
| | | | | | This lets us make AuthCert Send and Sync. | |||||
| * | Fix a copy-paste bug in netstatus::Lifetime | Nick Mathewson | 2020-12-04 | 1 | -1/+1 | |
| | | ||||||
| * | Add a few easy tests in weights.rs | Nick Mathewson | 2020-12-02 | 1 | -2/+1 | |
| | | ||||||
| * | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 2 | -4/+4 | |
| | | ||||||
| * | Use a better calculation for deciding if we have enough paths. | Nick Mathewson | 2020-12-02 | 1 | -1/+32 | |
| | | ||||||
| * | Implement correct (?) weighting for path selection. | Nick Mathewson | 2020-12-02 | 1 | -1/+15 | |
| | | ||||||
| * | When storing consensuses, index them by the sha3 of the whole file. | Nick Mathewson | 2020-11-23 | 1 | -5/+7 | |
| | | ||||||
| * | Initial pass on directory-manager code. | Nick Mathewson | 2020-11-19 | 2 | -1/+7 | |
| | | | | | | | | | This code can now bootstrap from the network, cache the results, and reload from cache. There's lots more work to do here, including a big pile of tidying and refactoring and testing and documentation. | |||||
| * | Refactor AuthCertKeyIds::cmp(). | Nick Mathewson | 2020-11-19 | 1 | -5/+3 | |
| | | ||||||
| * | Add support for using fallback directories in path construction | Nick Mathewson | 2020-11-19 | 1 | -1/+14 | |
| | | | | | | | This is mainly a refactoring commit, with a little new code. It also adds #[derive(Copy,Clone)] for a few types. | |||||
| * | Make AuthCertKeyIds sortable. | Nick Mathewson | 2020-11-16 | 1 | -0/+16 | |
| | | ||||||
| * | Type and functions for key ID inspection of AuthCert. | Nick Mathewson | 2020-11-16 | 2 | -27/+52 | |
| | | ||||||
| * | Have the consensus-parsing code expose the signed piece of the consensus. | Nick Mathewson | 2020-11-16 | 1 | -6/+9 | |
| | | ||||||
| * | Add accessors for consensus lifetimes. | Nick Mathewson | 2020-11-14 | 1 | -6/+43 | |
| | | ||||||
| * | Remember the position of authcert and microdescs | Nick Mathewson | 2020-11-14 | 3 | -12/+64 | |
| | | | | | | We'll need this to save them to disk after parsing them from an upstream source. | |||||
| * | netdoc: Add a bogus "Extent()" facility to remember where things were. | Nick Mathewson | 2020-11-14 | 1 | -0/+126 | |
| | | | | | Also add the missing str.rs file (oops) | |||||
| * | netdoc: split off string utils | Nick Mathewson | 2020-11-14 | 3 | -57/+4 | |
| | | ||||||
| * | Use Infallible in tor-netdoc. | Nick Mathewson | 2020-11-11 | 1 | -2/+2 | |
| | | ||||||
| * | Mark tor_netdoc::err::Pos as Send and Sync | Nick Mathewson | 2020-11-11 | 1 | -0/+9 | |
| | | | | | | | I am about 99% sure this is safe: the pointer that this type contains is never dereferenced, and is only compared to the bounds of a string later on. | |||||
| * | Use bitflags crate to represent RouterFlags. | Nick Mathewson | 2020-11-11 | 2 | -90/+75 | |
| | | ||||||
| * | Upgrade dependencies | Nick Mathewson | 2020-11-10 | 1 | -1/+1 | |
| | | ||||||
| * | Add a new circuit-manager crate and move path selection there. | Nick Mathewson | 2020-11-02 | 1 | -0/+8 | |
| | | ||||||
| * | Remove a bunch of dbg! calls. | Nick Mathewson | 2020-10-26 | 1 | -2/+2 | |
| | | ||||||
| * | More documentation in tor-netdoc. | Nick Mathewson | 2020-10-26 | 9 | -2/+123 | |
| | | ||||||
| * | Use from_bytes name for Ed25519Identity | Nick Mathewson | 2020-10-25 | 1 | -2/+2 | |
| | | ||||||
| * | Validate master-key-ed25519 field in routerdescs | Nick Mathewson | 2020-10-19 | 1 | -1/+14 | |
| | | ||||||
