summaryrefslogtreecommitdiff
path: root/tor-netdoc
Commit message (Collapse)AuthorAgeFilesLines
...
* Use interned PortPolicy objects in RouterDescs too.Nick Mathewson2021-03-291-2/+3
|
* Netdoc: Add support for interned PortPolicy objects in MicroDescsNick Mathewson2021-03-295-4/+18
| | | | In C tor, this saved a whole lot of RAM.
* Don't copy exit policies around; instead use Arc.George Kadianakis2021-03-291-6/+7
|
* Add appropriate categories to some Cargo.toml files.Nick Mathewson2021-03-171-0/+1
|
* Add the tor project as an author.Nick Mathewson2021-03-171-1/+1
|
* Add keywords to each Cargo.tomlNick Mathewson2021-03-171-0/+1
|
* Add a description field to all our Cargo.toml filesNick Mathewson2021-03-171-0/+1
|
* Give it a homepage everyplace.Nick Mathewson2021-03-171-0/+1
|
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-3/+3
|
* Update to latest futures, once_cellNick Mathewson2021-02-231-1/+1
|
* Update some dependencies.Nick Mathewson2021-02-191-1/+1
|
* Add support to override network parameters in the configuration.Nick Mathewson2021-02-162-2/+18
|
* Detect consensuses that are signed by the wrong authorities.Nick Mathewson2021-01-251-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 Mathewson2021-01-251-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 Mathewson2021-01-131-1/+1
|
* cargo upgrade.Nick Mathewson2020-12-301-1/+1
|
* Remove some now unused methods from NetParams.Nick Mathewson2020-12-221-27/+0
|
* Expose network parameters more sensibly from NetDir.Nick Mathewson2020-12-221-2/+6
|
* Migrate from lazy_static to once_cell.Nick Mathewson2020-12-227-239/+244
|
* Make sure that a circuit doesn't use relays in the same familyLunar2020-12-162-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 Mathewson2020-12-091-1/+1
|
* Make RSAIdentity implement Copy.Nick Mathewson2020-12-081-2/+2
|
* Resolve a few nightly-only clippy issuesNick Mathewson2020-12-072-13/+6
|
* Enforce that the periods in a consensus lifetime are nonempty.Nick Mathewson2020-12-042-6/+15
| | | | | To be valid, a lifetime must have valid_after < fresh_until < valid_until.
* authcert: move location into UncheckedAuthCert.Nick Mathewson2020-12-041-22/+39
| | | | This lets us make AuthCert Send and Sync.
* Fix a copy-paste bug in netstatus::LifetimeNick Mathewson2020-12-041-1/+1
|
* Add a few easy tests in weights.rsNick Mathewson2020-12-021-2/+1
|
* Run cargo fix --edition-idiomsNick Mathewson2020-12-022-4/+4
|
* Use a better calculation for deciding if we have enough paths.Nick Mathewson2020-12-021-1/+32
|
* Implement correct (?) weighting for path selection.Nick Mathewson2020-12-021-1/+15
|
* When storing consensuses, index them by the sha3 of the whole file.Nick Mathewson2020-11-231-5/+7
|
* Initial pass on directory-manager code.Nick Mathewson2020-11-192-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 Mathewson2020-11-191-5/+3
|
* Add support for using fallback directories in path constructionNick Mathewson2020-11-191-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 Mathewson2020-11-161-0/+16
|
* Type and functions for key ID inspection of AuthCert.Nick Mathewson2020-11-162-27/+52
|
* Have the consensus-parsing code expose the signed piece of the consensus.Nick Mathewson2020-11-161-6/+9
|
* Add accessors for consensus lifetimes.Nick Mathewson2020-11-141-6/+43
|
* Remember the position of authcert and microdescsNick Mathewson2020-11-143-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 Mathewson2020-11-141-0/+126
| | | | Also add the missing str.rs file (oops)
* netdoc: split off string utilsNick Mathewson2020-11-143-57/+4
|
* Use Infallible in tor-netdoc.Nick Mathewson2020-11-111-2/+2
|
* Mark tor_netdoc::err::Pos as Send and SyncNick Mathewson2020-11-111-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 Mathewson2020-11-112-90/+75
|
* Upgrade dependenciesNick Mathewson2020-11-101-1/+1
|
* Add a new circuit-manager crate and move path selection there.Nick Mathewson2020-11-021-0/+8
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-261-2/+2
|
* More documentation in tor-netdoc.Nick Mathewson2020-10-269-2/+123
|
* Use from_bytes name for Ed25519IdentityNick Mathewson2020-10-251-2/+2
|
* Validate master-key-ed25519 field in routerdescsNick Mathewson2020-10-191-1/+14
|