| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that the relevant functions now report changed/not-changed
status via a boolean out-parameter (see !527), there's no reason to
have a separate NoChanged error case.
Closes #484.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ConfigurationSources: Allow config files to be world-readable.
Closes #475
See merge request tpo/core/arti!528
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes #475.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Initial draft policy on supported platforms and dependencies
Closes #379
See merge request tpo/core/arti!513
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
reply socks error on more codepath
Closes #258
See merge request tpo/core/arti!531
|
| | | |_|_|/ /
| |/| | | | |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
add example for Isolation
Closes #414
See merge request tpo/core/arti!524
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
implementing the trait
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
DirMgr: Stop load-from-cache process when there is no change.
Closes #482
See merge request tpo/core/arti!527
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously in !511 I had introduced a bug where, if there was an
error more serious than "no change", that error would keep us from
noticing that we had no change, and we'd loop until the safety
counter ran out. Then we'd panic.
This commit fixes the bug by reintroducing the `changed` boolean --
this time as an outparam for the add_from_* methods.
Fixes #482.
|
| | | | | | | |
|
| | | | | | | |
|
| | |_|_|/ /
|/| | | | |
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make file permissions configurable via regular config mechanisms
Closes #465
See merge request tpo/core/arti!515
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change requires a little refactoring of TorClientBuilder: now,
instead of enabling or disabling mistrust, it enables or disables
the decision to _override_ the mistrust in the config.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We support all of the following (in TOML notation):
```
user = "rose" # by name
user = 413 # by ID
user = false # no user
user = ":current" # A 'special' user.
user = { name: "rose" }
user = { id: 413 }
user = { special: ":none" }
user = { special: ":current" }
```
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The Group and User (de)serialization is pretty ugly, and I can't
vouch for the correcness of MistrustBuilder. I will seek feedback
before I proceed.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will help make the actual configuration more serializable,
I hope.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is an approximately minimal revision to get Builder in place;
subsequent commits will clean up the API.
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
This renaming will make things slightly simpler for declaring a
builder.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Update to newer sanitize-filename and tinystr.
See merge request tpo/core/arti!523
|
| | |/ / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Make clippy +nightly pass again
See merge request tpo/core/arti!522
|
| | | | |
| | | |
| | | |
| | | | |
It's a little overzealous sometimes, but it's mostly to the good.
|
| | | | |
| | | |
| | | |
| | | | |
These are warnings that we've decided it's okay to suppress elsewhere.
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Remove dbg!()s in tor-config, and fix nightly CI
See merge request tpo/core/arti!516
|
| | | | | | |
|
| | |/ / /
| | | |
| | | |
| | | | |
This should satisfy our CI and turn it green again.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
async-compression minimum version 0.3.5 -> 0.3.14
Closes #473
See merge request tpo/core/arti!521
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
0.3.14 is the first released version to include
https://github.com/Nemo157/async-compression/commit/e7246738762de34bbb820662c3923f8f2610ac95,
which fixes https://gitlab.torproject.org/tpo/core/arti/-/issues/473
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
add unit tests for arti_client::StreamPrefs
See merge request tpo/core/arti!520
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
this change adds unit tests for the public methods of StreamPrefs. although
these are mostly "setter" style functions, the tests confirm the basic
expectations and operation.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
channel: Provide and use Sink::prepare_send_from
See merge request tpo/core/arti!514
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
I think this is worse code, but it's not *significantly* worse.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
I intend to reintroduce this in its own MR.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
So we can change unwrap to expect, which makes this too long to repeat.
|