<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch arti-v1.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-08-28T10:54:49Z</updated>
<entry>
<title>proto: Move TunnelId to a separate, shared module (fmt).</title>
<updated>2025-08-28T10:54:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T13:07:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7339985af4f71bff5d18a03f803d801381d52ba'/>
<id>urn:sha1:d7339985af4f71bff5d18a03f803d801381d52ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Move TunnelId to a separate, shared module.</title>
<updated>2025-08-28T10:54:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T13:02:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=567c8bd287c5c5a45b602be80c119fd741f9eb3a'/>
<id>urn:sha1:567c8bd287c5c5a45b602be80c119fd741f9eb3a</id>
<content type='text'>
The `TunnelId*` types will be reused in the relay reactor (exit relays
need to have the concept of a "tunnel ID" because of conflux).

Now the `relay::reactor` module only has a single import from `client`
(for the `unwrap_or_shutdown` helper, which we should be able to remove
soon). From now, we will avoid importing anything from `client` in the
`relay` module, and instead prefer refactoring the code as needed (to
pull the implementation-agnostic parts outside of `client`).

This commit has no functional changes, just code motion.
</content>
</entry>
<entry>
<title>proto: Add a circuit module shared between client and relay impls.</title>
<updated>2025-08-28T10:54:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-26T17:48:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ee5a4abcee895e79588888f6bc8eaa6963a6ba7'/>
<id>urn:sha1:4ee5a4abcee895e79588888f6bc8eaa6963a6ba7</id>
<content type='text'>
This is just code motion (I suggest reviewing with `--color-moved`).

This also moves the implementation-agnostic parts from
`tor_proto::client::circuit` to a new `tor_proto::circuit` module.
</content>
</entry>
<entry>
<title>Merge branch 'relay-chan-msg' into 'main'</title>
<updated>2025-08-28T09:53:17Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-28T09:53:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0d8126ca0281e2dffa3c90999893ebe38e86892'/>
<id>urn:sha1:f0d8126ca0281e2dffa3c90999893ebe38e86892</id>
<content type='text'>
proto: Add a new RelayCircChanMsg message subclass.

See merge request tpo/core/arti!3198</content>
</entry>
<entry>
<title>proto: Avoid referring to restricted ChanMsgs as "subclasses".</title>
<updated>2025-08-28T09:08:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T18:57:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=997b56b9fe7daed11c80467ed453738811ca0996'/>
<id>urn:sha1:997b56b9fe7daed11c80467ed453738811ca0996</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Add a new RelayCircChanMsg message subclass.</title>
<updated>2025-08-28T09:08:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T17:31:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c23549f6b76ea19dc41ea65f5d7ef2d4af39ac78'/>
<id>urn:sha1:c23549f6b76ea19dc41ea65f5d7ef2d4af39ac78</id>
<content type='text'>
This will be used to restrict the types of messages that can be sent on
the relay-specific channels.
</content>
</entry>
<entry>
<title>proto: Derive ChanMsgSubclass for CreateResponse, ClientCircChanMsg.</title>
<updated>2025-08-27T18:08:57Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T17:46:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5480ad5eccaafff2deb329cf679e54692ded9a1a'/>
<id>urn:sha1:5480ad5eccaafff2deb329cf679e54692ded9a1a</id>
<content type='text'>
This enables us to remove the open-coded implementations in favor of the
derived version.
</content>
</entry>
<entry>
<title>proto: Add d-d macro for creating AnyChanMsg subclasses.</title>
<updated>2025-08-27T18:08:57Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-27T17:43:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09706993c7c76ebb4d82db475210d53cfc5fd179'/>
<id>urn:sha1:09706993c7c76ebb4d82db475210d53cfc5fd179</id>
<content type='text'>
The code for generating these is repetitive (see `CreateResponse` and
`ClientChanMsg`), and we will soon need a `RelayChanMsg` type too, so
now is a good time to introduce a helper for generating the boilerplate.
</content>
</entry>
<entry>
<title>tor-proto: don't allow consecutive XOFF messages</title>
<updated>2025-08-27T18:07:12Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-08-27T18:05:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c328624ac5213ff711576b1072022ae63e7c01a'/>
<id>urn:sha1:1c328624ac5213ff711576b1072022ae63e7c01a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Only allow VERSIONS cell for the new handshake state</title>
<updated>2025-08-27T15:04:24Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-08-26T17:03:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=afe97476d39bfb3db7387ed073e4bad350ea3c7e'/>
<id>urn:sha1:afe97476d39bfb3db7387ed073e4bad350ea3c7e</id>
<content type='text'>
Due to this, it is not possible to get a VPADDING before because it
requires a link protocol version to decideon the encoding:

https://gitlab.torproject.org/tpo/core/torspec/-/issues/366

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
