| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Improve test coverage on tor-units | Nick Mathewson | 2021-08-13 | 1 | -3/+111 | |
| | | | ||||||
| * | | Restore success and failure counts with timeout state. | Nick Mathewson | 2021-08-13 | 1 | -2/+18 | |
| |/ | ||||||
| * | Merge commit 'origin/mr/46^' | Nick Mathewson | 2021-08-12 | 3 | -9/+7 | |
| |\ | ||||||
| | * | Change output type in DirResponse to Vec<u8> | rls | 2021-07-30 | 3 | -9/+7 | |
| | | | | | | | | | | | | | | | | | | | | | Previously the DirResponse contained a String for the output. By changing it to a Vec<u8> the caller has to parse the Vec<u8> and deal with potential failures. With this change `fetch_multiple`'s `useful_responses` should also contain non-UTF-8 responses. This will case an Err to be returned in the `download_attempt` function if the DirResponse does not contain valid UTF-8. | |||||
| * | | Fix a few rustdoc link warnings. | Nick Mathewson | 2021-08-12 | 2 | -3/+6 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/58' | Nick Mathewson | 2021-08-12 | 20 | -38/+42 | |
| |\ \ | ||||||
| | * | | Fix code snippet in tor-persist docs | Lennart Kloock | 2021-08-12 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | Fix code snippet in arti docs | Lennart Kloock | 2021-08-12 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | Fix warning sign emoji in tor-client doc | Lennart Kloock | 2021-08-12 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | Reorder doc headlines in tor-circmgr | Lennart Kloock | 2021-08-12 | 2 | -2/+6 | |
| | | | | ||||||
| | * | | Fix typos in tor-chanmgr | Lennart Kloock | 2021-08-12 | 2 | -4/+4 | |
| | | | | ||||||
| | * | | Add brackets and remove colon for better consistency | Lennart Kloock | 2021-08-12 | 4 | -12/+12 | |
| | | | | ||||||
| | * | | Rerun readmes.sh | Lennart Kloock | 2021-08-11 | 3 | -1/+3 | |
| | | | | ||||||
| | * | | Sync docs with readmes | Lennart Kloock | 2021-08-11 | 2 | -3/+3 | |
| | | | | ||||||
| | * | | Fix code snippet in tor-socksproto README.md and docs | Lennart Kloock | 2021-08-11 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | Fix typos in tor-protover README.md and docs | Lennart Kloock | 2021-08-11 | 2 | -4/+4 | |
| | | | | ||||||
| | * | | Fix previously fixed typos in docs too | Lennart Kloock | 2021-08-10 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Fix a typo in tor-rtmock README.md | Lennart Kloock | 2021-08-10 | 1 | -1/+0 | |
| | | | | | | | | | | | | | Remove a '#' | |||||
| | * | | Fix a few typos in tor-rtcompat README.md | Lennart Kloock | 2021-08-10 | 1 | -3/+3 | |
| | | | | ||||||
| | * | | Fix typo in tor-rtcompat README.md | Lennart Kloock | 2021-08-10 | 1 | -1/+1 | |
| | | | | | | | | | | | | | Change 'if' to 'is' | |||||
| * | | | Fix documentation link issues. | Nick Mathewson | 2021-08-12 | 3 | -4/+5 | |
| | | | | ||||||
| * | | | Use real network parameter values to tune test circuits. | Nick Mathewson | 2021-08-12 | 3 | -6/+30 | |
| | | | | | | | | | | | | | Finishes #145. | |||||
| * | | | Periodically launch timeout-testing circuits. | Nick Mathewson | 2021-08-12 | 2 | -35/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our path-spec says that, if we don't have enough build-time data to make a good estimate for our timeouts, we should periodically try launching testing circuits just to see how long they take to build. Here we implement that. The implementation is a bit wonky because of how our crates are factored; see arti#161 for more info. Closes #145. Closes #57. | |||||
| * | | | WIP: Launch testing circuits as needed to find timeouts | Nick Mathewson | 2021-08-11 | 2 | -0/+64 | |
| | | | | | | | | | | | | | This won't work yet, since it needs directories and doesn't have them. | |||||
| * | | | For timeout testing, support for "useless" circuits. | Nick Mathewson | 2021-08-11 | 2 | -0/+32 | |
| | | | | | | | | | | | | | | | | We need the idea of launching a circuit for timeout testing, and getting something that either exits someplace or exits noplace at all. | |||||
| * | | | tor-client: remove workaround now that #155 is in. | Nick Mathewson | 2021-08-11 | 1 | -10/+0 | |
| | | | | ||||||
| * | | | 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 | |
| | | | | | ||||||
