summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support to override network parameters in the configuration.Nick Mathewson2021-02-169-9/+78
|
* Add some tests for tor_config::CfgPathNick Mathewson2021-02-123-1/+47
|
* Apply "deny_unknown_fields" to configuration types.Nick Mathewson2021-02-124-0/+11
|
* Remove fallback to .arti/cache for cache directoryNick Mathewson2021-02-121-5/+1
|
* Implement storage-directory configuration.Nick Mathewson2021-02-125-3/+146
| | | | | | | This affects the cache_dir and the as-yet-unused state_dir. It uses the shellexpand and directories crates so that the default values can be constant strings that use variables to refer to the right default locations.
* Add comments to default config filesNick Mathewson2021-02-113-5/+14
|
* Make authorities and fallbacks configurable.Nick Mathewson2021-02-1113-1092/+836
| | | | | | | | | | This commit adds configuration options for these values, with the right defaults, and uses those options instead of built-in functions to set them. We also remove the function to extract information from chutney directories: now that arti is configurable, it can be chutney's job to make its own network configurations.
* Merge branch 'main' of gitlab.torproject.org:/tpo/core/artiNick Mathewson2021-02-107-6/+156
|\
| * upgrade a few dependenciesNick Mathewson2021-02-104-7/+7
| |
| * Add serde implementations for identity key types.Nick Mathewson2021-02-104-0/+150
| |
* | Add a test to make sure defaults are parseable.Nick Mathewson2021-02-101-0/+19
|/
* Move defaults into a toml file.Nick Mathewson2021-02-102-4/+15
|
* Recommend running arti build with --releaseNick Mathewson2021-02-091-2/+2
|
* Merge remote-tracking branch 'origin/mr/14' into mainNick Mathewson2021-02-092-0/+23
|\
| * Add a rough CONTRIBUTING.md file with some dogfooding instructions.George Kadianakis2021-02-082-0/+23
| |
* | Merge commit '65da0f5da06ade6185dfacd41980ae3d3620458a' into mainNick Mathewson2021-02-081-18/+12
|\ \
| * | Simplify error checking in begin_data_stream().George Kadianakis2021-02-081-18/+12
| | |
* | | Merge remote-tracking branch 'origin/mr/13' into mainNick Mathewson2021-02-084-12/+50
|\| |
| * | Send back the right SOCKS reply in case of a timeoutGeorge Kadianakis2021-02-061-1/+15
| | |
| * | Implement timeout for new streams (set to 120 seconds).George Kadianakis2021-02-053-11/+35
| |/
* / Remove the TODO file in favor of gitlab.Nick Mathewson2021-02-052-160/+1
|/
* Whoops, we were using 9150 for now.Nick Mathewson2021-02-021-1/+1
|
* Initial support for configuration from file and/or command-line.Nick Mathewson2021-02-024-14/+116
|
* Rename client-demo to tor-client.Nick Mathewson2021-02-025-6/+6
|
* bump serde and logNick Mathewson2021-02-017-7/+7
|
* Start a 'tor-config' crateNick Mathewson2021-02-014-0/+215
| | | | | | This crate is mainly intended to wrap the config.rs code if necessary, and to give a way for interacting with it on the command line.
* Merge remote-tracking branch 'origin/mr/12' into mainNick Mathewson2021-01-271-2/+9
|\
| * Add an error type check in test_get_decompressor_err in tor-dirclienthiro2021-01-251-2/+9
| |
* | A few more tests in request.rsNick Mathewson2021-01-261-5/+9
| |
* | More logging in circmgr.Nick Mathewson2021-01-261-5/+25
| |
* | Check declared post-digest on consensus diffs.Nick Mathewson2021-01-253-5/+28
| |
* | Don't give up easily on initial bootstrap attempts.Nick Mathewson2021-01-251-7/+14
| |
* | Resolve a few more XXX-A1 comments in dirmgr.Nick Mathewson2021-01-252-18/+34
| |
* | Remove some not-necessary XXX-A1s in sqlite.rsNick Mathewson2021-01-251-3/+0
| |
* | dirmgr: fix usage and meaning of `pending`.Nick Mathewson2021-01-252-14/+34
| | | | | | | | | | The documentation and implementation diverged; the documentation was correct.
* | Detect consensuses that are signed by the wrong authorities.Nick Mathewson2021-01-254-21/+62
| | | | | | | | | | | | | | | | | | | | | | | | With this patch we don't consider a consensus to be even potentially well-signed if the authorities that are listed as signing it don't contain enough authorities we believe in. Otherwise, we'd just try fetching certs for them and failing forever. (I found this by switching from a chutney network to the main network without cleaning out my cache.) Closes #44
* | Function to see whether the authorities on a netstatus are correct.Nick Mathewson2021-01-251-0/+48
| | | | | | | | | | We should find out if we believe in the authorities before we even think of downloading their certs.
* | dirmgr: Extra explanatory comments.Nick Mathewson2021-01-251-3/+23
|/ | | | Also replace some "disk" with "cache" in log messages
* Add a test for consensus requests in tor-dirclient.hiro2021-01-221-0/+25
|
* Fix a test in tor-dirclientNick Mathewson2021-01-211-2/+2
|
* Merge remote-tracking branch 'origin/mr/10' into mainNick Mathewson2021-01-214-2/+109
|\
| * Reformats the code and removes extra returnKushal Das2021-01-211-5/+10
| | | | | | | | Based rust nightly cargo fmt.
| * Adds decompress_in_parts_zstd testKushal Das2021-01-211-0/+37
| | | | | | | | | | | | Now we are testing decompression of the input via calling the process method 3 times. We get the final decompressed output only after the third call.
| * Adds decompression test for zstdKushal Das2021-01-211-0/+27
| | | | | | | | Tests the decompression of the whole input in one go.
| * Adds zstd decompression implementation for dirclientKushal Das2021-01-214-2/+40
| | | | | | | | Adds dependency to zstd crate.
* | Add a test for encoding authcert requestsNick Mathewson2021-01-211-0/+28
| |
* | Add a little testing in tor-dirclientNick Mathewson2021-01-214-2/+64
|/
* require latest futures crateNick Mathewson2021-01-156-6/+6
|
* Migrate from futures_codec to asynchronous_codec.Nick Mathewson2021-01-156-8/+8
| | | | | | | | asynchronous_codec is a fork of futures_codec that is up-to-date on its dependencies. This migration allows us to upgrade to the current version of the bytes crate.
* Remove unused futures_codec in tor-cell/fuzzNick Mathewson2021-01-151-1/+0
|