<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel.rs, branch arti-v2.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-02-25T17:26:57Z</updated>
<entry>
<title>chanmgr: Use CircIdRange::Low for relay channels</title>
<updated>2026-02-25T17:26:57Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-24T16:01:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1df43c94b5b6f1a14d183765d75b69d6f30711a7'/>
<id>urn:sha1:1df43c94b5b6f1a14d183765d75b69d6f30711a7</id>
<content type='text'>
Closes #1601

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove Default of PeerInfo/Addr and use const instead</title>
<updated>2026-02-19T20:57:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-19T14:17:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=042b0e66059e964ebf5fce6ad1f3a4e247d3bda4'/>
<id>urn:sha1:042b0e66059e964ebf5fce6ad1f3a4e247d3bda4</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Fix clippy errors</title>
<updated>2026-02-19T20:57:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-16T19:00:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69a432a260c3ab5691f7b058920ab55978a69dab'/>
<id>urn:sha1:69a432a260c3ab5691f7b058920ab55978a69dab</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Put a PeerInfo in Channel</title>
<updated>2026-02-19T20:57:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-16T18:24:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0050751c23c7091934aba007f90a560c34a0aa55'/>
<id>urn:sha1:0050751c23c7091934aba007f90a560c34a0aa55</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Use the PeerAddr accross channel handshake</title>
<updated>2026-02-19T20:57:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-16T18:09:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7cbd4d561a0c38043d8b074800ab576bf9770f5a'/>
<id>urn:sha1:7cbd4d561a0c38043d8b074800ab576bf9770f5a</id>
<content type='text'>
This is a large change but it is basically using PeerAddr in the channel
builder through the channel handshake code and into the Channel itself.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove unused ChannelBuilder</title>
<updated>2026-02-19T20:57:29Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-12T17:04:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=abca3daac8727ccc670417384a61b1a682d3fb9d'/>
<id>urn:sha1:abca3daac8727ccc670417384a61b1a682d3fb9d</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>chan: Use Canonicity when choosing a channel</title>
<updated>2026-02-12T16:11:07Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-10T20:52:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46ccbece46c70dc1c04f9c24826cab8c333293a4'/>
<id>urn:sha1:46ccbece46c70dc1c04f9c24826cab8c333293a4</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Channel finish() now handles canonicity</title>
<updated>2026-02-12T16:11:07Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-10T20:02:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5dfb1745dd436fae53822448129198d6707cca0b'/>
<id>urn:sha1:5dfb1745dd436fae53822448129198d6707cca0b</id>
<content type='text'>
All handshake pass the NETINFO cell, the advertised addresses (if any)
and the peer address in order to build the Canonicity and build the
channel with it.

In order to pull this off, the "my_addrs" were added to several object
along the NETINFO cell.

We also pass the channel method when connecting (initiator) to a relay
as we need this for this canonicity build.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Implement a Canonicity struct</title>
<updated>2026-02-12T16:11:07Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-10T19:04:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a2a06e96313d4833bf173a8c71f989e4f2016ef9'/>
<id>urn:sha1:a2a06e96313d4833bf173a8c71f989e4f2016ef9</id>
<content type='text'>
This struct will be put in a Channel and derived from the received
NETINFO cell.

This follows the C-tor implementation for which we have two indicator of
canonicity:

1. Peer is canonical: the address they advertise in the NETINFO cell
   matches the one we see on the TCP connection.

2. Canonical to peer: the peer sees us as canonical.

Those flag will get used to select "the best" channel.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add Channel function for launching outbound relay circuits</title>
<updated>2026-02-05T16:00:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-03T12:10:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=754c51298ffb55659d35e92b3238896918fd3184'/>
<id>urn:sha1:754c51298ffb55659d35e92b3238896918fd3184</id>
<content type='text'>
This is currently very similar to its client counterpart.
</content>
</entry>
</feed>
