| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | Add ability to launch a circuit to _some_ exit, without giving ports. | Nick Mathewson | 2021-08-11 | 3 | -3/+67 | |
| | | | | | | | | | | | | | | | | | | | We'll want this for testing circuits and for RESOLVE requests. Closes #155. | |||||
| * | | | Add functions to check whether port policies are nonempty. | Nick Mathewson | 2021-08-11 | 2 | -1/+33 | |
| | | | | ||||||
| * | | | fallbackdir: Regenerate list | David Goulet | 2021-08-11 | 1 | -869/+879 | |
| | | | | | | | | | | | | | | | | | | | Closes #160 Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | Bump to latest arti-corpora. | Nick Mathewson | 2021-08-11 | 1 | -0/+0 | |
| | | | | ||||||
| * | | | Upgrade to latest fslock and use its per-fd exclusion feature. | Nick Mathewson | 2021-08-11 | 6 | -23/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest version of the fslock crate has an optional feature that allows file-locks to exclude one another even if they are opened within the same process. On Windows this behavior comes for free; on Unix it depends on an internal map of (dev,inode) pairs. Here we upgrade to the latest version of the fslock crate, and use this feature. | |||||
| * | | | Use the correct unused-circuit timeout when we're learning timeouts. | Nick Mathewson | 2021-08-10 | 5 | -5/+32 | |
| |/ / | ||||||
| * | | Make a basic daemon task to close circuits. | Nick Mathewson | 2021-08-10 | 2 | -7/+41 | |
| | | | | | | | | | | | | | The timing is not ideal here; we'll want to refactor it later. Closes #51 | |||||
| * | | Use real network parameters to set unused-circ timeouts. | Nick Mathewson | 2021-08-10 | 5 | -5/+110 | |
| | | | ||||||
| * | | Initial code to expire unused circuits. | Nick Mathewson | 2021-08-10 | 3 | -39/+121 | |
| | | | ||||||
| * | | Make MAX_CIRC_DIRTINESS configurable. | Nick Mathewson | 2021-08-10 | 4 | -14/+46 | |
| | | | ||||||
| * | | Note functionality that maybe could move. | Nick Mathewson | 2021-08-10 | 1 | -0/+5 | |
| | | | ||||||
| * | | Have CircMgr::new() return an Arc<>. | Nick Mathewson | 2021-08-10 | 2 | -9/+10 | |
| | | | ||||||
| * | | Update state.rs info message | Ben Armstead | 2021-08-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/51' | Nick Mathewson | 2021-08-09 | 1 | -7/+21 | |
| |\ \ | ||||||
| | * | | shrink result to actual number of bytes read once on return | Felipe Lema | 2021-08-05 | 1 | -6/+8 | |
| | | | | ||||||
| | * | | fix clippy::redundant_slicing | Felipe Lema | 2021-08-05 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | use loop + `read` + slice-of-result | Felipe Lema | 2021-08-05 | 1 | -20/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loop into several reads because we want to short-circuit if case we're reading too many bytes. Added handling of allocation of `result` so we can use the "next window buffer" for `read`. This way we can read on steps and short-circuit when needed. | |||||
| | * | | read from stream in a single go (not looping) | Felipe Lema | 2021-08-03 | 1 | -27/+21 | |
| | | | | ||||||
| | * | | don't use intermediate buffer, but read directly into `result` | Felipe Lema | 2021-08-03 | 1 | -3/+1 | |
| | | | | ||||||
| * | | | Refactor double_timeout() to make its timeouts futures in advance | Nick Mathewson | 2021-08-09 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since these futures rely on the current time when they decide when to expire, we don't want them looking at the current time from inside the call to runtime.spawn or after that call. Instead we'd like them to look immediately on construction. This approach is based on a comment from janimo on #149. It doesn't fix #149, though. | |||||
| * | | | Light edits on CONTRIBUTING.md | Nick Mathewson | 2021-08-09 | 1 | -9/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly, drop the suggestion to fetch submodules, and explain what more things do. (The only submodule we have now is the fuzzing corpora, which most people won't want.) (I am not 100% convinced that we should keep 100% of the instructions for working with git in the long term. Do many other projects have these? Is there a tutorial we should link to instead?) | |||||
| * | | | Merge remote-tracking branch 'origin/mr/54' | Nick Mathewson | 2021-08-09 | 1 | -0/+63 | |
| |\ \ \ | ||||||
| | * | | | WIP: Add development environment setup tips | S0AndS0 | 2021-08-06 | 1 | -0/+63 | |
| | | | | | ||||||
| * | | | | Flush persistent state periodically, and on (clean-ish) exit. | Nick Mathewson | 2021-08-09 | 4 | -10/+98 | |
| | | | | | ||||||
| * | | | | Don't try to lock an already-locked lockfile. | Nick Mathewson | 2021-08-09 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | Also, remove a dbg | |||||
| * | | | | Implement initial persistence for circuit timeout data | Nick Mathewson | 2021-08-06 | 10 | -30/+214 | |
| | | | | | | | | | | | | | | | | | | | | | There's more to do here: we never actually store the data we get here, and we won't work at all when somebody else has the lock. | |||||
| * | | | | Initial persistent-state-manager code. | Nick Mathewson | 2021-08-06 | 5 | -0/+311 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit defines a crate (tor-persist) that describes an abstract key-value store using serde, plus an on-disk implementation using Toml and fslock. | |||||
| * | | | | Add unnecessary_wraps to the big warning list. | Nick Mathewson | 2021-08-06 | 26 | -1/+26 | |
| |/ / / | ||||||
| * | | | Update READMEs. | Nick Mathewson | 2021-08-06 | 3 | -11/+15 | |
| | | | | ||||||
| * | | | Update arti-corpora to latest. | Nick Mathewson | 2021-08-06 | 2 | -1/+1 | |
| | | | | ||||||
| * | | | Simplify SqliteStore::from_path | Nick Mathewson | 2021-08-06 | 1 | -10/+4 | |
| | | | | ||||||
| * | | | Missing tor-circmgr/src/config.rs | Nick Mathewson | 2021-08-05 | 1 | -0/+67 | |
| | | | | ||||||
| * | | | Update to rsa 0.5.0. Minor compatibility issues. | Nick Mathewson | 2021-08-05 | 2 | -5/+6 | |
| | | | | ||||||
| * | | | Make circuit building and management configurable from the CLI. | Nick Mathewson | 2021-08-05 | 3 | -3/+44 | |
| | | | | ||||||
| * | | | Add a configuration structure for CircMgr. | Nick Mathewson | 2021-08-05 | 10 | -39/+127 | |
| | | | | | | | | | | | | | | | | | | | This patch makes path configuration and request timing options get exposed up to the tor-client level. I'm trying `derive_build` here so we can eventually get consistent across all our builders. | |||||
| * | | | Small cleanups and tweaks to same_subnet code. | Nick Mathewson | 2021-08-05 | 2 | -44/+48 | |
| | | | | ||||||
| * | | | Merge remote-tracking branch 'origin/mr/45' | Nick Mathewson | 2021-08-05 | 3 | -11/+92 | |
| |\ \ \ | ||||||
| | * | | | Support EnforceDistinctSubnets | Smitty | 2021-08-01 | 3 | -11/+92 | |
| | |/ / | | | | | | | | | | | | | Relays on the same IPv4 /16 or IPv6 /32 are treated as being in the same family. | |||||
| * | | | Remove spurious "exit 0" | Nick Mathewson | 2021-08-04 | 1 | -2/+0 | |
| | | | | ||||||
| * | | | Add my "fuzz everything" script that I like to run overnight | Nick Mathewson | 2021-08-04 | 1 | -0/+47 | |
| | | | | ||||||
| * | | | Update arti-corpora submodule. | Nick Mathewson | 2021-08-04 | 2 | -1/+1 | |
| | | | | ||||||
| * | | | Add symlinks to arti-corpora | rls | 2021-08-04 | 9 | -0/+10 | |
| | | | | ||||||
| * | | | Small fixes on top of typo fixes | Nick Mathewson | 2021-08-03 | 2 | -2/+2 | |
| | | | | ||||||
| * | | | Merge remote-tracking branch 'origin/mr/48' | Nick Mathewson | 2021-08-03 | 85 | -148/+148 | |
| |\ \ \ | |/ / |/| | | ||||||
| | * | | Revert spelling change; "recognised" is valid | rls | 2021-07-31 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Fix typos and other spelling mistakes | rls | 2021-07-31 | 85 | -149/+149 | |
| | | | | ||||||
| | * | | Fix some CI warnings. | Nick Mathewson | 2021-07-31 | 2 | -12/+7 | |
| | |/ | ||||||
| * / | Fix some CI warnings. | Nick Mathewson | 2021-07-30 | 2 | -12/+7 | |
| |/ | ||||||
| * | Add a note about the other (current) daemon task. | Nick Mathewson | 2021-07-30 | 1 | -1/+5 | |
| | | ||||||
| * | Whenever the consensus changes, inform the circmgr about new params | Nick Mathewson | 2021-07-30 | 1 | -2/+41 | |
| | | | | | Closes #144 | |||||
