| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
Split OTLP exporter into separate crate.
Closes #2611
See merge request tpo/core/arti!4297
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Mostly relating to typos and dependencies.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This contains configuration types that are shared between arti and
arti-rely.
|
| | |
| |
| |
| |
| |
| | |
This will allow this code to be shared between arti and arti-relay.
See: #2470
|
| | |
| |
| |
| |
| | |
This will allow this code to be shared between arti and arti-relay,
and will also likely be useful for others in the ecosystem.
|
| | | |
|
| | |
| |
| |
| | |
This will be the basis for configuration _inspection_.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
(But before the watcher task is launched.)
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
refactor: fail when all addresses bind fail
See merge request tpo/core/arti!4309
|
| | | | |
|
| | | |
| | |
| | | |
Co-authored-by: gabi-250 <[email protected]>
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Code movement only.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
fix: the number of dns queries should be 1
See merge request tpo/core/arti!4281
|
| | |/ |
|
| |/
|
|
| |
Closes #2653.
|
| |
|
|
|
|
| |
```bash
cargo set-version --bump patch -p arti
```
|
| |
|
|
|
|
|
| |
```bash
readarray -t bump < <(maint/list-crates | grep -P '^tor-|^arti-')
for crate in "${bump[@]}"; do cargo set-version --bump minor -p "${crate}"; done
```
|
| |\
| |
| |
| |
| | |
tor-netdoc testdata-live: Export for the benefit of other crates
See merge request tpo/core/arti!4229
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
We're about to *use* the fix that was in 1.11.4. We already updated
the lockfile in !4228, so this is just Cargo.toml changes (which will
prevent the minimal-versions tests failing when we change the code to
rely on the fix).
git-grep -l '^derive-deftly' |xargs perl -i~ -pe 's{\b\Q1.11.3\E\b}{1.11.4}g'
|
| |/
|
|
| |
Implement log_ratelim! in report_proxy_error
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Removed unnecessary lint
Closes #2556
See merge request tpo/core/arti!4210
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Removed unnecessary lint
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
|
| |
Additionally, fix itertools usage in maybenot_padding.rs
The definition of `Position` changed in 0.15.0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #2617.
We've lucked out this time, and it turns out that every one of our
published crates gets a minor bump. So this was generated with:
```
for cr in $(./maint/list-crates); do
cargo set-version -p $cr --bump minor
done
```
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
arti: Rewrite hand-written tests using `trycmd`
See merge request tpo/core/arti!4126
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Now that these test more than just the help output, we need to gate them
behind the `onion-service-service` feature: the tests involve some C Tor
keystores, and require at least one onion service to be configured,
because onion services (and clients) are the only thing these keystores
are used for.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We now have `trycmd` tests that cover most cases, so I am removing this
module. The reason this was introduced in the first place is in the
module level docs
```rust
//! The `assert_cmd` crate is used here instead of the preferred `trycmd` (see
//! [`README`](../README.md)) because the output of `keys list` is not deterministic across
//! different machines. The design choices of some components are workarounds for this limitation.
```
But this is no longer an issue now that the `keys list` output is
sorted.
Ideally, all tests would be written this way (we have a few more modules
in `cli_tests` that we should probably port to `trycmd` sometime).
Note: some of the tests I'm removing here don't have a `trycmd`
counterpart in `arti/tests/testcases/keys`. In my opinion, this is
perfectly fine, because the old tests were unnecessarily testing all the
possible configurations involving 1-2 keystores (one arti, and one C
Tor): it is not the responsibility of the CLI tests to cover all these
permutations (they should be tested in `tor-keymgr`).
|
| | |
| |
| |
| |
| | |
This is a `trycmd`-based replacement for the
`list_unregistered_keystore_fails()` test, which will be removed soon.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This un-ignores some of the output snippets from the `doc/keys.md` file,
so that our `trycmd` test runner will actually run them. This will force
us to keep the snippet in sync with the code.
This involved adding some extra config for the test C Tor keystore,
and tweaking the output to match what the commands actually print out.
|