summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Cargo.lock: v0.0.1 is now published.arti-v0.0.1Nick Mathewson2021-10-291-26/+26
|
* Update Cargo.lock in preparation for Arti 0.0.1 release.Nick Mathewson2021-10-291-71/+71
|
* Upgrade to fslock version 0.2Nick Mathewson2021-10-271-3/+2
| | | | | This version makes all locks per-handle rather than per-process, by moving from lockf() to flock() on unix.
* Improve and future-proof the `arti` CLIeta2021-10-271-44/+62
| | | | | | | | | | | | | | | | | | | | | | | | This switches out `arti`'s argument-parsing library with `clap`, which is a lot more featureful (and very widely used within the Rust ecosystem). We also now use a lot of `clap`'s features to improve the CLI experience: - The CLI now expects a subcommand (currently, either "help", or "proxy" for the existing SOCKS proxy behaviour). This should let us add additional non-SOCKS-proxy features to arti in future. - `clap` supports default values determined at runtime, so the way the default config file is loaded was changed: now, we determine the OS-specific path for said file before invoking `clap`, so the help command can show it properly. - The behaviour of `tor_config` was also changed; now, one simply specifies a list of configuration files to load, together with whether they're required. - That function also way overused generics; this has been fixed. - Instead of using the ARTI_LOG environment variable to configure logging, one now uses the `-l, --log-level` CLI option. (The intent is for this option to be more discoverable by users.) - The `proxy` subcommand allows the user to override the SOCKS port used on the CLI without editing the config file.
* Migrate tor-dirmgr from chrono to time 0.3Nick Mathewson2021-10-241-28/+4
| | | | | (This appears to be the emerging consensus of how to handle RUSTSEC-2020-0159.)
* Migrate tor-netdoc from chrono to time 0.3Nick Mathewson2021-10-241-1/+1
| | | | | (This appears to be the emerging consensus of how to handle RUSTSEC-2020-0159.)
* Upgrade to latest tracing-{subscriber,journald}Nick Mathewson2021-10-231-20/+6
|
* Upgrade to new version of simple_asn1.Nick Mathewson2021-10-221-4/+31
|
* Rename tor_client/arti_tor_client to arti_client.Nick Mathewson2021-10-211-2/+2
| | | | | | Solves a name conflict with the existing tor_client create. Closes #130.
* tor-client/examples: add `hyper` exampleeta2021-10-191-2/+88
| | | | | | | The new `hyper` tor-client example demonstrates integrating arti with the popular Rust `hyper` HTTP library by implementing a custom Hyper "connector" (a type that can initiate connections to HTTP servers) that proxies said connections via the Tor network.
* tor-proto: implement tokio Async{Read, Write} traits conditionallyeta2021-10-191-0/+2
| | | | | | | | | futures::io::AsyncRead (and Write) isn't the same thing as tokio::io::AsyncRead, which is a somewhat annoying misfeature of the Rust async ecosystem (!). To mitigate this somewhat for people trying to use the `DataStream` struct with tokio, implement the tokio versions of the above traits using `tokio-util`'s compat layer, if a crate feature (`tokio`) is enabled.
* tor-client: refactor TorClient::bootstrap's args into a config objecteta2021-10-191-0/+1
| | | | | | | | | | | | | The three arguments TorClient::bootstrap requires by way of configuration have been factored into a new TorClientConfig object. This object gains two associated functions: one which uses `tor_config`'s `CfgPath` machinery to generate sane defaults for the state and cache directories, and one that accepts said directories in order to create a config object with those inserted. (this commit was inspired by trying to use arti as a library and being somewhat overwhelmed by the amount of config stuff there was to do :p)
* Upgrade to latest chrono; update cargo_audit.shNick Mathewson2021-10-191-14/+2
| | | | | | | | | | | | Thanks to the chrono update, we no longer include an obsolete/vulnerable version of the `time` crate. Unfortunately, it turns out that chrono has the same trouble as `time`: it, too, looks at the environment via localtime_r, and the environment isn't threadsafe. One step forward, one step back. At least the underlying issue is one that lots of people seem to care about; let's hope they come up with a solution.
* Merge branch 'reject_bad_hostnames'Nick Mathewson2021-10-181-0/+2
|\
| * Introduce ClientConfig for is_localhost config parameterNeel Chauhan2021-10-061-0/+2
| |
* | Commit change to cargo.lock.Nick Mathewson2021-10-181-1/+0
| |
* | Update Cargo.lock.Jani Monoses2021-10-181-1/+1
| |
* | Update const-oid: the previous version has been yanked.Nick Mathewson2021-10-151-2/+2
| |
* | arti: On startup, increase the NOFILE resource limit.Nick Mathewson2021-10-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | The default soft limit is typically enough for process usage on most Unixes, but OSX has a pretty low default (256), which you can run into easily under heavy usage. With this patch, we're going to aim for as much as 16384, if we're allowed. Fixes part of #188.
* | proxy: Mark ENFILES and EMFILES as survivable.Nick Mathewson2021-10-141-0/+2
| | | | | | | | | | | | | | | | I don't love this approach, but those errors aren't distinguished by ErrorKind, so we have to use libc or winapi, apparently. At least nothing here is unsafe. Addresses part of #188.
* | Pass the guard manager down to the path selection functions.Nick Mathewson2021-10-111-0/+1
| |
* | Add a GuardMgr member to CircuitBuilderNick Mathewson2021-10-101-0/+1
| |
* | Re-export configuration types from tor-client.Nick Mathewson2021-10-091-2/+0
| |
* | Tests for top-level GuardMgr.Nick Mathewson2021-10-071-0/+1
| | | | | | | | | | | | | | 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.
* | Implement persistent state for guard mgrNick Mathewson2021-10-071-0/+1
| |
* | Initial backend implementation for guard node manager.Nick Mathewson2021-10-071-0/+27
| | | | | | | | | | | | | | 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.
* | Change tor-persist to use json instead of toml.Nick Mathewson2021-10-071-1/+1
| | | | | | | | | | | | 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.
* | update ctrlc and derTrinity Pointard2021-10-061-6/+6
|/ | | | ctrlc had rustsec issues, der was yanked
* Update cargo.lock again.Nick Mathewson2021-10-051-4/+4
|
* Update cargo.lock; upgrade to newer rusqlite.Nick Mathewson2021-10-051-12/+12
|
* tor-netdir: Add RelayWeight type and accessors.Nick Mathewson2021-09-291-0/+1
| | | | | I'm not thrilled with this code, but I think it's needed to implement guards correctly.
* Run cargo update on other dependencies.Nick Mathewson2021-09-251-4/+4
|
* update fslock to compile androidTrinity Pointard2021-09-251-2/+2
|
* Run cargo upate.Nick Mathewson2021-09-231-12/+12
|
* Upgrade memmap2, directories, and dirs dependencies.Nick Mathewson2021-09-231-6/+6
|
* Move version-controlled Cargo.lock to /.Nick Mathewson2021-09-201-0/+3139
| | | | | | | Previously I'd hoped to have it only apply to reproducible builds, but the work of keeping it up-to-date and checking it for drift seems to have been tripping us up. Let's try doing it the other way for now, and we'll see how that goes.
* address review commentsTrinity Pointard2021-08-261-3114/+0
| | | | sha256: 7f190568fa05f71ad356dc56a7a9725a4be18e5e40d6880f469e22981a18edd7
* fix segfault on static binTrinity Pointard2021-08-251-0/+1
| | | | | | see https://github.com/rusqlite/rusqlite/issues/914 sha256: 684ebc4b8c270fc63beba185f6c54ceeb98734f13aa7aeca9b64acb33432a21c
* make arti availlable as build artifactTrinity Pointard2021-08-251-0/+3113
and make builds reproducible sha256sum: f141c54929a43a31b9ed6b529f6f863aace87f7406818b2f8ffe2b7a5e2803fb