| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Prefer "relay" over "router" in docs and APIs. | Nick Mathewson | 2021-05-18 | 7 | -109/+107 | |
| | | ||||||
| * | WIP: more builders. | Nick Mathewson | 2021-05-13 | 1 | -2/+1 | |
| | | ||||||
| * | Resolve clippy warnings from Rust 1.52. | Nick Mathewson | 2021-05-07 | 3 | -18/+10 | |
| | | | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them. | |||||
| * | More tests for tor-netdir::weight | Nick Mathewson | 2021-05-07 | 3 | -9/+37 | |
| | | ||||||
| * | Fix documentation warnings. | Nick Mathewson | 2021-05-05 | 1 | -1/+1 | |
| | | ||||||
| * | Add a consensus builder, for testing. | Nick Mathewson | 2021-05-05 | 6 | -9/+679 | |
| | | ||||||
| * | Add an authcert builder, for testing. | Nick Mathewson | 2021-05-05 | 2 | -0/+218 | |
| | | ||||||
| * | Add a microdesc builder, for testing. | Nick Mathewson | 2021-05-05 | 4 | -0/+281 | |
| | | ||||||
| * | Add trait_duplication_in_bounds warning. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 | |
| | | ||||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 | |
| | | ||||||
| * | Add a few more clippy warnings | Nick Mathewson | 2021-05-03 | 1 | -0/+5 | |
| | | ||||||
| * | Add some more clippy warnings to our list. | Nick Mathewson | 2021-04-27 | 1 | -1/+6 | |
| | | ||||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 7 | -1/+12 | |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | |||||
| * | cargo fix --edition-idioms | Nick Mathewson | 2021-04-26 | 1 | -1/+1 | |
| | | ||||||
| * | Major revision on DirMgr logic -- almost a complete rewrite. | Nick Mathewson | 2021-04-13 | 1 | -0/+13 | |
| | | | | | | | | | The big idea of this revision is to separate the code that knows about doing downloads from the code that decides what to download. Later, we can make a similar change for database access. With these changes together, we can make our code much more testable, and eventually enable more download types in parallel. | |||||
| * | DirMgr: add text() and texts() functions to ask for document text | Nick Mathewson | 2021-03-31 | 2 | -3/+3 | |
| | | | | | | Also, start on a larger refactoring where we ask for documents by their ID. | |||||
| * | Make ConsensusFlavor a real type. | Nick Mathewson | 2021-03-31 | 2 | -27/+58 | |
| | | | | | Previously we were "stringly typing" this field. Now it's time to stop. | |||||
| * | Move RdDigest to routerdesc.rs | Nick Mathewson | 2021-03-30 | 3 | -7/+4 | |
| | | ||||||
| * | dir: Add server descriptor directory request | David Goulet | 2021-03-30 | 1 | -0/+3 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | rs: Add getters to router status objects | David Goulet | 2021-03-30 | 1 | -0/+12 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | Make RouterFlags public. | Nick Mathewson | 2021-03-30 | 1 | -4/+11 | |
| | | ||||||
| * | Add an accessor for the members of a relay family. | Nick Mathewson | 2021-03-30 | 1 | -0/+6 | |
| | | ||||||
| * | Add a missing member documentation | Nick Mathewson | 2021-03-30 | 1 | -0/+8 | |
| | | ||||||
| * | Add a fuzzer for NsConsensus documents | Nick Mathewson | 2021-03-30 | 2 | -0/+15 | |
| | | ||||||
| * | Add a test case for NS consensus parsing. | Nick Mathewson | 2021-03-30 | 3 | -1/+269 | |
| | | ||||||
| * | NS consensus documents have signatures on SHA1 hashes, not SHA256. | Nick Mathewson | 2021-03-30 | 1 | -8/+29 | |
| | | ||||||
| * | Implement parsing for ns-flavored consensus documents. | Nick Mathewson | 2021-03-30 | 3 | -202/+317 | |
| | | ||||||
| * | Make RouterStatus a trait and Consensus into a generic type. | Nick Mathewson | 2021-03-30 | 3 | -55/+132 | |
| | | | | | This breaks surprisingly little. | |||||
| * | Start moving MdConsensus-specific code to a submodule. | Nick Mathewson | 2021-03-30 | 2 | -172/+189 | |
| | | | | | This is part of refactoring to handle NsConsensuses. | |||||
| * | Resolve rustdoc warnings. | Nick Mathewson | 2021-03-29 | 1 | -3/+3 | |
| | | ||||||
| * | Fix a bunch more new clippy lints in Rust 1.51 | Nick Mathewson | 2021-03-29 | 4 | -17/+16 | |
| | | | | | | | | | The major types are: * You implemented Into when you should have implemented From. * You sliced a slice when you didn't have to. * You said Ok(x?) when you could have said x. * You said Vec::new(); push(); push(); when you could have said vec![]. | |||||
| * | Fix Rust-1.51 clippy warnings about acronyms in camel case. | Nick Mathewson | 2021-03-29 | 8 | -171/+177 | |
| | | | | | This is painful, but we shouldn't have to do it again. | |||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 5 | -54/+54 | |
| | | ||||||
| * | Add an intern.rs module that I forgot. | Nick Mathewson | 2021-03-29 | 1 | -0/+54 | |
| | | ||||||
| * | 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 | |
| | | ||||||
