<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/tunnel/reactor.rs, branch arti-v1.4.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-07T15:58:27Z</updated>
<entry>
<title>tor-proto: Remove unnecessary return.</title>
<updated>2025-07-07T15:58:27Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-07T15:58:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6672d6eb48c42df25b8de32dc5af60546287e92d'/>
<id>urn:sha1:6672d6eb48c42df25b8de32dc5af60546287e92d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Continue reading from leaky-pipe streams if main leg is blocked.</title>
<updated>2025-06-27T14:16:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-26T18:10:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf8ca54cf41259188d6da73373612cb3d07122a8'/>
<id>urn:sha1:cf8ca54cf41259188d6da73373612cb3d07122a8</id>
<content type='text'>
Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3077#note_3218281
</content>
</entry>
<entry>
<title>hsservice: Stop using HopNum and use TargetHop</title>
<updated>2025-06-26T14:18:30Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-06-25T15:00:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=611a35888fc2780d7cca31f0a3b7b1b88ccf8079'/>
<id>urn:sha1:611a35888fc2780d7cca31f0a3b7b1b88ccf8079</id>
<content type='text'>
This requires some changes to the tor-proto crate to handle the inbound
TargetHop from the HS subsystem and then resolve it into a HopNum for a
single circuit.

It is expected that this will change again with Conflux to only use
HopLocation internally in a Tunnel and then use HopNum into a Circuit.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>hs: Remove the use of HopNum and instead use TargetHop</title>
<updated>2025-06-26T14:18:30Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-06-19T17:57:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d05e9f4825f96d5fe470be84cf3095d4c675817'/>
<id>urn:sha1:7d05e9f4825f96d5fe470be84cf3095d4c675817</id>
<content type='text'>
This is in the spirit of making everything going inbound the tor-proto
crate to use a TargetHop.

This becomes much easier for the HS subsystem as it only uses the last
hop for its conversation and setup.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add helper function to resolve TargetHop</title>
<updated>2025-06-26T14:18:30Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-06-19T17:05:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=616ec026ab71d578fad683ae87c66b997c7960a0'/>
<id>urn:sha1:616ec026ab71d578fad683ae87c66b997c7960a0</id>
<content type='text'>
The Reactor has two functions to resolve both TargetHop into a
HopLocation and then a HopLocation into a (UniqId, HopNum).

This commit simply adds a helper that does both but returns an Option
instead of a Result as it will be used by the reactor command handler
and more in future conflux commits.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-proto: Give Circuit a handle to the DynTimeProvider.</title>
<updated>2025-06-23T16:48:44Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-19T16:53:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed1123ed71d06fb3f1485684777d33736e85ece4'/>
<id>urn:sha1:ed1123ed71d06fb3f1485684777d33736e85ece4</id>
<content type='text'>
This will enable us to replace the calls to `Instant::now()` with
`DynTimeProvider::now()` throughout the RTT estimator.

This gives us the ability to mock the time, and test that conflux
leg switching occurs as expected.
</content>
</entry>
<entry>
<title>tor-proto: Replace LegId/LegIdKey with UniqId.</title>
<updated>2025-06-13T16:13:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-13T15:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9010b0459a10b70e659007d44b58cb9d6dbb5507'/>
<id>urn:sha1:9010b0459a10b70e659007d44b58cb9d6dbb5507</id>
<content type='text'>
Closes #1999
</content>
</entry>
<entry>
<title>tor-proto: Give ConfluxSet a TunnelId for logging purposes.</title>
<updated>2025-06-13T10:54:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-13T10:38:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30b933446b8d32f0d388c9220c82dc705bd8994c'/>
<id>urn:sha1:30b933446b8d32f0d388c9220c82dc705bd8994c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Use TunnelScopedCircId instead of UniqId for logging.</title>
<updated>2025-06-12T18:02:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-12T16:49:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94c463ac5fdfcd856e23a4c0e5dc4b2bbe42090c'/>
<id>urn:sha1:94c463ac5fdfcd856e23a4c0e5dc4b2bbe42090c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Assign a separate identifier to the tunnel reactor.</title>
<updated>2025-06-12T18:02:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-12T15:36:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=abc3f10f959414b8ea8a236d72ce6d0f6709c6e9'/>
<id>urn:sha1:abc3f10f959414b8ea8a236d72ce6d0f6709c6e9</id>
<content type='text'>
The plan is to reuse this identifier for the future tunnel reactor
updates channel (a channel for sending tunnel status updates to a
central consumer).
</content>
</entry>
</feed>
