<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell.rs, branch arti-v1.4.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-05-07T12:39:33Z</updated>
<entry>
<title>cell: move ExtList module out of hs module.</title>
<updated>2025-05-07T12:39:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-30T14:14:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2d455628b5a6cea4c6af75f72f4664b925f7653'/>
<id>urn:sha1:c2d455628b5a6cea4c6af75f72f4664b925f7653</id>
<content type='text'>
We're going to use it for ntorv3 extensions as well.
</content>
</entry>
<entry>
<title>proto, cell: Remove RelayCellFormatTrait.</title>
<updated>2025-05-06T22:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-30T00:59:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=297aa8027f7528605fe5bf2097f3474d9ba3eef9'/>
<id>urn:sha1:297aa8027f7528605fe5bf2097f3474d9ba3eef9</id>
<content type='text'>
The purpose of the trait was to parameterize the tor1 cell crypto
on the different possible relay cell layouts.

It made sense to have this trait when we thought we would implement
the new cell layout for prop340 (packed-and-fragmented) well before
we implemented CGO.

But it now appears all but certain that CGO will land long before
we make any more headway on prop340.  Therefore,
it doesn't make sense to carry the ability to customize `tor1`
for other relay cell layouts.

Removing this trait saves a fair bit of complexity.
</content>
</entry>
<entry>
<title>tor-cell: optimize slice indexing</title>
<updated>2025-05-01T02:01:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-05-01T01:27:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1dbe3698641ee1836cf24e497919187c47ae8148'/>
<id>urn:sha1:1dbe3698641ee1836cf24e497919187c47ae8148</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: rename `STREAM_ID_OFFSET` to `STREAM_ID_OFFSET_V0`</title>
<updated>2025-05-01T01:51:55Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-05-01T01:01:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f5963d21f3d66ae18a24048eb080d2be8d627da'/>
<id>urn:sha1:6f5963d21f3d66ae18a24048eb080d2be8d627da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: add `UnparsedRelayMsg::data_len`</title>
<updated>2025-05-01T01:51:55Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-30T17:49:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=163dc9d6dd7f167869c54f6f2d95cf04ca2af58d'/>
<id>urn:sha1:163dc9d6dd7f167869c54f6f2d95cf04ca2af58d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: simpler (?) approach to StreamIdReq</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-16T12:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=deb42f5d25ce8a40dbae2f118e976ebab9def7b1'/>
<id>urn:sha1:deb42f5d25ce8a40dbae2f118e976ebab9def7b1</id>
<content type='text'>
Instead of having a StreamIdReq that indicates
"None in V1, Any in V0", take an optional RelayCellFormat
as an argument.
</content>
</entry>
<entry>
<title>cell: simpler approach to assert-checking offsets</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-16T12:15:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00205f70dace541070a5974931effd2e152387d3'/>
<id>urn:sha1:00205f70dace541070a5974931effd2e152387d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: Implement parsing and encoding for V1 relay cells</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-10T00:09:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51b2102671e7ef00423299b4c6418c0bc609ec5e'/>
<id>urn:sha1:51b2102671e7ef00423299b4c6418c0bc609ec5e</id>
<content type='text'>
This is the main part of #1944, and will be needed for CGO.
</content>
</entry>
<entry>
<title>cell: Add a debugging-only method to simplify debug_asserts.</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T00:43:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=552dc7ab00bcac254b9b2a39397de9aa4ac0c4c0'/>
<id>urn:sha1:552dc7ab00bcac254b9b2a39397de9aa4ac0c4c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: Refine StreamIdReq for V1 relay cells, with minimal changes</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-10T23:52:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=281a3dcdc9b00fb6724fc5062b13044e5e66e702'/>
<id>urn:sha1:281a3dcdc9b00fb6724fc5062b13044e5e66e702</id>
<content type='text'>
Fortunately, the type is crate-internal, so this is not a breaking
change.

The key insight with this change is that, from the _caller's_ POV,
the set of cells that are allowed to have StreamIDs has not changed.
The only difference is that the V1 relay cell code needs to
distinguish unrecognized commands from the SENDME case.
</content>
</entry>
</feed>
