<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/reactor, 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-12T16:35:14Z</updated>
<entry>
<title>proto: Remove unused function in relay FWD reactor</title>
<updated>2026-02-12T16:35:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-11T18:36:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1eb936d841ee0a70d64761ecaa35c9142ac42318'/>
<id>urn:sha1:1eb936d841ee0a70d64761ecaa35c9142ac42318</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Move decode_relay_cell() out of ForwardHandler</title>
<updated>2026-02-12T16:35:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-11T18:03:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=338c3805a93e2e7178e1e501f45756c89facb0a3'/>
<id>urn:sha1:338c3805a93e2e7178e1e501f45756c89facb0a3</id>
<content type='text'>
This doesn't need to be part of the `ForwardHandler` trait anymore,
because the base reactor no longer calls it directly (instead
implementations are supposed to handle it internally).

No functional changes here, just code motion.
</content>
</entry>
<entry>
<title>proto: Forbid EXTEND2 from RELAY cells</title>
<updated>2026-02-12T16:35:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-11T18:33:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f89a01966f5e25a4cd871f62476f164959910ffe'/>
<id>urn:sha1:f89a01966f5e25a4cd871f62476f164959910ffe</id>
<content type='text'>
Closes #2339
</content>
</entry>
<entry>
<title>proto: Return a protocol error if we get too many RELAY_EARLY</title>
<updated>2026-02-12T16:35:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T11:18:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a813a856e23b8d12b329ca3d7596f734265addf'/>
<id>urn:sha1:6a813a856e23b8d12b329ca3d7596f734265addf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Overhaul forward cell handling</title>
<updated>2026-02-12T16:35:11Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-11T17:26:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=81cfe9fd719a862be419e0b1784a127650b0eeb8'/>
<id>urn:sha1:81cfe9fd719a862be419e0b1784a127650b0eeb8</id>
<content type='text'>
This pushes the RELAY/REALY_EARLY handling inside
`handle_forward_cell()`, which now decodes the relay cells and

  * handles them internally, if they are unrecognized
    (`handle_unrecognized_cell()`), or
  * returns them back to the base reactor if they are recognized
    (RELAY and RELAY_EARLY cells are handled the same way by the
    base reactor)
</content>
</entry>
<entry>
<title>proto: Give handle_forward_cell() a handle to the hopmgr</title>
<updated>2026-02-12T16:35:11Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T11:09:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d3ce04d94937605a641d5df5c0671c05153804f7'/>
<id>urn:sha1:d3ce04d94937605a641d5df5c0671c05153804f7</id>
<content type='text'>
Soon this function will be in charge of decoding the cell too, so it
will need a handle to the `HopMgr` (see `decode_relay_cell()`)
</content>
</entry>
<entry>
<title>proto: Return internal error on TRUNCATE</title>
<updated>2026-02-12T12:20:18Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-12T12:14:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed6f612ca32ea10fa121eb7b4e4a0939377d2375'/>
<id>urn:sha1:ed6f612ca32ea10fa121eb7b4e4a0939377d2375</id>
<content type='text'>
This is not yet implemented, so we should just return an error for now
(`todo!()` will cause a panic, shutting down the thread the reactor is
running on. We don't want this happening when we start manually testing
our WIP impl, because depending on which thread it happens on, it can
make the entire relay process unusable).
</content>
</entry>
<entry>
<title>proto: Implement validate_backward_cell() for relays</title>
<updated>2026-02-11T16:36:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-10T15:08:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1edf3bf745b108cbfae495bb468a431eeff68984'/>
<id>urn:sha1:1edf3bf745b108cbfae495bb468a431eeff68984</id>
<content type='text'>
Closes #2345
</content>
</entry>
<entry>
<title>proto: Extend BWD handler with a backward cell handling function</title>
<updated>2026-02-11T13:47:03Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-10T14:10:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=471f1c0c6169c3890586a2fbebe053ff8b617b22'/>
<id>urn:sha1:471f1c0c6169c3890586a2fbebe053ff8b617b22</id>
<content type='text'>
This will tell the base `BackwardReactor` how to handle the cell.
</content>
</entry>
<entry>
<title>proto: Say why it's okay not to have timeouts in a couple of places</title>
<updated>2026-02-09T18:21:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T18:21:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f319ece8ad50a176bf6bee5a75233f58bd8e4bc'/>
<id>urn:sha1:3f319ece8ad50a176bf6bee5a75233f58bd8e4bc</id>
<content type='text'>
</content>
</entry>
</feed>
