- Apr 14, 2022
-
-
Nick Mathewson authored
-
Ian Jackson authored
-
- Apr 13, 2022
-
-
Nick Mathewson authored
Rename "deletable" to "obsolete". Simplify function structure. Report errors from `metadata()` and `modified()`. Don't claim that we're going to delete something unless we are. Comment about making CUTOFF configurable.
-
- Apr 12, 2022
-
-
Nick Mathewson authored
This patch removes files created by older versions of arti, if they are at least 4 weeks old. Closes #282
-
Nick Mathewson authored
-
- Apr 11, 2022
-
-
eta authored
guardmgr: fix a unit test panic. See merge request tpo/core/arti!454
-
Nick Mathewson authored
Apparently on OSX you are not allowed to construct an Instant that is a long time before the time when the test is running. Also, fix the length of a year in this test.
-
Nick Mathewson authored
Collect and analyze clock skew information See merge request tpo/core/arti!450
-
Nick Mathewson authored
-
Nick Mathewson authored
This simplifies the code a lot.
-
Nick Mathewson authored
-
Nick Mathewson authored
This time, our estimator discards outliers, takes the mean of what's left, and uses the standard deviation to try to figure out how seriously to take our report of skew/not-skew. These estimates are still not actually used.
-
- Apr 08, 2022
-
-
Nick Mathewson authored
fix maint/cargo_audit not propagating error and add temporary exceptions See merge request tpo/core/arti!452
-
Nick Mathewson authored
use rustc 1.60 for coverage See merge request tpo/core/arti!451
-
trinity-1686a authored
-
trinity-1686a authored
using stable doesn't work for CI because a specific version like 1.60 is installed
-
trinity-1686a authored
-
- Apr 07, 2022
-
-
trinity-1686a authored
-
Nick Mathewson authored
(This is just a placeholder; I'm going to make the functions smarter in the next commit.)
-
Nick Mathewson authored
-
Nick Mathewson authored
(It is not yet actually used.)
-
Nick Mathewson authored
(The information is not yet recorded.)
-
Nick Mathewson authored
We need this since we want to report certain conditions only when they happen on a new channel, not if we observe them on a preexisting channel.
-
Nick Mathewson authored
Fortunately, we don't need a separate type here: authenticated clock skew can only come attached to a `tor_proto::Error`. We also remove skew from `tor_proto::Error::HandshakeCertsExpired`, since it would now be redundant.
-
Nick Mathewson authored
of a channel. At first I wanted to have this information not be a part of channels at all, but it is a fairly tiny amount of data, and the alternatives are pretty crufty.
-
- Apr 06, 2022
-
-
Nick Mathewson authored
Downgrade `rlimit` to 0.7. See merge request tpo/core/arti!449
-
Nick Mathewson authored
Upstream 0.8.2 has broken compilation with Rust 1.53; versions 0.8.{0,1} have been yanked. Possibly by the time the next arti version comes out, they'll have fixed this situation, or we'll have upgraded our MSRV. Upstream issue at https://github.com/Nugine/rlimit/issues/42 .
-
Nick Mathewson authored
# Conflicts: # doc/semver_status.md
-
eta authored
Treat expired/not-yet-valid directory objects as Errors. Closes #431 See merge request tpo/core/arti!448
-
- Apr 05, 2022
-
-
Nick Mathewson authored
Doing this will make us treat caches that send us these objects as not-working, and close circuits to them instead of trying over and over. The case where we add a document from the cache requires special handling: it isn't actually a error to find an expired document in our cache (unless the passage of time itself is erroneous, which is a debatable proposition at best). Fixes #431.
-
Nick Mathewson authored
-
Nick Mathewson authored
Improved handling for retriable errors in circmgr Closes #427 and #421 See merge request tpo/core/arti!443
-
Nick Mathewson authored
# Conflicts: # doc/semver_status.md
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The old version of this function was error-prone, and in fact had errors: it was too easy to forget to add non-persistent fields, and that's exactly what we forgot in a few cases (`microdescriptor_missing`, `circ_history`, and `suspicious_behavior_warned`). The new version of this function consumes both of the incoming Guards, and constructs every field explicitly so that we can't forget to list any. Closes #429.
-
Nick Mathewson authored
Previously, we treated successfully building a circuit to a guard as a "success", and any failure, including a directory cache failure, as a failure. With this change, guards now have separate success/failure and retry status for circuit usage and directory usage. This change is needed for guard-as-directory retry to have reasonable behavior. Otherwise, when a guard succeeds at building a circuit, that clears the directory-is-failing status and makes us retry the guards to quickly.
-
- Apr 04, 2022
-
-
Nick Mathewson authored
This will help when we give Guards a DirStatus as well.
-
Nick Mathewson authored
Previously the code would do stuff like ``` schedule = RetrySchedule::new(INITIAL_DELAY); ``` which is needlessly verbose, since the schedule already keeps track of its initial delay.
-
Nick Mathewson authored
It's about to be shared between fallbacks and guards.
-