summaryrefslogtreecommitdiff
path: root/crates/arti/src/arti-example-config.toml
Commit message (Collapse)AuthorAgeFilesLines
* arti: update example configSteven Engler2025-07-311-5/+16
|
* Typo fixes (automatic and hand-verified)Nick Mathewson2025-07-091-1/+1
| | | | Made with https://crates.io/crates/typos-cli
* arti console logging: use stderr instead of stdoutJim Newsome2025-06-171-1/+1
| | | | Fixes #2024
* arti,arti-client: Add an option to override required protocolsNick Mathewson2025-04-161-0/+14
| | | | | (This isn't a boolean, because we really don't want people ignoring all possible required protocols.)
* metrics: config: Fix typo in the example config fileIan Jackson2025-04-081-1/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185863
* metrics: config: Correct the docs in the example config fileIan Jackson2025-04-081-1/+2
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185862
* arti: Optionally set up a Prometheus metrics exporterIan Jackson2025-04-081-0/+17
| | | | | | | | | | | | | New cargo feature `metrics`, currently experimental. New config option `metrics.prometheus.listen`. Uses standard `Listen` syntax, but not every configuration is supported due to upstream limitations. If the config option is set, use metrics-exporter-prometheus to offer an HTTP scrape endpoint. Or, if compiled out, fail. Currently there are no actual metrics exported at all.
* Add examples and tests for RPC options.Nick Mathewson2025-03-251-0/+59
| | | | Closes #1830.
* arti: Add onion_service.enable_pow option.Wesley Aptekar-Cassels2024-11-251-0/+4
| | | | This currently is not implemented.
* arti: Add a warning about watch_configuration's performance issues.Gabriela Moldovan2024-10-171-0/+7
| | | | Part of #1644
* tor-keymgr: Move C Tor keystore configs under ctor key.Gabriela Moldovan2024-10-081-2/+2
| | | | | | | This way we have a more intuitive layout, where all C Tor keystore configuration is under the `ctor` key. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2481#note_3090486
* tor-keymgr: Add configuration for C Tor client keystores.Gabriela Moldovan2024-10-081-3/+16
| | | | | This is intentionally partially mis-indented to make this more reviewable (in case the reviewer isn't using `ignore-all-space`).
* arti: Remove extraneous whitespace from example config.Gabriela Moldovan2024-10-081-1/+1
|
* tor-keymgr: Add configuration for C Tor service keystores.Gabriela Moldovan2024-10-081-0/+31
|
* Default allow_onion_addrs to true.Wesley Aptekar-Cassels2024-10-071-10/+1
| | | | | | | This was disabled due to lack of vanguard support. Now that we support vanguards, we should enable this by default. Fixes: #1402
* arti: add an example for onion service "reject" optionNick Mathewson2024-09-261-0/+2
| | | | There was previously no example here.
* arti: Update example config with new keystore configuration.Gabriela Moldovan2024-09-231-10/+8
|
* tor-keymgr: Move keystore config under keystore.primary.Gabriela Moldovan2024-09-231-1/+2
| | | | | The keystore settings only configure the *primary* keystore, so they should be under `keystore.primary`.
* tor-keymgr: added support for specifying keystore kind to ArtiKeystoreConfigMorgan2024-09-201-1/+19
|
* arti: Remove onion service anonymity setting.Gabriela Moldovan2024-09-121-7/+0
| | | | We don't support this yet, see #727.
* Look for memquota configuration in the TorClient configurationIan Jackson2024-09-041-0/+11
| | | | Tests are not entirely trivial and will come in a moment.
* arti: Add the restricted_discovery configuration to the example config.Gabriela Moldovan2024-08-051-0/+33
| | | | This also adds a test for it.
* arti: Note that auto is the same as disabled if vanguards are disabled.Gabriela Moldovan2024-06-031-0/+3
|
* arti: Add vanguards settings to example config.Gabriela Moldovan2024-06-031-0/+13
|
* example-config: Indent transport argumentsNick Mathewson2024-04-021-9/+9
| | | | This will make it possible for our tests to pull them out.
* Fix note in config that claimed onion services weren't implementedNick Mathewson2024-03-271-1/+4
| | | | | Instead, link to documentation, and give the warning about their security.
* hss: Make the limit for streams configurable.Nick Mathewson2024-03-261-3/+1
| | | | Closes #1124.
* Add example unmanaged pluggable transport to config.Nick Mathewson2024-03-141-0/+10
|
* Merge branch 'keystore-dir' into 'main'gabi-2502024-02-211-2/+0
|\ | | | | | | | | | | | | arti, arti-client, tor-keymgr: Remove keystore dir configuration. Closes #1202 See merge request tpo/core/arti!1995
| * arti, arti-client, tor-keymgr: Remove keystore dir configuration.Gabriela Moldovan2024-02-211-2/+0
| | | | | | | | Closes #1202
* | tor-hsservice: config: max_concurrent_streams_per_circuit: comment outIan Jackson2024-02-211-0/+2
|/ | | | | This is not implemented. It is better to have it commented out than providing a knob that isn't connected to anything.
* Add a configuration option for long_lived_ports.Nick Mathewson2024-02-201-0/+7
|
* Clarify onion service example(s) a little more.Nick Mathewson2024-02-081-3/+5
|
* hsrproxy: Temporarily remove ability to config unix addressesNick Mathewson2024-01-161-3/+0
| | | | | | | | 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
* Fix typosDimitris Apostolou2024-01-081-1/+1
|
* arti-example-config: Do not claim that state_dir is unusedIan Jackson2023-12-041-2/+0
| | | | tor-ptmgr uses it, and the key manager too.
* Revert "hsrproxy: Temporarily change the format of ProxyRule."Nick Mathewson2023-11-291-8/+5
| | | | | | | | | | | 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 sectionNick Mathewson2023-10-111-2/+0
|
* arti::cfg: tweak narrow() test fn to be more useful.Nick Mathewson2023-10-101-1/+1
| | | | | | | | | 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.
* hsrproxy: Temporarily change the format of ProxyRule.Nick Mathewson2023-10-101-5/+8
| | | | | | | | | Since config-rs has a bug breaking its support for nested arrays (see discussion at !1640), we're temporarily changing the format to a single string with a "=>" in the middle. I've opened #1058 to put things back as they were once config-rs is fixed.
* Non-working attempt to test onion service configuration.Nick Mathewson2023-10-031-20/+24
| | | | | | | 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: Fix up the example config to use the new onion_services format.Nick Mathewson2023-10-031-6/+5
|
* arti: Make onion_service configuration option pluralNick Mathewson2023-10-031-2/+2
|
* hss: Rename the "name" config field to "nickname".Nick Mathewson2023-10-031-1/+1
|
* arti: Add a list of [[onion_service]]s to the config.Nick Mathewson2023-10-031-0/+47
| | | | There are no tests for parsing it yet.
* Fix typosDimitris Apostolou2023-07-221-6/+6
|
* arti cfg tests: Add keystore to example config.Gabriela Moldovan2023-07-131-0/+20
| | | | Closes #939
* arti config: Remove extraneous whitespace.Gabriela Moldovan2023-07-131-5/+5
|
* arti: Add a `logging.time_granularity` option with 1s default.Nick Mathewson2023-07-061-0/+16
| | | | | | | This lets us provide less information in our logs: in particular, it lets us avoid logging with microsecond precision. Closes #551.
* Turn off HS client connections by defaultIan Jackson2023-06-291-1/+10
| | | | As per IRC discussion, re lack of Vanguards.