<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/guard.rs, branch arti-v1.1.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>guardmgr: Conditionalise DisplayRule::Redacted</title>
<updated>2022-11-29T16:32:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-29T16:08:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1bd606ab5ceb844c1c15820e8e11564d59a64e06'/>
<id>urn:sha1:1bd606ab5ceb844c1c15820e8e11564d59a64e06</id>
<content type='text'>
This is unused in bridgeless configs.  Fixes a compiler warning.
</content>
</entry>
<entry>
<title>Rustdoc fix: escape []s.</title>
<updated>2022-11-28T14:36:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-28T14:36:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d6044f3fc4be51fe7d5973dd90f3a65a8ac0b52'/>
<id>urn:sha1:5d6044f3fc4be51fe7d5973dd90f3a65a8ac0b52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GuardMgr: Treat Guards as sensitive and Bridges as redacted.</title>
<updated>2022-11-28T13:01:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-23T18:19:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf9f29158f2958a7e8bfe19789289bec3de2dd8d'/>
<id>urn:sha1:cf9f29158f2958a7e8bfe19789289bec3de2dd8d</id>
<content type='text'>
This machinery is a bit inelegant, but it is all confined to
be within the GuardMgr crate, so IMO it should be fine for now.
</content>
</entry>
<entry>
<title>Display guards in redacted form in guard status messages.</title>
<updated>2022-11-28T13:01:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-21T19:39:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=29f903bdac93e0dfd712fcd83a192a0703ef6763'/>
<id>urn:sha1:29f903bdac93e0dfd712fcd83a192a0703ef6763</id>
<content type='text'>
Closes #627, again.

Closes #648.
</content>
</entry>
<entry>
<title>GuardMgr: Log when a guard status changes (significantly).</title>
<updated>2022-11-17T17:32:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-17T17:32:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8dfbbca4e58337878e030d183b8cba9c2e77d70a'/>
<id>urn:sha1:8dfbbca4e58337878e030d183b8cba9c2e77d70a</id>
<content type='text'>
We previously had a trace message on _every_ change.  That's fine,
but we also want to log more important changes where the user
can see them.  Namely:

  * If we go from any other status to Reachable, we want to tell
    the user. (We don't want to spam them if it was already
    reachable.)
  * If we go from Untried or Reachable to Unreachable, we want to
    tell the user. (We don't tell them about changes from Retriable
    to Unreachable, since that just means that a retry attempt
    was not successful.)

Closes #627.
</content>
</entry>
<entry>
<title>GuardMgr: split Reachable::Unknown into Untried and Retriable</title>
<updated>2022-11-17T17:21:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-17T17:17:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c5dd0569873bc29671a3debdf8080febfa11c65'/>
<id>urn:sha1:6c5dd0569873bc29671a3debdf8080febfa11c65</id>
<content type='text'>
There are two cases here, and we will want to log them
differently.

(By removing the "Unknown" variant entirely, we ensure that we
didn't miss any code that formerly checked for Unknown.)
</content>
</entry>
<entry>
<title>GuardMgr: When possible, return a FirstHop that can be a CircTarget</title>
<updated>2022-11-08T13:10:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-04T19:25:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c3bb3d7e1008c8fa95c693588f48c9d38010727'/>
<id>urn:sha1:5c3bb3d7e1008c8fa95c693588f48c9d38010727</id>
<content type='text'>
We do this by checking the FirstHops we're about to return, and when
they correspond to bridges, looking up an appropriate BridgeRelay
in the current BridgeSet (if we can).
</content>
</entry>
<entry>
<title>GuardMgr: Fix and improve comments based on review.</title>
<updated>2022-11-02T12:07:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-01T21:14:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fc0c12510adce24d7c16e0b31ed79d65e75b366d'/>
<id>urn:sha1:fc0c12510adce24d7c16e0b31ed79d65e75b366d</id>
<content type='text'>
</content>
</entry>
</feed>
