| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | arti,arti-client: Add an option to override required protocols | Nick Mathewson | 2025-04-16 | 1 | -0/+1 |
| | | | | | | (This isn't a boolean, because we really don't want people ignoring all possible required protocols.) | ||||
| * | metrics: config tests: Correct a comment | Ian Jackson | 2025-04-08 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185867 | ||||
| * | metrics: config: Correct the docs on the MetricsConfig type | Ian Jackson | 2025-04-08 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185866 | ||||
| * | metrics: config: Correct the docs on the listen config field | Ian Jackson | 2025-04-08 | 1 | -9/+4 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185864 | ||||
| * | arti: cfg tests: Improve formatting of an assert | Ian Jackson | 2025-04-08 | 1 | -3/+6 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185859 | ||||
| * | arti: Optionally set up a Prometheus metrics exporter | Ian Jackson | 2025-04-08 | 1 | -0/+106 |
| | | | | | | | | | | | | | | 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. | ||||
| * | arti: cfg tests: On mismatch, report which config file | Ian Jackson | 2025-04-08 | 1 | -2/+2 |
| | | | | | | Otherwise it can be very confusing pushing the bump in the carpet back and forth. | ||||
| * | Add examples and tests for RPC options. | Nick Mathewson | 2025-03-25 | 1 | -1/+60 |
| | | | | | Closes #1830. | ||||
| * | arti: warn when rpc options are set without rpc feature. | Nick Mathewson | 2025-03-25 | 1 | -0/+21 |
| | | | | | Closes #1309. | ||||
| * | arti: Disable RPC reconfiguration for now | Nick Mathewson | 2024-12-19 | 1 | -1/+1 |
| | | |||||
| * | arti: Move RpcConfig to rpc.rs | Nick Mathewson | 2024-12-19 | 1 | -29/+4 |
| | | |||||
| * | tor-config: removed re-export of `CfgPath` | Steven Engler | 2024-11-04 | 1 | -4/+4 |
| | | | | | | Also updated other packages to get `CfgPath` directly from `tor-config-path' instead of 'tor-config'. | ||||
| * | tor-memquota: Declare memquota feature stable, and default | Ian Jackson | 2024-10-22 | 1 | -1/+0 |
| | | | | | | | | | And document the Cargo features. This compiles in the memquota support for people who depend directly on tor-memquota. But all our in-tree dependencies turn off default features, so this doesn't have any effect for in-tree crates. | ||||
| * | arti cfg tests: Clarify here and there | Ian Jackson | 2024-10-22 | 1 | -1/+2 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097443 | ||||
| * | arti cfg tests: Fix typo | Ian Jackson | 2024-10-22 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097442 | ||||
| * | minimal features test: Introduce new --cfg arti_features_precise | Ian Jackson | 2024-10-22 | 1 | -1/+6 |
| | | | | | | Work around awkward cargo behaviour and allow us to more reliably test disabled features, even if they're enabled by default at lower levels. | ||||
| * | tor-keymgr: Move C Tor keystore configs under ctor key. | Gabriela Moldovan | 2024-10-08 | 1 | -2/+3 |
| | | | | | | | | 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 Moldovan | 2024-10-08 | 1 | -1/+9 |
| | | | | | | This is intentionally partially mis-indented to make this more reviewable (in case the reviewer isn't using `ignore-all-space`). | ||||
| * | arti-client: Use the configured C Tor keystores, if any. | Gabriela Moldovan | 2024-10-08 | 1 | -8/+1 |
| | | |||||
| * | tor-keymgr: Add configuration for C Tor service keystores. | Gabriela Moldovan | 2024-10-08 | 1 | -0/+10 |
| | | |||||
| * | Merge branch 'warn_on_nonlocal' into 'main' | Nick Mathewson | 2024-10-01 | 1 | -2/+13 |
| |\ | | | | | | | | | Warn on nonlocal addresses in configuration, PT results See merge request tpo/core/arti!2454 | ||||
| | * | Mark resolve_listen_port as deprecated. | Nick Mathewson | 2024-09-30 | 1 | -2/+9 |
| | | | |||||
| | * | arti::cfg: Add a note to avoid new uses of a macro. | Nick Mathewson | 2024-09-25 | 1 | -0/+4 |
| | | | |||||
| * | | Merge branch 'silence-warning' into 'main' | gabi-250 | 2024-09-30 | 1 | -0/+1 |
| |\ \ | | | | | | | | | | | | | arti: Silence unused_mut warning. See merge request tpo/core/arti!2431 | ||||
| | * | | arti: Silence unused_mut warning. | Gabriela Moldovan | 2024-09-18 | 1 | -0/+1 |
| | |/ | | | | | | | The `config` is only mutated if `onion-service-service` is enabled. | ||||
| * | | arti: add an example for onion service "reject" option | Nick Mathewson | 2024-09-26 | 1 | -0/+4 |
| | | | | | | | | | There was previously no example here. | ||||
| * | | Upgrade to derive_more version 1.0.0 | Nick Mathewson | 2024-09-25 | 1 | -5/+3 |
| |/ | | | | | | The `derive_more` crate broke backward compatibility with this version, so this change involved quite a few manual fixups. With luck, they'll keep compatibility for some while in the future. | ||||
| * | Provide a MemoryQuotaTracker in TorClient | Ian Jackson | 2024-09-04 | 1 | -1/+0 |
| | | | | | Nothing uses this yet. | ||||
| * | arti: Proper testing of the memory limit config parsing | Ian Jackson | 2024-09-04 | 1 | -2/+53 |
| | | | | | | | Including testing that uncommenting the example generates a config with tracking enabled, and that the example low_water is the default value for the example max. | ||||
| * | arti cfg tests: Provide resolve_return_results | Ian Jackson | 2024-09-04 | 1 | -0/+6 |
| | | |||||
| * | arti cfg tests: strip_prefix: Leave section markers unchanged | Ian Jackson | 2024-09-04 | 1 | -1/+6 |
| | | |||||
| * | arti cfg tests: strip_prefix: Document error behaviour | Ian Jackson | 2024-09-04 | 1 | -1/+3 |
| | | |||||
| * | Look for memquota configuration in the TorClient configuration | Ian Jackson | 2024-09-04 | 1 | -1/+28 |
| | | | | | Tests are not entirely trivial and will come in a moment. | ||||
| * | Merge branch 'ci' into 'main' | Ian Jackson | 2024-08-27 | 1 | -1/+2 |
| |\ | | | | | | | | | Run tests of every crate, with all features disabled See merge request tpo/core/arti!2350 | ||||
| | * | arti: Fix an unused Result in tests if pts disabled | Ian Jackson | 2024-08-19 | 1 | -1/+2 |
| | | | | | | | | | | | Fixes compilation with cargo test --no-default-features -p arti --features=tokio,rustls | ||||
| * | | tor-hsservice: Pass watch_configuration down to restricted discovery config. | Gabriela Moldovan | 2024-08-21 | 1 | -7/+23 |
| |/ | | | | | | We need to know if `watch_configuration` is set in the descriptor publisher reactor to know whether we should be watching the `restricted_discovery.key_dirs` directories. | ||||
| * | arti: Add the restricted_discovery configuration to the example config. | Gabriela Moldovan | 2024-08-05 | 1 | -9/+61 |
| | | | | | This also adds a test for it. | ||||
| * | 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 | ||||
