<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/guard.rs, branch arti-v0.0.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-11-24T23:13:58Z</updated>
<entry>
<title>Fix a clippy issue on nightly</title>
<updated>2021-11-24T23:13:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T23:13:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e2c89b03bf3ff9a31bfb73db02717e25385228f2'/>
<id>urn:sha1:e2c89b03bf3ff9a31bfb73db02717e25385228f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a few typos.</title>
<updated>2021-11-24T23:12:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T22:31:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f55950ab8d86fec3c5fbe33650c4a7001f9812b3'/>
<id>urn:sha1:f55950ab8d86fec3c5fbe33650c4a7001f9812b3</id>
<content type='text'>
Also fix some commonwealth spellings that had slipped in.
</content>
</entry>
<entry>
<title>Fix typo in tor-guardmgr comment related to suspicious guards</title>
<updated>2021-11-23T04:48:30Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-23T04:48:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c80b5d8690e18dd5a0066753b13900c9206ae31'/>
<id>urn:sha1:8c80b5d8690e18dd5a0066753b13900c9206ae31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove all remaining dbg! instances.</title>
<updated>2021-11-04T14:54:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-04T14:54:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dae8cdb463d94b444ecd465f3a52fdc5a8ed3ede'/>
<id>urn:sha1:dae8cdb463d94b444ecd465f3a52fdc5a8ed3ede</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-guardmgr: Add tests for a few functions.</title>
<updated>2021-11-02T16:17:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-02T11:59:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c979a2f83a6eabf4b0e169af09a6c25e1eae5113'/>
<id>urn:sha1:c979a2f83a6eabf4b0e169af09a6c25e1eae5113</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Futureproof&lt;T&gt; wrapper type, use for GuardDisabled enum</title>
<updated>2021-10-27T14:10:44Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T13:09:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a4db67b16cf54d1373e2d71aa638358e5b36dc7'/>
<id>urn:sha1:5a4db67b16cf54d1373e2d71aa638358e5b36dc7</id>
<content type='text'>
The Futureproof&lt;T&gt; type lets you serialize and deserialize types whose
representations might change (most useful for enums that might grow
additional variants). It uses #[serde(untagged)] to accomplish this.

This gets used in order to make the `disabled` field of `Guard` more
robust against future guard disablement reasons being added.

A test was also added to verify correct behaviour of the new type.
</content>
</entry>
<entry>
<title>Add #[serde(flatten)] HashMap fields to serializable objects</title>
<updated>2021-10-27T12:31:52Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-27T12:31:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a931b4de39f123b3af8afe96492bf5c67c81b95'/>
<id>urn:sha1:7a931b4de39f123b3af8afe96492bf5c67c81b95</id>
<content type='text'>
As per arti#175, we'd like to be able to handle newer Arti versions
storing additional state in the persisted state files, without dropping
this data on the floor when we write out changes to these files.

Use the #[serde(flatten)] mechanism to achieve this, by adding catch-all
HashMap&lt;String, JsonValue&gt; fields to all structs that are at risk of
this happening to them.
</content>
</entry>
<entry>
<title>Implement a "lightweight" form of pathbias detection.</title>
<updated>2021-10-26T16:03:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-25T15:06:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c69b5d389a71e19054f13b973ea9d0e74f28ca9'/>
<id>urn:sha1:8c69b5d389a71e19054f13b973ea9d0e74f28ca9</id>
<content type='text'>
We now track, for every guard: the total number of successful
circuits we've built through it, along with the total number of
"indeterminate" circuits.

Recall that a circuit's status is "indeterminate" if it has failed
for a reason that _might_ be the guard's fault, or might not be the
guard's fault.  For example, if extending to the second hop of the
circuit fails, we have no way to know whether the guard deliberately
refused to connect there, or whether the second hop is just offline.

But we don't want to forgive all indeterminate circuit failures: if
we did, then a malicious guard could simply reject any second hops
that it didn't like, thereby filtering the client into a chosen
set of circuits.

As a stopgap solution, this patch now makes guards become
permanently disabled if the fraction of their circuit failures
becomes too high.

See also general-purpose path bias selection (arti#65), and Mike's
idea for changing the guard reachability definition (torspec#67).
This patch doesn't do either of those.

Closes #185.
</content>
</entry>
<entry>
<title>guardmgr: Don't use guards that are marked as unlisted.</title>
<updated>2021-10-25T14:27:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-25T14:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=84f81d14eb80fe78527600f24202f60796756582'/>
<id>urn:sha1:84f81d14eb80fe78527600f24202f60796756582</id>
<content type='text'>
Closes #202.
</content>
</entry>
<entry>
<title>Implement the guard side of shared state directories.</title>
<updated>2021-10-21T17:31:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-21T17:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a99833777b81cb3cad7ea677510f9c886967401'/>
<id>urn:sha1:8a99833777b81cb3cad7ea677510f9c886967401</id>
<content type='text'>
</content>
</entry>
</feed>
