<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/config.rs, branch arti-v0.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-03-30T14:39:06Z</updated>
<entry>
<title>Turn FallbackList into a real type, and store one in GuardMgr.</title>
<updated>2022-03-30T14:39:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-25T20:44:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9da43189f36b19681d10b78ef982c52c929b4573'/>
<id>urn:sha1:9da43189f36b19681d10b78ef982c52c929b4573</id>
<content type='text'>
The guard manager is responsible for handing out the first hops of
tor circuits, keeping track of their successes and failures, and
remembering their states.  Given that, it makes sense to store this
information here.  It is not yet used; I'll be fixing that in
upcoming commits.

Arguably, this information no longer belongs in the directory
manager: I've added a todo about moving it.

This commit will break compilation on its own in a couple of places;
subsequent commits will fix it up.
</content>
</entry>
<entry>
<title>Move fallback.rs into guardmgr.</title>
<updated>2022-03-30T14:34:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-25T17:38:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80b65c3a4d4108c6b4b0cb91722f89c8e5859b7d'/>
<id>urn:sha1:80b65c3a4d4108c6b4b0cb91722f89c8e5859b7d</id>
<content type='text'>
This is the logical place for it, I think: the GuardMgr's job is to
pick the first hop for a circuit depending on remembered status for
possible first hops.  Making this change will let us streamline the
code that interacts with these objects.
</content>
</entry>
<entry>
<title>Abolish filter::DynFilter in favour of transparent DirFilter</title>
<updated>2022-03-25T13:08:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-25T13:08:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=678504d9f90e1a281a8987cbd52fb0547364b623'/>
<id>urn:sha1:678504d9f90e1a281a8987cbd52fb0547364b623</id>
<content type='text'>
There are two reasons why the DynFilter newtype might be needed:

1. To impl Default.  But we don't need it to impl Default since we can
have an accessor which does the defaulting.

2. To hide the API.  But this is usrely an unstable API.

Just writing Arc&lt;dyn&gt; gets rid of a lot of unnecessary boilerplate and
conversion code.
</content>
</entry>
<entry>
<title>dirmgr: Initial DirFilter code.</title>
<updated>2022-03-24T16:10:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-21T17:33:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0399fc6c12d35d8cf70d6b59eee70b93a608d57'/>
<id>urn:sha1:c0399fc6c12d35d8cf70d6b59eee70b93a608d57</id>
<content type='text'>
This code sits behind a feature flag, and can be used to modify
directories before storing them.  This is part of the implementation
for #397.
</content>
</entry>
<entry>
<title>dirmgr: NetworkConfig: Abolish accessors</title>
<updated>2022-03-18T20:49:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-18T16:03:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c5480480af6e0132a2b187c7285220e6cd58ef9'/>
<id>urn:sha1:9c5480480af6e0132a2b187c7285220e6cd58ef9</id>
<content type='text'>
Using accessors for crate-only fields is otiose.
</content>
</entry>
<entry>
<title>dirmgr: NetworkConfig: Rename fallbacks struct field</title>
<updated>2022-03-18T20:49:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-18T16:03:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6d41094141e57402f63627eae236f49a38f7a13'/>
<id>urn:sha1:a6d41094141e57402f63627eae236f49a38f7a13</id>
<content type='text'>
Rename this to be named the same as its accessor, and use the rename
feature of builder and serde.  (The shorter name is nicer in the code
IMO.)
</content>
</entry>
<entry>
<title>DirMgrConfig: abolish builder; make it transparent and exhaustive</title>
<updated>2022-03-16T19:31:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-16T19:30:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a020f82de2cccbaec48280f097f4dc8657ebc13b'/>
<id>urn:sha1:a020f82de2cccbaec48280f097f4dc8657ebc13b</id>
<content type='text'>
See rationale in the comment.
</content>
</entry>
<entry>
<title>Follow-up from arti!318</title>
<updated>2022-03-11T16:34:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-11T16:34:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=837c7d717b09ca2639287ad168ccadcdb7063835'/>
<id>urn:sha1:837c7d717b09ca2639287ad168ccadcdb7063835</id>
<content type='text'>
Make update_config only conditionally exported; add semver-status update.
</content>
</entry>
<entry>
<title>Merge branch 'add-flatfile-dirmgr' into 'main'</title>
<updated>2022-03-11T16:34:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-11T16:34:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d95dce7c708a90cdecfcfc2dd4631221b802d125'/>
<id>urn:sha1:d95dce7c708a90cdecfcfc2dd4631221b802d125</id>
<content type='text'>
Add flatfile DirMgr

See merge request tpo/core/arti!318</content>
</entry>
<entry>
<title>Expose APIs for external DirProvider</title>
<updated>2022-03-11T12:44:48Z</updated>
<author>
<name>Christian Grigis</name>
<email>christian.grigis@epfl.ch</email>
</author>
<published>2022-03-01T09:46:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=65486b185ab725878f34fa6f16d52f623a26bf34'/>
<id>urn:sha1:65486b185ab725878f34fa6f16d52f623a26bf34</id>
<content type='text'>
</content>
</entry>
</feed>
