<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/guard.rs, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-18T16:54:55Z</updated>
<entry>
<title>guardmgr, netdir: fix some needless-mut warnings</title>
<updated>2023-05-18T16:54:55Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T16:54:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=41863bd62250d20634b65a6ff2d4ab6a492e8459'/>
<id>urn:sha1:41863bd62250d20634b65a6ff2d4ab6a492e8459</id>
<content type='text'>
Found by clippy nightly
</content>
</entry>
<entry>
<title>tor-guardmgr, tor-proto: minor logging tweaks</title>
<updated>2023-05-18T15:04:11Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-05-18T13:55:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4665835ee8879bf4d11ccf56420b899909cf32ff'/>
<id>urn:sha1:4665835ee8879bf4d11ccf56420b899909cf32ff</id>
<content type='text'>
- We make the tor-guardmgr "We have found that {} is usable" line
  include the word "guard", otherwise it doesn't appear very useful to a
  user in safe logging mode, since the guard gets replaced with
  [scrubbed].
- The "Actually got an end cell..." message is downgraded to DEBUG.
</content>
</entry>
<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>
</feed>
