aboutsummaryrefslogtreecommitdiff
path: root/crates/arti/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'otel-out-of-arti' into 'main'wesleyac7 days3-208/+15
|\ | | | | | | | | | | | | Split OTLP exporter into separate crate. Closes #2611 See merge request tpo/core/arti!4297
| * Fix tests.Wesley Aptekar-Cassels9 days1-1/+0
| |
| * Stub out opentelemetry config when feature is disabled.Wesley Aptekar-Cassels9 days1-2/+0
| |
| * Fix many review comments.Wesley Aptekar-Cassels9 days2-2/+2
| | | | | | | | Mostly relating to typos and dependencies.
| * Fix config tests.Wesley Aptekar-Cassels13 days1-0/+1
| |
| * Fix cyclic dependency issues.Wesley Aptekar-Cassels2026-08-101-0/+2
| |
| * tor-config-shared: Stop using Option<Duration>.Wesley Aptekar-Cassels2026-08-101-9/+3
| |
| * Add new tor-conig-shared crate.Wesley Aptekar-Cassels2026-08-102-2/+4
| | | | | | | | | | This contains configuration types that are shared between arti and arti-rely.
| * arti: Move OpentelemetryConfig to tor-config.Wesley Aptekar-Cassels2026-08-101-117/+13
| | | | | | | | | | | | This will allow this code to be shared between arti and arti-relay. See: #2470
| * Split OTLP exporter into separate crate.Wesley Aptekar-Cassels2026-08-102-85/+0
| | | | | | | | | | This will allow this code to be shared between arti and arti-relay, and will also likely be useful for others in the ecosystem.
* | arti: Move cfg_mgr preservation techniqueNick Mathewson7 days1-2/+4
| |
* | arti: In RPC mode, remember normalized configuration dataNick Mathewson7 days1-9/+43
| | | | | | | | This will be the basis for configuration _inspection_.
* | arti: Give an Arc<CfgMgr> to RPC superuser sessions.Nick Mathewson7 days4-5/+26
| |
* | arti: Construct CfgMgr object earlier.Nick Mathewson7 days1-10/+11
| |
* | reload_cfg: add comments about some tricky points.Nick Mathewson7 days1-0/+9
| |
* | reload_cfg: Allow modules to be set after CfgMgr is createdNick Mathewson7 days1-10/+35
| | | | | | | | (But before the watcher task is launched.)
* | code movement to tidy previous commitNick Mathewson7 days1-44/+41
| |
* | reload_cfg: Separate creation of CfgMgr and launch of taskNick Mathewson7 days2-7/+63
| | | | | | | | | | | | We want to be able to create the CfgMgr early so that we can give it to the RPC code, then add a bunch of reconfigurable modules to it, and only then launch the file-watcher task.
* | Merge branch 'all_bind_addr_fail' into 'main'Jim Newsome9 days1-1/+6
|\ \ | | | | | | | | | | | | refactor: fail when all addresses bind fail See merge request tpo/core/arti!4309
| * | bind_dns_resolver: fail when no addresses in a group can bindSteven Masnada9 days1-1/+6
| | |
* | | Apply 1 suggestion(s) to 1 file(s)Nick Mathewson9 days1-1/+1
| | | | | | | | | Co-authored-by: gabi-250 <[email protected]>
* | | Reindent impl block.Nick Mathewson13 days1-87/+88
| | |
* | | Move reload_configuration method.Nick Mathewson13 days1-40/+37
| | | | | | | | | | | | Code movement only.
* | | reload_cfg: Refactor to use a CfgMgr object.Nick Mathewson13 days2-87/+134
|/ / | | | | | | | | | | | | | | | | Right now this just helps us keep the parts of the configuration-reloading logic in one place, and clarifies what needs to be owned by the watcher thread and what doesn't. Moving forward, this will help make the configuration something that RPC can inspect and change.
* | Merge branch 'dns_qdcount_must_be_one' into 'main'Nick Mathewson2026-08-121-68/+71
|\ \ | | | | | | | | | | | | fix: the number of dns queries should be 1 See merge request tpo/core/arti!4281
| * | fix: the number of dns queries should be 1steven2026-08-041-68/+71
| |/
* / arti: Fix compilation of http-connect without rpcNick Mathewson2026-08-101-1/+1
|/ | | | Closes #2653.
* arti: Ratelimit proxy error reportssyphyr2026-07-231-3/+46
| | | | Implement log_ratelim! in report_proxy_error
* Use "extend" for arti ResponseBuilder extension traitIan Jackson2026-07-161-13/+3
|
* Merge branch 'remove-lint' into 'main'Jim Newsome2026-07-157-11/+2
|\ | | | | | | | | | | | | Removed unnecessary lint Closes #2556 See merge request tpo/core/arti!4210
| * Remove now-unneeded allow(clippy::cognitive_complexity)Jim Newsome2026-07-156-9/+0
| |
| * add_warning: add reference to arti#2556Jim Newsome2026-07-152-2/+2
| |
| * Removed unnecessary lintpryty262026-07-152-2/+2
| | | | | | | | Removed unnecessary lint
* | arti: subcommands: keys: Fix clippy::for-kv-maphjrgrn2026-07-131-2/+2
| |
* | multiple crates: Fix clippy warningshjrgrn2026-07-103-7/+7
|/
* arti: remove references to old `trace_filter` in commentsSteven Engler2026-06-252-2/+2
|
* arti: subcommands: keys: Fix compact outputhjrgrn2026-06-221-1/+1
|
* Merge branch 'keys-list-tests' into 'main'opara2026-06-181-0/+5
|\ | | | | | | | | arti: Rewrite hand-written tests using `trycmd` See merge request tpo/core/arti!4126
| * arti: Sort the arti keys list outputGabriela Moldovan2026-06-171-0/+5
| | | | | | | | | | This will make the output deterministic and enable us to write some `trycmd` tests in the form of markdown output snippets.
* | Merge branch 'misc_string_slices_1' into 'main'Clara Engler2026-06-181-2/+1
|\ \ | |/ |/| | | | | Fix string_slice exceptions outside of netdoc See merge request tpo/core/arti!4092
| * arti: remove string slicesNick Mathewson2026-06-101-2/+1
| |
* | arti: Don't mention entry validity in the help messageGabriela Moldovan2026-06-171-1/+1
| | | | | | | | | | | | This actually applies to unrecognized entries too, and besides, most users aren't going to think in terms of "valid" vs "invalid" entries, so it's best to omit this qualifier.
* | arti: subcommands: keys: Rework output of keys listhjrgrn2026-06-171-79/+110
|/
* everywhere: Add #[allow(clippy::string_slice)]Clara Engler2026-06-091-0/+1
| | | | | | | | This commit adds #[allow(clippy::string_slice)] to all functions in the code where string slices are used, alongside a TODO comment. We do this add the function header to have it consistent, as things like expression based allow's are still experimental.
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-0911-0/+11
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* arti: rpc functionality to bootstrap a defer_bootstrapped client.Nick Mathewson2026-06-085-7/+100
|
* Option to defer bootstrapping at startup.Nick Mathewson2026-06-085-17/+127
| | | | | | This option will primarily be used by integrators who want to modify the configuration, either directly or via RPC, before launching Arti completely.
* arti: Bump the versions of our opentelemetry depsGabriela Moldovan2026-06-031-1/+1
| | | | Part of #2559
* Merge branch 'client_typestate' into 'main'Nick Mathewson2026-05-271-1/+1
|\ | | | | | | | | Client: Refactor most managers into a typestate, and construct it on bootstrap. See merge request tpo/core/arti!4011
| * client: Factor out the "running a client" code into an inner typestateNick Mathewson2026-05-261-1/+1
| | | | | | | | | | | | We'll use this to distinguish "not running" from "running", in order to make it easier to be sure that non-bootstrapping clients will definitely not try to connect to the network.