| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Work around clippy::doc_lazy_continuation false positives | Ian Jackson | 2024-07-08 | 1 | -1/+1 |
| | | | | | | | | See https://github.com/rust-lang/rust-clippy/issues/13001 I think it's OK to change this in our tree, nevertheless. | ||||
| * | arti: Add vanguards settings to example config. | Gabriela Moldovan | 2024-06-03 | 1 | -1/+1 |
| | | |||||
| * | Add a test for transport configuration | Nick Mathewson | 2024-04-02 | 1 | -0/+46 |
| | | | | | | | | (Previously, nothing actually parsed these values in our configuration.) Closes #1333. | ||||
| * | Merge branch 'encapsulate_config_rs' into 'main' | Nick Mathewson | 2024-03-13 | 1 | -8/+18 |
| |\ | | | | | | | | | Encapsulate usage of config-rs inside tor-config. See merge request tpo/core/arti!2040 | ||||
| | * | tor-config: Put config::Config inside a wrapper type. | Nick Mathewson | 2024-03-13 | 1 | -1/+1 |
| | | | | | | | | | This will let us replace Config with something better. | ||||
| | * | Use ConfigurationSource::Verbatim in our tests. | Nick Mathewson | 2024-03-13 | 1 | -7/+17 |
| | | | |||||
| * | | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| |/ | |||||
| * | arti-client: Add VanguardsConfig to TorClientConfig. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+11 |
| | | |||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 |
| | | |||||
| * | arti: define RpcConfig only if needed | Tobias Stoeckmann | 2024-02-29 | 1 | -1/+1 |
| | | | | | The RpcConfig struct is only used if feature rpc is selected. | ||||
| * | arti: use name bindings only if needed | Tobias Stoeckmann | 2024-02-29 | 1 | -1/+3 |
| | | | | | | The local name binding for tor_config::define_list_builder_accessors is only needed if feature onion-service-service is selected. | ||||
| * | Add a configuration option for long_lived_ports. | Nick Mathewson | 2024-02-20 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'err_on_no_onion_service_support' into 'main' | Nick Mathewson | 2024-01-16 | 1 | -4/+10 |
| |\ | | | | | | | | | | | | | Give an error when user configured onion services with no support. Closes #1184 See merge request tpo/core/arti!1885 | ||||
| | * | Give an error when user configured onion services with no support. | Nick Mathewson | 2024-01-16 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | We do this by adding a stub config and config builder type, whose only purpose is to generate an error if anything is deserialized into it. (If this turns out not to be the best pattern, we can change it later, since this is all internal to the `arti` crate.) Closes #1184. | ||||
| * | | hsrproxy: Temporarily remove ability to config unix addresses | Nick Mathewson | 2024-01-16 | 1 | -0/+2 |
| |/ | | | | | | | | I'm taking this out for now since we don't have support for actually making these addresses work, and the current behavior will just ignore connections silently. Closes #1245 | ||||
| * | arti::cfg: Turn a TODO HSS into a ticket. | Nick Mathewson | 2024-01-09 | 1 | -1/+1 |
| | | |||||
| * | arti: Test for expected value of onion service cfg. | Nick Mathewson | 2023-12-12 | 1 | -2/+34 |
| | | |||||
| * | arti: Enforce onion service nickname distinctness | Nick Mathewson | 2023-12-12 | 1 | -3/+3 |
| | | | | | | | | | | | | The most logical way to do this was to change the "List" type to a HashMap, and add a build function to the ListBuilder. This change additionally renames: OnionServiceProxyConfig{List=>Map} NamedProxyMap => ProxyBuilderMap (We now have two kinds of map, and this name change will clarify the distinction.) | ||||
| * | arti: Downgrade a TODO HSS about testing onion-service config. | Nick Mathewson | 2023-12-12 | 1 | -1/+2 |
| | | | | | | | | IIUC, there will never be a Some(InNew) entry here, since we will never have an onion service be configured by default. Instead we test this kind of configuration by having commented-out options that we uncomment as needed. | ||||
| * | arti cfg: suppress a warning | Ian Jackson | 2023-12-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | | There is a TODO HSS for this. Fixes cargo check --workspace --all-targets producing warning: unused variable: `result` --> crates/arti/src/cfg.rs:1060:13 | 1060 | let result = file.resolve::<(TorClientConfig, ArtiConfig)>(); | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` | = note: `#[warn(unused_variables)]` on by default | ||||
| * | Revert "hsrproxy: Temporarily change the format of ProxyRule." | Nick Mathewson | 2023-11-29 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 21605d2c9e601c3a5099bfd8d8c887cbb3b36c0a. We're doing this because we wanted the configuration of proxy rules to be a 2-tuple, as in `[ "22", "127.0.0.1:22" ]`. But `config` couldn't handle that before, so we temporarily changed it to a string, as in "22 => 127.0.0.1:22". Closes #1058. | ||||
| * | Use a less obtrustive sign to end the onion services config section | Nick Mathewson | 2023-10-11 | 1 | -5/+5 |
| | | |||||
| * | Improve test fn documentation even more. | Ian Jackson | 2023-10-10 | 1 | -2/+2 |
| | | |||||
| * | arti::cfg: tweak narrow() test fn to be more useful. | Nick Mathewson | 2023-10-10 | 1 | -12/+14 |
| | | | | | | | | | | It still matches the start pattern in the same way, but it takes the _next_ match of the end pattern after the start pattern, and it allows the end pattern to be absent. This will make the bridge tests a little more robust, and let the onion service tests stop saying BEGIN and END. | ||||
| * | Non-working attempt to test onion service configuration. | Nick Mathewson | 2023-10-03 | 1 | -2/+52 |
| | | | | | | | | The problem here is that, for some reason, the proxy_rule configuration doesn't actually work. I suspect a bug in Flatten, since the same configuration works fine if you pass it to the hsrproxy config directly. | ||||
| * | arti: Try to document some test helpers. | Nick Mathewson | 2023-10-03 | 1 | -1/+18 |
| | | |||||
| * | arti: Make onion_service configuration option plural | Nick Mathewson | 2023-10-03 | 1 | -3/+3 |
| | | |||||
| * | Note that we *do* need to actually test the onion service config. | Ian Jackson | 2023-10-03 | 1 | -1/+1 |
| | | |||||
| * | arti: Add a list of [[onion_service]]s to the config. | Nick Mathewson | 2023-10-03 | 1 | -1/+29 |
| | | | | | There are no tests for parsing it yet. | ||||
| * | arti tests: Suppress a lint locally | Ian Jackson | 2023-09-05 | 1 | -1/+2 |
| | | | | | | There's a complaint (seen in a CI build log) about over-eager iterator item cloning. This is a perf complaint and not very relevant in tests. | ||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | arti::cfg tests: Use fold to make nightly clippy happier | Nick Mathewson | 2023-08-22 | 1 | -4/+5 |
| | | |||||
| * | arti cfg tests: Add keystore to example config. | Gabriela Moldovan | 2023-07-13 | 1 | -14/+2 |
| | | | | | Closes #939 | ||||
| * | arti-client: Use the config struct from tor-keymgr. | Gabriela Moldovan | 2023-07-13 | 1 | -1/+1 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+1 |
| | | |||||
| * | arti: Add a `logging.time_granularity` option with 1s default. | Nick Mathewson | 2023-07-06 | 1 | -0/+1 |
| | | | | | | | | This lets us provide less information in our logs: in particular, it lets us avoid logging with microsecond precision. Closes #551. | ||||
| * | arti cfg tests: Add declare_exceptions for storage.keystore_dir. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+22 |
| | | | | | | This moves `storage.keystore_dir` to a separate `declare_exceptions` block and explains why we have this exception. | ||||
| * | example-config: Temporarily remove keystore_dir example. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+1 |
| | | | | | | | Let's remove this until we figure out how the config should behave when the `keymgr` feature is disabled (should it accept or reject `keystore_dir = true`?) | ||||
| * | arti-client: Add keystore_dir to StorageConfig. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+1 |
| | | |||||
| * | arti cfg tests: Suppress an undesriable clippy lint | Ian Jackson | 2023-06-28 | 1 | -0/+1 |
| | | |||||
| * | arti cfg tests: declare_exceptions: Annotate the types for clarity (fmt) | Ian Jackson | 2023-06-28 | 1 | -6/+4 |
| | | |||||
| * | arti cfg tests: declare_exceptions: Annotate the types for clarity | Ian Jackson | 2023-06-28 | 1 | -1/+6 |
| | | |||||
| * | arti cfg tests: Point the reader to the types used in declarations | Ian Jackson | 2023-06-28 | 1 | -0/+12 |
| | | |||||
| * | arti cfg tests: Move InCode into declare_config_example | Ian Jackson | 2023-06-28 | 1 | -19/+19 |
| | | | | | It's used for declarations only, and they should all be here. | ||||
| * | arti cfg tests: Make declare_exception take distinguished old/new types | Ian Jackson | 2023-06-28 | 1 | -15/+27 |
| | | | | | | | As per discussion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1320#note_2916689 and IRC followup. | ||||
| * | HS configuration: Add retry parameters to configuration | Ian Jackson | 2023-06-28 | 1 | -0/+2 |
| | | | | | | | | I think these should go in `[circuit_timing]`. That section already has some retry parameters, so is not strictly *timing*. This is not honoured yet. | ||||
| * | HS configuration: Add and honour `allow_onion_addrs` in configuration | Ian Jackson | 2023-06-28 | 1 | -0/+11 |
| | | | | | | | | We put this in `[address_filter]`. The interaction with the corresponding stream preference is a bit complicated. We must turn the stream pref into a `BoolOrAuto`. | ||||
| * | art cfg tests: Fix garbled doc wording | gabi-250 | 2023-06-28 | 1 | -2/+2 |
| | | |||||
| * | arti cfg tests: Fix doc comment | gabi-250 | 2023-06-28 | 1 | -1/+1 |
| | | |||||
| * | arti cfg tests: Overhaul exception handling (fmt) | Ian Jackson | 2023-06-28 | 1 | -36/+32 |
| | | |||||
