| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Add a function to look up a Relay by ChanTarget. | Nick Mathewson | 2021-10-11 | 1 | -0/+8 | |
| | | | ||||||
| * | | Integrate GuardUsability and GuardMonitor into CircuitBuilder. | Nick Mathewson | 2021-10-10 | 3 | -11/+73 | |
| | | | | | | | | | | | | | (When we're building a path with a guard, we need to tell the guard manager whether the path succeeded, and we need to wait to hear whether the guard is usable.) | |||||
| * | | Notify guard manager on network change and state flush. | Nick Mathewson | 2021-10-10 | 6 | -8/+67 | |
| | | | ||||||
| * | | Add a GuardMgr member to CircuitBuilder | Nick Mathewson | 2021-10-10 | 5 | -4/+21 | |
| | | | ||||||
| * | | Change the GuardMgr APIs to no longer be async. | Nick Mathewson | 2021-10-10 | 1 | -32/+18 | |
| | | | ||||||
| * | | Use an mpsc::unbounded() channel in GuardMgr. | Nick Mathewson | 2021-10-10 | 2 | -29/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The advantage here is that we no longer have to use a futures-aware Mutex, or a blocking send operation, and therefore can simplify a bunch of the GuardMgr APIs to no longer be async. That'll avoid having to propagate the asyncness up the stack. The disadvantage is that unbounded channels are just that: nothing in the channel prevents us from overfilling it. Fortunately, the process that consumes from the channel shouldn't block much, and the channel only gets filled when we're planning a circuit path. | |||||
| * | | Require up-to-date x25519-dalek, async_executors, and argh. | Nick Mathewson | 2021-10-09 | 3 | -3/+3 | |
| | | | | | | | | | | | | | | | | | I tried using -Z minimal-versions to downgrade all first-level dependencies to their oldest permitted versions, and found that we were apparently depending on newer features of all three crates. I'm kind of surprised there were only three. | |||||
| * | | Lock down some dirmgr config functions. | Nick Mathewson | 2021-10-09 | 1 | -11/+11 | |
| | | | ||||||
| * | | 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 | |
| | | ||||||
