<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/path.rs, branch tor-circmgr-v0.18.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-28T12:21:14Z</updated>
<entry>
<title>Remove temporary functions in CheckedRelay.</title>
<updated>2024-03-28T12:21:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-27T18:09:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd53eca3a35d5918e13cac50a13f2bb91ce622da'/>
<id>urn:sha1:dd53eca3a35d5918e13cac50a13f2bb91ce622da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Make the path module crate-private.</title>
<updated>2024-03-20T17:48:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-20T15:29:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c1eb94173521bc5104449327650e20ffe32afa7'/>
<id>urn:sha1:4c1eb94173521bc5104449327650e20ffe32afa7</id>
<content type='text'>
We're not currently using any of the path builders outside of
`tor-circmgr`, so let's make them crate-private for now.

Care must be taken if/when we decide to make them public again. For
instance, the `HsPathBuilder` exposes two path building functions, one
that uses vanguards, and one that doesn't. We want to strongly encourage
the use of the vanguards-aware version of the function whenever the
`vanguards` feature is enabled, without breaking any of its existing
non-vanguard uses.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2046#note_3010217
</content>
</entry>
<entry>
<title>tor-circmgr: Remove unnecessary AnonymousPathBuilder impl.</title>
<updated>2024-03-20T17:48:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-20T10:53:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=381a1b06f87af7ef070651f9f0a04640b162f88d'/>
<id>urn:sha1:381a1b06f87af7ef070651f9f0a04640b162f88d</id>
<content type='text'>
Instead of the `B: AnonymousPathBuilder` argument, `select_guard` now
takes separate arguments for the values it previously obtained by
calling the methods of `AnonymousPathBuilder`. This enables us to remove
the mostly unnecessary `AnonymousPathBuilder` implementation of
`VanguardHsPathBuilder`.
</content>
</entry>
<entry>
<title>tor-circmgr: Extract guard selection to a separate function.</title>
<updated>2024-03-20T17:48:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-18T10:54:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a30bb6bf7e3af1063e101ed86546adb839132f5'/>
<id>urn:sha1:4a30bb6bf7e3af1063e101ed86546adb839132f5</id>
<content type='text'>
We're about to reuse this in the path selection with vanguards
implementation.
</content>
</entry>
<entry>
<title>tor-circmgr: Impl From&lt;Vanguard&gt; for MaybeOwnedRelay.</title>
<updated>2024-03-20T17:48:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-14T21:14:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=65cd9a307fa341e66d74d981420641a3b635247b'/>
<id>urn:sha1:65cd9a307fa341e66d74d981420641a3b635247b</id>
<content type='text'>
We will soon need this in `HsPathBuilder` (for building `TorPath`s that
consist of vanguards).
</content>
</entry>
<entry>
<title>tor-circmgr: Remove unused lifetime.</title>
<updated>2024-03-20T17:48:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-14T20:15:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7c1af0cb8f8e74984e870e11351bc803c18b6149'/>
<id>urn:sha1:7c1af0cb8f8e74984e870e11351bc803c18b6149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Move pick_path out of AnonymousCircuitBuilder.</title>
<updated>2024-03-14T12:39:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-13T15:28:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fc7c647f05a3f0ddde556bb065d357d6fc842211'/>
<id>urn:sha1:fc7c647f05a3f0ddde556bb065d357d6fc842211</id>
<content type='text'>
This enables us to make `AnonymousCircuitBuilder` private.
</content>
</entry>
<entry>
<title>tor-circmgr: Add a new hspath module for building onion service circuits.</title>
<updated>2024-03-14T12:27:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-12T17:36:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=75bec72d8458dfd7d85c7030ba07f596c8d869c4'/>
<id>urn:sha1:75bec72d8458dfd7d85c7030ba07f596c8d869c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Add AnonymousPathBuilder trait.</title>
<updated>2024-03-14T12:27:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-13T11:11:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=21b5a828529d46292f6432947f62ff830b033241'/>
<id>urn:sha1:21b5a828529d46292f6432947f62ff830b033241</id>
<content type='text'>
The `pick_path()` default implementation is an almost verbatim copy of
`ExitPathBuilder::pick_path()`. The only difference is that instead of
using values from `self`, the `AnonymousPathBuilder::pick_path()` uses
the values returned by the different `AnonymousPathBuilder` functions
(i.e., `AnonymousPathBuilder::pick_exit()` instead of
`self.pick_exit()`, `AnonymousPathBuilder::compatible_with()` instead of
`self.compatible_with`, etc.).
</content>
</entry>
<entry>
<title>Fix typos in doc comments</title>
<updated>2024-03-06T19:52:42Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2024-03-06T19:05:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18db641cca83fa707b3a97fa2975f99063f08875'/>
<id>urn:sha1:18db641cca83fa707b3a97fa2975f99063f08875</id>
<content type='text'>
</content>
</entry>
</feed>
