| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Re-export configuration types from tor-client. | Nick Mathewson | 2021-10-09 | 10 | -12/+55 | |
| | | | ||||||
| * | | enable checked_conversions lint. | Nick Mathewson | 2021-10-09 | 29 | -22/+74 | |
| | | | ||||||
| * | | Normalize tor-guardmgr warnings | Nick Mathewson | 2021-10-09 | 1 | -6/+6 | |
| | | | ||||||
| * | | Note a possible heisenbug in a unit test. | Nick Mathewson | 2021-10-08 | 1 | -0/+6 | |
| | | | ||||||
| * | | Fix some typos (via the "typos" tool) | Nick Mathewson | 2021-10-08 | 1 | -2/+2 | |
| | | | ||||||
| * | | Add a few tracing calls to tor-guardmgr. | Nick Mathewson | 2021-10-08 | 3 | -17/+74 | |
| | | | ||||||
| * | | Update the tor-guardmgr README.md. | Nick Mathewson | 2021-10-07 | 1 | -1/+97 | |
| | | | ||||||
| * | | Resolve small issues and XXXX/TODO comments in GuardMgr. | Nick Mathewson | 2021-10-07 | 5 | -48/+63 | |
| | | | | | | | | | | | By the time I merge this, most of the comments should have tickets to go with them. | |||||
| * | | Tests for top-level GuardMgr. | Nick Mathewson | 2021-10-07 | 5 | -23/+205 | |
| | | | | | | | | | | | | | | | Also, refactor our message handling to be more like the tor_proto reactors. The previous code had a bug where, once the stream of events was exhausted, we wouldn't actually get any more notifications. | |||||
| * | | Tests for tor_guardmgr::sample. | Nick Mathewson | 2021-10-07 | 1 | -1/+330 | |
| | | | ||||||
| * | | Initial tests for tor_guardmgr::guard | Nick Mathewson | 2021-10-07 | 2 | -0/+296 | |
| | | | ||||||
| * | | Implement persistent state for guard mgr | Nick Mathewson | 2021-10-07 | 2 | -10/+26 | |
| | | | ||||||
| * | | Initial backend implementation for guard node manager. | Nick Mathewson | 2021-10-07 | 14 | -12/+2545 | |
| | | | | | | | | | | | | | | | There are some missing parts here (like persistence and tests) and some incorrect parts (I am 90% sure that the "exploratory circuit" flag is bogus). Also it is not integrated with the circuit manager code. | |||||
| * | | Update total_weight to use UncheckedRelay. | Nick Mathewson | 2021-10-07 | 1 | -3/+7 | |
| | | | ||||||
| * | | Make UncheckedRelay public in tor-netdir. | Nick Mathewson | 2021-10-07 | 1 | -4/+4 | |
| | | | | | | | | | This will let us provide a couple of better APIs for use in tor-guardmgr | |||||
| * | | Add From<u64> for RelayWeight. | Nick Mathewson | 2021-10-07 | 1 | -0/+6 | |
| | | | ||||||
| * | | Change tor-persist to use json instead of toml. | Nick Mathewson | 2021-10-07 | 4 | -20/+22 | |
| | | | | | | | | | | | | | The limitations with toml seemed to be reaching a head, and I wasn't able to refactor the guardmgr code enough to actually have its state be serializable as toml. Json's limitations are much narrower. | |||||
| * | | Fix a type inference complaint in tor-dirmgr's tests. | Nick Mathewson | 2021-10-07 | 1 | -1/+1 | |
| |/ | | | | I have no idea why this just turned up now. | |||||
| * | Update cargo.lock; upgrade to newer rusqlite. | Nick Mathewson | 2021-10-05 | 1 | -1/+1 | |
| | | ||||||
| * | Use subtle and some refactoring to remove branches in ntor | Nick Mathewson | 2021-10-01 | 3 | -22/+54 | |
| | | | | | Closes #163 | |||||
| * | Implement ConstantTimeEq for key ids. | Nick Mathewson | 2021-10-01 | 2 | -4/+16 | |
| | | ||||||
| * | Allow building tor-persist for WASM | Jani Monoses | 2021-10-01 | 2 | -1/+5 | |
| | | ||||||
| * | Clarify why we use a dyn pointer for StorageHandle. | Nick Mathewson | 2021-09-30 | 1 | -1/+7 | |
| | | ||||||
| * | Use StorageHandle in tor_circmgr. | Nick Mathewson | 2021-09-30 | 3 | -70/+15 | |
| | | ||||||
| * | remote unused tor-persist/src/config.rs | Nick Mathewson | 2021-09-30 | 1 | -10/+0 | |
| | | ||||||
| * | Add tests for tor-persist object-safe wrapper. | Nick Mathewson | 2021-09-30 | 1 | -0/+34 | |
| | | ||||||
| * | tor-persist: Add a testing-only state manager that doesn't use disk | Nick Mathewson | 2021-09-30 | 3 | -0/+174 | |
| | | ||||||
| * | Move FsStatemgr to an inner module. | Nick Mathewson | 2021-09-30 | 2 | -187/+194 | |
| | | ||||||
| * | Add an object-safe wrapper for StateMgr. | Nick Mathewson | 2021-09-30 | 2 | -0/+98 | |
| | | | | | | This is an attempt to uplift the trick that tor-circgmr is currently using, since we'll want it in tor-guardmgr too. | |||||
| * | Ensure pick_n_relays returns relays in random order. | Nick Mathewson | 2021-09-29 | 1 | -3/+5 | |
| | | | | | (Also, fix a test) | |||||
| * | tor-netdir: Add RelayWeight type and accessors. | Nick Mathewson | 2021-09-29 | 2 | -0/+129 | |
| | | | | | | I'm not thrilled with this code, but I think it's needed to implement guards correctly. | |||||
| * | tor_netdir::testnet: Correct a documentation error. | Nick Mathewson | 2021-09-29 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdir: Add some accessor that guardmgr will need. | Nick Mathewson | 2021-09-29 | 1 | -2/+67 | |
| | | | | | | | | | We'll need `id_pair_is_listed()` to track whether a sampled guard is (or is not) listed in the consensus. We'll need `missing_descriptor_for` to see whether we've downloaded enough microdescs to use a consensus. | |||||
| * | Typo fix in comment. | Nick Mathewson | 2021-09-29 | 1 | -1/+1 | |
| | | ||||||
| * | update fslock to compile android | Trinity Pointard | 2021-09-25 | 2 | -2/+2 | |
| | | ||||||
| * | Upgrade memmap2, directories, and dirs dependencies. | Nick Mathewson | 2021-09-23 | 3 | -4/+4 | |
| | | ||||||
| * | remove unused dep | Daniel Eades | 2021-09-19 | 1 | -1/+0 | |
| | | ||||||
| * | Enable js feature for getrandom for WASM. | Jani Monoses | 2021-09-17 | 2 | -0/+7 | |
| | | | | | By default rand does not build for WASM browser targets. | |||||
| * | Stop using anyhow in tor-dirclient. | Jani Monoses | 2021-09-16 | 3 | -2/+9 | |
| | | ||||||
| * | tor-netdir: Add a by_id_pair() function to look up a relay by both IDs. | Nick Mathewson | 2021-09-16 | 1 | -1/+21 | |
| | | ||||||
| * | Do not use set_ prefix on derive_builder setters | Jani Monoses | 2021-09-16 | 4 | -11/+11 | |
| | | ||||||
| * | derive 'Default' where possible | Daniel Eades | 2021-09-11 | 2 | -17/+2 | |
| | | ||||||
| * | Add identity-based accessors (and indices) to NetDir. | Nick Mathewson | 2021-09-10 | 1 | -36/+152 | |
| | | | | | | | (Thank goodness for rust; we messed up the coherency in C here so many times, but I'm pretty sure that this time around we can't have gotten it wrong.) | |||||
| * | Merge remote-tracking branch 'origin/mr/77' | Nick Mathewson | 2021-09-10 | 2 | -11/+21 | |
| |\ | ||||||
| | * | Create a separate logging section in config. | Jani Monoses | 2021-09-09 | 2 | -11/+21 | |
| | | | ||||||
| * | | Use derive_builder for Authority and FallbackDir. | Nick Mathewson | 2021-09-10 | 4 | -125/+23 | |
| | | | ||||||
| * | | Suppress a cognitive-complexity lint in tests | Nick Mathewson | 2021-09-09 | 1 | -0/+1 | |
| | | | ||||||
| * | | Typo fixes | Nick Mathewson | 2021-09-09 | 4 | -6/+6 | |
| | | | ||||||
| * | | Add guard-related network parameters. | Nick Mathewson | 2021-09-09 | 1 | -3/+118 | |
| | | | ||||||
| * | | Add an IntegerDays numeric type. | Nick Mathewson | 2021-09-09 | 1 | -0/+54 | |
| | | | ||||||
