| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Move NetDirConfig into its own module. | Nick Mathewson | 2020-11-20 | 1 | -142/+2 | |
| | | ||||||
| * | Move some netdir code into submodules. | Nick Mathewson | 2020-11-20 | 3 | -145/+164 | |
| | | | | | | The Authority type gets its own module; so does the ability to load from legacy storage. | |||||
| * | Remove "dumpdir" example as obsolete | Nick Mathewson | 2020-11-20 | 1 | -33/+0 | |
| | | ||||||
| * | Initial pass on directory-manager code. | Nick Mathewson | 2020-11-19 | 5 | -55/+129 | |
| | | | | | | | | | 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. | |||||
| * | Add support for using fallback directories in path construction | Nick Mathewson | 2020-11-19 | 2 | -9/+61 | |
| | | | | | | | This is mainly a refactoring commit, with a little new code. It also adds #[derive(Copy,Clone)] for a few types. | |||||
| * | Netdir: improve representation | Nick Mathewson | 2020-11-17 | 1 | -48/+76 | |
| | | | | | | Now a netdir no longer holds unwanted microdescs, and it always holds a weight function. | |||||
| * | Netdir: add functions to add mds, and list missing mds | Nick Mathewson | 2020-11-17 | 1 | -0/+25 | |
| | | ||||||
| * | Netdir: only expose a netdir object if we have enough directory info | Nick Mathewson | 2020-11-17 | 3 | -13/+61 | |
| | | | | | | The calculation isn't completely right here, but it's a fair stopgap. | |||||
| * | Include a list of fallback directories in tor-netdir | Nick Mathewson | 2020-11-16 | 4 | -0/+881 | |
| | | ||||||
| * | Checkpoint work on a sqlite backend. | Nick Mathewson | 2020-11-16 | 7 | -37/+649 | |
| | | | | | | | | | | | | Among other stuff, revert parts of previous commit that introduced a ReadableStore abstraction: there isn't a good abstraction hat covers both Tor legacy stores and sqlite stores-- or if there is, I'll have to find it organizally. This isn't a final version: it probably has bugs, and it needs documentation and more tests. But before I do those, I want to sanity-check the API by drafting the next layer up on the stack. | |||||
| * | Have the consensus-parsing code expose the signed piece of the consensus. | Nick Mathewson | 2020-11-16 | 1 | -1/+2 | |
| | | ||||||
| * | Checkpoint work on making storage backend generic | Nick Mathewson | 2020-11-14 | 5 | -53/+188 | |
| | | | | | Also uses mmap for loading stuff. | |||||
| * | Upgrade dependencies | Nick Mathewson | 2020-11-10 | 1 | -1/+1 | |
| | | ||||||
| * | netdir: remove interior mutability. | Nick Mathewson | 2020-11-04 | 1 | -15/+17 | |
| | | ||||||
| * | Add a new circuit-manager crate and move path selection there. | Nick Mathewson | 2020-11-02 | 1 | -1/+12 | |
| | | ||||||
| * | Remove a bunch of dbg! calls. | Nick Mathewson | 2020-10-26 | 1 | -3/+0 | |
| | | ||||||
| * | More documentation in tor-netdoc. | Nick Mathewson | 2020-10-26 | 1 | -1/+3 | |
| | | ||||||
| * | netdir: don't use relays with NoEdConsensus flag set. | Nick Mathewson | 2020-10-19 | 1 | -1/+1 | |
| | | ||||||
| * | Improvements to Relay type in tor-netdir. | Nick Mathewson | 2020-10-19 | 1 | -28/+39 | |
| | | | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity. | |||||
| * | Cleanup from prop315 implementation. | Nick Mathewson | 2020-10-16 | 1 | -1/+1 | |
| | | | | | | | | | Most of the fixes here are just removing comments that said "this isn't technically required but I'm going to pretend it is". I also made the "protocols" field in microdescs out of its Option<>, since we're now requiring that. | |||||
| * | Run "cargo upgrade". | Nick Mathewson | 2020-10-15 | 1 | -1/+1 | |
| | | ||||||
| * | Use Ed25519Identity in microdescriptors. | Nick Mathewson | 2020-10-15 | 1 | -2/+9 | |
| | | ||||||
| * | Test the pick_weighted function in tor-netdir | Nick Mathewson | 2020-10-10 | 1 | -0/+128 | |
| | | ||||||
| * | Remove a couple of allow(unused) notations | Nick Mathewson | 2020-10-09 | 1 | -1/+0 | |
| | | ||||||
| * | Move around the modules inside tor-netdoc. | Nick Mathewson | 2020-09-29 | 1 | -3/+3 | |
| | | | | | | This change just gives them a more logical breakdown into parsing, documents, and misc other types. | |||||
| * | Rename remaining get_ accessors | Nick Mathewson | 2020-09-28 | 2 | -19/+19 | |
| | | ||||||
| * | Rename some identifiers in tor-linkspec. | Nick Mathewson | 2020-09-28 | 1 | -8/+8 | |
| | | | | | By convention, rust accessor functions don't start with 'get'. | |||||
| * | Rename ExtendTarget to CircTarget. | Nick Mathewson | 2020-09-28 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a few clippy issues | Nick Mathewson | 2020-09-27 | 1 | -2/+2 | |
| | | ||||||
| * | Document private members in most crates | Nick Mathewson | 2020-09-24 | 3 | -1/+30 | |
| | | ||||||
| * | Add documentation for tor-netdir crate | Nick Mathewson | 2020-09-13 | 3 | -37/+140 | |
| | | ||||||
| * | Make client-demo launch a request to www.torproject.org:80 | Nick Mathewson | 2020-09-12 | 1 | -0/+5 | |
| | | ||||||
| * | Implement extend2/extended2 handshake. | Nick Mathewson | 2020-09-12 | 1 | -0/+3 | |
| | | | | | | | | This is not a production-ready implementation: it will break if a circuit is used for anything while an extend is pending. Client-demo can now build 3-hop circuits. | |||||
| * | Pare down and sort dependencies | Nick Mathewson | 2020-09-09 | 1 | -2/+3 | |
| | | ||||||
| * | Run cargo upgrade, except for stream-cipher. | Nick Mathewson | 2020-09-09 | 1 | -5/+5 | |
| | | ||||||
| * | netdir: downgrade a log | Nick Mathewson | 2020-09-09 | 1 | -2/+2 | |
| | | ||||||
| * | netdir: look in right path for cached-microdescs.new | Nick Mathewson | 2020-09-09 | 1 | -1/+1 | |
| | | ||||||
| * | New "linkspec" module to encapsulate info needed to connect/extend. | Nick Mathewson | 2020-09-08 | 2 | -0/+26 | |
| | | ||||||
| * | rename weightfn variants | Nick Mathewson | 2020-09-08 | 1 | -11/+11 | |
| | | ||||||
| * | Add a handy function for picking a random relay. | Nick Mathewson | 2020-09-08 | 3 | -2/+46 | |
| | | ||||||
| * | Start on accessors for relay weight. | Nick Mathewson | 2020-09-08 | 1 | -1/+45 | |
| | | ||||||
| * | netdir: add the ability to add authorities from a chutney directory. | Nick Mathewson | 2020-09-08 | 2 | -1/+37 | |
| | | ||||||
| * | netdir: Add an extra day's tolerance to consensus timeouts | Nick Mathewson | 2020-09-08 | 1 | -0/+2 | |
| | | ||||||
| * | Bugfix: parse ed25519 ids right in mds | Nick Mathewson | 2020-09-08 | 1 | -1/+1 | |
| | | ||||||
| * | Netdir: a few more accessors | Nick Mathewson | 2020-09-08 | 2 | -6/+44 | |
| | | ||||||
| * | Fix clippy warnings; improve key type for consensus. | Nick Mathewson | 2020-09-07 | 1 | -8/+19 | |
| | | ||||||
| * | Start on a 'netdir' crate to wrap netdoc. | Nick Mathewson | 2020-09-07 | 4 | -0/+237 | |
| For now, this assumes an existing Tor cache directory. | ||||||
