| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Handle address already in use | Jani Monoses | 2023-09-22 | 2 | -2/+6 | |
| | | | ||||||
| | * | arti, tor-config: Allow listening on generic addresses for SOCKS and DNS. | Jani Monoses | 2023-09-22 | 3 | -56/+63 | |
| | | | ||||||
| * | | Merge branch 'configure_onion_service_part2' into 'main' | Nick Mathewson | 2023-10-11 | 2 | -29/+103 | |
| |\ \ | | | | | | | | | | | | | Non-working attempt to test onion service configuration. See merge request tpo/core/arti!1640 | |||||
| | * | | Use a less obtrustive sign to end the onion services config section | Nick Mathewson | 2023-10-11 | 2 | -7/+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 | 2 | -13/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Mathewson | 2023-10-10 | 1 | -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 Mathewson | 2023-10-03 | 2 | -22/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | 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: Lower some over-broad #allows in onion_proxy.rs | Nick Mathewson | 2023-10-05 | 1 | -4/+2 | |
| | | | | ||||||
| * | | | arti: Actually launch the onion service code. | Nick Mathewson | 2023-10-05 | 1 | -0/+9 | |
| | | | | ||||||
| * | | | arti: functions to configure and launch actual onion service proxies. | Nick Mathewson | 2023-10-05 | 1 | -3/+82 | |
| |/ / | ||||||
| * | | Add/clarify comments about name duplication. | Nick Mathewson | 2023-10-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | arti: make sure nicknames in builders match (or are absent) | Nick Mathewson | 2023-10-03 | 1 | -7/+16 | |
| | | | ||||||
| * | | arti: Fix up the example config to use the new onion_services format. | Nick Mathewson | 2023-10-03 | 1 | -6/+5 | |
| | | | ||||||
| * | | arti: in onion service builder, rename "transports" to "services" | Nick Mathewson | 2023-10-03 | 1 | -4/+3 | |
| | | | | | | | | | The old name was a copy-paste error. | |||||
| * | | arti: Make onion_services serialize as a map. | Nick Mathewson | 2023-10-03 | 1 | -0/+40 | |
| | | | | | | | | | This lets us write `[onion_services.allium_cepa]`. | |||||
| * | | arti: Make onion_service configuration option plural | Nick Mathewson | 2023-10-03 | 2 | -5/+5 | |
| | | | ||||||
| * | | hss: Rename the "name" config field to "nickname". | Nick Mathewson | 2023-10-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | 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 | 3 | -2/+91 | |
| | | | | | | | | | There are no tests for parsing it yet. | |||||
| * | | arti: add a set of OnionServiceProxyConfig types. | Nick Mathewson | 2023-10-03 | 2 | -0/+60 | |
| |/ | | | | | These don't yet attach to the rest of the ArtiConfig, or actually launch any onion services, but they're a start. | |||||
| * | Add cognitive-complexity exceptions for clippy. | Nick Mathewson | 2023-09-05 | 1 | -0/+2 | |
| | | | | | I have no idea why these became necessary. | |||||
| * | 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. | |||||
| * | Bump to trust-dns-proto 0.23.0 | Nick Mathewson | 2023-09-05 | 1 | -4/+4 | |
| | | ||||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 2 | -0/+2 | |
| | | ||||||
| * | arti::cfg tests: Use fold to make nightly clippy happier | Nick Mathewson | 2023-08-22 | 1 | -4/+5 | |
| | | ||||||
| * | arti: Use ConfigurationSources::try_from_cmdline | Ian Jackson | 2023-08-07 | 1 | -3/+3 | |
| | | | | | | | | | | | This will allow us to proceed if * the default config file locations can't be established (eg due to failure of the `directories` crate), but * configuration files are explicitly specified, so the defaults wouldn't be used | |||||
| * | arti: Add context to default config files error message | Ian Jackson | 2023-08-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | Improves the error mesage in #989 somewhat. Before: target/debug/arti: error: Can't construct project directories to resolve a path element After: target/debug/arti: error: identify default config file locations: Can't construct project directories to resolve a path element | |||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 2 | -4/+4 | |
| | | ||||||
| * | Fix typos | Dimitris Apostolou | 2023-07-22 | 2 | -10/+10 | |
| | | ||||||
| * | arti cfg tests: Add keystore to example config. | Gabriela Moldovan | 2023-07-13 | 2 | -14/+22 | |
| | | | | | Closes #939 | |||||
| * | arti config: Remove extraneous whitespace. | Gabriela Moldovan | 2023-07-13 | 1 | -5/+5 | |
| | | ||||||
| * | 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 | 4 | -0/+4 | |
| | | ||||||
| * | Throughout: Use *_report!() macros for reporting Errors. | Nick Mathewson | 2023-07-07 | 5 | -16/+15 | |
| | | | | | | | | | | | | | | | | I identified the cases to replace by searching for the string `.report()`. There are a few that I didn't change: * A couple of cases that used anyhow::Error, * One case that reported two Errors. * Two cases in `tor_hsclient::err` that just did `error!("Bug: {}")`. I have also not audited the cases in `tor-hsclient` where we're using `tor_error::Report` manually. Nonetheless, closes #949. | |||||
| * | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 2 | -2/+0 | |
| | | | | | Closes #950. | |||||
| * | Merge branch 'log_precision' into 'main' | Nick Mathewson | 2023-07-06 | 4 | -4/+377 | |
| |\ | | | | | | | | | | | | | arti: Add a `logging.time_granularity` option with 1s default. Closes #551 See merge request tpo/core/arti!1376 | |||||
| | * | arti: comments about catch_unwind | Nick Mathewson | 2023-07-06 | 1 | -0/+9 | |
| | | | ||||||
| | * | time_granularity: Make sure formatter can't panic | Nick Mathewson | 2023-07-06 | 1 | -17/+49 | |
| | | | | | | | | | | | | | I was unable to assure myself that tracing_subscriber could withstand a panicking Timer, so instead I'm trying to make sure our own LogTimer can't panic. | |||||
| | * | arti: Add a `logging.time_granularity` option with 1s default. | Nick Mathewson | 2023-07-06 | 4 | -4/+336 | |
| | | | | | | | | | | | | | | | This lets us provide less information in our logs: in particular, it lets us avoid logging with microsecond precision. Closes #551. | |||||
| * | | arti: Note possibility for future use of other tracing panic provider | Nick Mathewson | 2023-07-06 | 1 | -0/+5 | |
| | | | ||||||
| * | | arti: On panic, avoid allocation even more. | Nick Mathewson | 2023-07-06 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | | | | | | | | The original version of our panic handler would allocate a string for the panic `Location`. But if we're panicking we'd like to keep allocations to a minimum: so instead format the `Location` conditionally. This also drops a useless `std::borrow::Cow`. (The possibility of a "Don't have a `Cow`" commit message was considered and rejected.) | |||||
| * | | Add TODO comments about possibly migrating away from the backtrace crate. | Nick Mathewson | 2023-07-05 | 1 | -1/+2 | |
| | | | ||||||
| * | | arti: Install a panic hook that sends messages to `tracing` | Nick Mathewson | 2023-07-05 | 1 | -0/+31 | |
| |/ | | | | | | | (Also leaves installed the default handler that sends messages to stderr.) Closes #921. | |||||
| * | Merge branch 'keymgr-config' into 'main' | gabi-250 | 2023-06-29 | 1 | -0/+22 | |
| |\ | | | | | | | | | arti-client: Add keystore_dir to StorageConfig. See merge request tpo/core/arti!1312 | |||||
| | * | 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 | 2 | -17/+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 | 2 | -0/+17 | |
| | | | ||||||
| * | | Turn off HS client connections by default | Ian Jackson | 2023-06-29 | 1 | -1/+10 | |
| |/ | | | | As per IRC discussion, re lack of Vanguards. | |||||
