<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/path.rs, branch arti-v1.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-15T17:54:58Z</updated>
<entry>
<title>tor-circmgr: removed unused "chosen exit" functionality</title>
<updated>2024-08-15T17:54:58Z</updated>
<author>
<name>Steven Engler</name>
<email>smengler3@gmail.com</email>
</author>
<published>2024-08-15T15:32:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e03a2b6cc1f9ee07404c6ac0cd736fc4eba86a99'/>
<id>urn:sha1:e03a2b6cc1f9ee07404c6ac0cd736fc4eba86a99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: fix flaky `path::exitpath::test::by_ports` test</title>
<updated>2024-08-13T18:44:24Z</updated>
<author>
<name>Steven Engler</name>
<email>smengler3@gmail.com</email>
</author>
<published>2024-08-13T18:10:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0b7f6582283e8cdb721b2df23e99257e4191eb0'/>
<id>urn:sha1:e0b7f6582283e8cdb721b2df23e99257e4191eb0</id>
<content type='text'>
The `path::exitpath::test::by_ports` test sometimes failed now that the
test is using a `GuardMgr` since `select_guard`, when given a chosen
exit, only ensures that the guard and chosen exit are not in the same
family. It does not ensure that the guard and exit do not share an
extended family. This commit relaxes an assertion in the test.

```text
thread 'path::exitpath::test::by_ports' panicked at crates/tor-circmgr/src/path/exitpath.rs:295:9:
assertion failed: r1.can_share_circuit(r3, subnet_config)
```

This "chosen exit" functionality isn't actually being used anywhere
(`ExitPathBuilderInner::ChosenExit` is only ever constructed in tests).
</content>
</entry>
<entry>
<title>tor-circmgr: make `GuardMgr` mandatory</title>
<updated>2024-08-13T00:21:53Z</updated>
<author>
<name>Steven Engler</name>
<email>smengler3@gmail.com</email>
</author>
<published>2024-08-13T00:09:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=acf1e81bb8621ec322ebd56b89c47c28958d3bfb'/>
<id>urn:sha1:acf1e81bb8621ec322ebd56b89c47c28958d3bfb</id>
<content type='text'>
Functions that took `Option&lt;&amp;GuardMgr&gt;` now take only `&amp;GuardMgr`.

Three unit tests were removed that covered behaviour when no guard
manager was set.
</content>
</entry>
<entry>
<title>tor-circmgr: Add a TODO about an unused restriction.</title>
<updated>2024-06-20T12:12:55Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-11T13:49:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=838f4c7b0545273c17c8d55a6bd5de18f237fff9'/>
<id>urn:sha1:838f4c7b0545273c17c8d55a6bd5de18f237fff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: If the path is invalid, display the offending hops in the error.</title>
<updated>2024-06-03T19:05:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-03T18:32:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8597aed6fd22971d2cee2803e7903a7e83f469b0'/>
<id>urn:sha1:8597aed6fd22971d2cee2803e7903a7e83f469b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Ensure pick_path() builds paths with unique hops (fmt).</title>
<updated>2024-06-03T19:05:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-03T17:18:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=458ed2dbd6a86ac763618afb9299bc88a0b14377'/>
<id>urn:sha1:458ed2dbd6a86ac763618afb9299bc88a0b14377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Ensure pick_path() builds paths with unique hops.</title>
<updated>2024-06-03T19:05:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-03T16:43:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=84d5f5a8ba8b15fd7c42160038f97087ca9d5ea5'/>
<id>urn:sha1:84d5f5a8ba8b15fd7c42160038f97087ca9d5ea5</id>
<content type='text'>
We now return an internal error if the path we've just built contains
the same hop in multiple positions.
</content>
</entry>
<entry>
<title>tor-circmgr: Exclude the circ target when building paths.</title>
<updated>2024-06-03T19:05:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-05-24T17:42:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a35491d301aa031df8444c5a8f8408443d38aa88'/>
<id>urn:sha1:a35491d301aa031df8444c5a8f8408443d38aa88</id>
<content type='text'>
Closes #1425
</content>
</entry>
<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>
</feed>
