summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Don't try to lock an already-locked lockfile.Nick Mathewson2021-08-091-2/+5
| | | | | | | | | | | | | | | | Also, remove a dbg
* | | | Implement initial persistence for circuit timeout dataNick Mathewson2021-08-0610-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 Mathewson2021-08-065-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 Mathewson2021-08-0626-1/+26
|/ / /
* | | Update READMEs.Nick Mathewson2021-08-063-11/+15
| | |
* | | Update arti-corpora to latest.Nick Mathewson2021-08-062-1/+1
| | |
* | | Simplify SqliteStore::from_pathNick Mathewson2021-08-061-10/+4
| | |
* | | Missing tor-circmgr/src/config.rsNick Mathewson2021-08-051-0/+67
| | |
* | | Update to rsa 0.5.0. Minor compatibility issues.Nick Mathewson2021-08-052-5/+6
| | |
* | | Make circuit building and management configurable from the CLI.Nick Mathewson2021-08-053-3/+44
| | |
* | | Add a configuration structure for CircMgr.Nick Mathewson2021-08-0510-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 Mathewson2021-08-052-44/+48
| | |
* | | Merge remote-tracking branch 'origin/mr/45'Nick Mathewson2021-08-053-11/+92
|\ \ \
| * | | Support EnforceDistinctSubnetsSmitty2021-08-013-11/+92
| |/ / | | | | | | | | | | | | Relays on the same IPv4 /16 or IPv6 /32 are treated as being in the same family.
* | | Remove spurious "exit 0"Nick Mathewson2021-08-041-2/+0
| | |
* | | Add my "fuzz everything" script that I like to run overnightNick Mathewson2021-08-041-0/+47
| | |
* | | Update arti-corpora submodule.Nick Mathewson2021-08-042-1/+1
| | |
* | | Add symlinks to arti-corporarls2021-08-049-0/+10
| | |
* | | Small fixes on top of typo fixesNick Mathewson2021-08-032-2/+2
| | |
* | | Merge remote-tracking branch 'origin/mr/48'Nick Mathewson2021-08-0385-148/+148
|\ \ \ | |/ / |/| |
| * | Revert spelling change; "recognised" is validrls2021-07-311-1/+1
| | |
| * | Fix typos and other spelling mistakesrls2021-07-3185-149/+149
| | |
| * | Fix some CI warnings.Nick Mathewson2021-07-312-12/+7
| |/
* / Fix some CI warnings.Nick Mathewson2021-07-302-12/+7
|/
* Add a note about the other (current) daemon task.Nick Mathewson2021-07-301-1/+5
|
* Whenever the consensus changes, inform the circmgr about new paramsNick Mathewson2021-07-301-2/+41
| | | | Closes #144
* Give DirMgr the ability to notify subscribers about events.Nick Mathewson2021-07-305-4/+174
| | | | | | | | | | This is not 100% what we'll want long term: - We might want more kinds of events - We'll probably want to generate them in a more reliable way - We might want some of this mechanism to be in a crate other than DirMgr. But for now, let's use this as a start and get experience with it.
* Disable a warning from Rust 1.54Nick Mathewson2021-07-291-0/+5
|
* Add a kludge to make resolve requests work.Nick Mathewson2021-07-271-0/+10
| | | | | Apparently "a circuit supporting no target ports" is not truly an exit circuit. We should add a better fix here, however.
* Now that we support RESOLVE*, log what SOCKS command we are seeingNick Mathewson2021-07-271-1/+6
|
* socksproto: Allow port 0 for RESOLVE and RESOLVE_PTR.Nick Mathewson2021-07-271-1/+9
|
* Do not try to resolve .onion addresses.Nick Mathewson2021-07-271-0/+4
|
* tor-client: rename circ function to a more descriptive nameNick Mathewson2021-07-271-5/+6
|
* tor_proto: Use iterators and functions to simplify resolve functions.Nick Mathewson2021-07-271-40/+35
|
* ResolvedVal: Rename answers() to into_answers().Nick Mathewson2021-07-272-4/+10
|
* tor-proto: Tweak documentation for resolve/resolve_ptrNick Mathewson2021-07-271-6/+11
|
* Merge remote-tracking branch 'origin/mr/39'Nick Mathewson2021-07-275-45/+212
|\
| * Add support for RESOLVE and RESOLVE_PTRYuan Lyu2021-07-225-45/+212
| |
* | Add OSX instructions to CONTRIBUTING.mdNick Mathewson2021-07-231-1/+14
|/ | | | Closes #151.
* [f] fix pareto test not compile issuedagger2021-07-221-8/+8
| | | | Signed-off-by: dagger <[email protected]>
* adjust WANT_FROM_OTHER_CRATESNick Mathewson2021-07-211-3/+7
|
* Merge remote-tracking branch 'origin/mr/42'Nick Mathewson2021-07-2127-99/+75
|\
| * address some possibly slightly controversial lintsDaniel Eades2021-07-215-18/+12
| |
| * address a bunch of hopefully uncontroversial lintsDaniel Eades2021-07-2025-81/+63
| |
* | Use cargo audit with "-D warnings".Nick Mathewson2021-07-211-1/+1
| |
* | Merge remote-tracking branch 'origin/mr/41'Nick Mathewson2021-07-217-19/+21
|\ \
| * | attempt to add cargo audit to CITrinity Pointard2021-07-201-0/+2
| | |
| * | switch to maintained crates for memmap and tmpdirTrinity Pointard2021-07-206-19/+19
| |/ | | | | | | | | | | | | | | They don't have actual documented security issues but it makes `cargo audit` complain https://rustsec.org/advisories/RUSTSEC-2018-0017 https://rustsec.org/advisories/RUSTSEC-2020-0077
* / Fix a ocumentation link issue.Nick Mathewson2021-07-211-1/+1
|/
* Temporarily disable build.rs tests as unreliable :/Nick Mathewson2021-07-201-0/+6
|