<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-guardmgr/src/sample.rs, branch arti-v0.0.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-10-27T12:31:52Z</updated>
<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>Avoid a strange borrow syntax in tor_guardmgr::sample</title>
<updated>2021-10-26T16:03:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-26T14:22:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=682f31b1bf35e8a82ec98770cbafa8ef80ebbc7f'/>
<id>urn:sha1:682f31b1bf35e8a82ec98770cbafa8ef80ebbc7f</id>
<content type='text'>
I'm not sure what I was thinking here.
</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>
<entry>
<title>Make the guard selection function return a more useful type.</title>
<updated>2021-10-11T19:23:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-11T19:23:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=73669fa05ea5261c230e0650bc272a35bb5645aa'/>
<id>urn:sha1:73669fa05ea5261c230e0650bc272a35bb5645aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a few tracing calls to tor-guardmgr.</title>
<updated>2021-10-08T13:14:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-08T13:14:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aed9572c03908d026a13026b9dd1bacaa88600a7'/>
<id>urn:sha1:aed9572c03908d026a13026b9dd1bacaa88600a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve small issues and XXXX/TODO comments in GuardMgr.</title>
<updated>2021-10-07T18:03:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-07T18:03:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ff56a3138beb966da148235cb7af35786216a37'/>
<id>urn:sha1:0ff56a3138beb966da148235cb7af35786216a37</id>
<content type='text'>
By the time I merge this, most of the comments should have tickets
to go with them.
</content>
</entry>
<entry>
<title>Tests for tor_guardmgr::sample.</title>
<updated>2021-10-07T14:45:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-03T17:46:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ef33b7afaeeda25959cb5d3e14e3eea64f93933'/>
<id>urn:sha1:7ef33b7afaeeda25959cb5d3e14e3eea64f93933</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial backend implementation for guard node manager.</title>
<updated>2021-10-07T14:45:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-10T15:18:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0779923d6474bb72427d19b2e504b3fd370b78a2'/>
<id>urn:sha1:0779923d6474bb72427d19b2e504b3fd370b78a2</id>
<content type='text'>
There are some missing parts here (like persistence and tests)
and some incorrect parts (I am 90% sure that the "exploratory
circuit" flag is bogus).  Also it is not integrated with the circuit
manager code.
</content>
</entry>
</feed>
