<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/tunnel/reactor, branch arti-v1.4.3</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.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-04-29T16:31:09Z</updated>
<entry>
<title>proto: Make crypt layers take a ChanCmd argument</title>
<updated>2025-04-29T16:31:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-15T01:14:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1998aa7b6a837bc33d372de22566447f477bf01f'/>
<id>urn:sha1:1998aa7b6a837bc33d372de22566447f477bf01f</id>
<content type='text'>
CGO will need this argument so that it can authenticate
the command as part of its crypto operations.
(Trying to meddle with RELAY vs RELAY_EARLY will no longer work!)
</content>
</entry>
<entry>
<title>proto: refactor RelayCrypt trait into separate traits</title>
<updated>2025-04-29T16:31:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-15T00:01:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3bd64c9308a7f3c7772acc2a42f5349ad0534e17'/>
<id>urn:sha1:3bd64c9308a7f3c7772acc2a42f5349ad0534e17</id>
<content type='text'>
It seems very likely that, as with client crypto,
we'll want relay crypto to separable into "forward" and "reverse"
objects, so that the two can be used more or less independently.
</content>
</entry>
<entry>
<title>tor-proto: prevent cc extension during ntor-v3 extend</title>
<updated>2025-04-24T17:07:31Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-24T15:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0efe02eee7c615f0c57cc13bfab0b22b8562b2e0'/>
<id>urn:sha1:0efe02eee7c615f0c57cc13bfab0b22b8562b2e0</id>
<content type='text'>
This was missed in commits ccb65961 and eeda643f. While
`params.ccontrol.is_enabled()` should always be false because of those
earlier commits which ensure we don't enable congestion control, we were
missing the defense-in-depth conditions here that would alert us if we
accidentally did enable congestion control.
</content>
</entry>
<entry>
<title>tor-circmgr: put vegas cc in `CircParameters` behind `if false`</title>
<updated>2025-04-23T20:48:35Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-23T17:30:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eeda643f253bf4400db8cb8edcc3706bb26bc111'/>
<id>urn:sha1:eeda643f253bf4400db8cb8edcc3706bb26bc111</id>
<content type='text'>
This means that even with the "flowctl-cc" feature enabled, we shouldn't
try to negotiate congestion control.
</content>
</entry>
<entry>
<title>tor-proto: only use congestion control if "flowctl-cc" feature is enabled</title>
<updated>2025-04-23T18:39:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T03:39:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ccb65961cc5a25c304b240a8cfa40d08c4569713'/>
<id>urn:sha1:ccb65961cc5a25c304b240a8cfa40d08c4569713</id>
<content type='text'>
Congestion control is not completely working correctly, and is not fully
implemented (XON/XOFF). This commit adds a new experimental "flowctl-cc"
feature to enable the congestion control extension during the ntor-v3
handshake.
</content>
</entry>
<entry>
<title>tor-proto: rename `stream_sendme_required` to `uses_stream_sendme`</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T03:03:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33fe8ecdf58657bae552b3c04e8f0c7f14f9c2c7'/>
<id>urn:sha1:33fe8ecdf58657bae552b3c04e8f0c7f14f9c2c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: rename `allow_stream_sendme` to `uses_stream_sendme`</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T02:54:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bca46e154084f1f76612bc8dee8706d835c14e3'/>
<id>urn:sha1:6bca46e154084f1f76612bc8dee8706d835c14e3</id>
<content type='text'>
We use this method to decide whether to allow receiving stream SENDMEs,
and also whether we should send stream SENDMEs.
</content>
</entry>
<entry>
<title>tor-proto: remove redundant `allow_stream_sendme` check</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T02:35:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6e89294246d2e6af4a201bdafeb7fc04769c1194'/>
<id>urn:sha1:6e89294246d2e6af4a201bdafeb7fc04769c1194</id>
<content type='text'>
`OpenStreamEnt::put_for_incoming_sendme()` calls
`StreamSendFlowControl::put_for_incoming_sendme()`, which returns an
error if the `StreamSendFlowControl` is in XON/XOFF mode. So we don't
need this extra check.
</content>
</entry>
<entry>
<title>tor-proto: initialize `StreamSendFlowControl` based on CC</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T02:34:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5cbfeca59dd323f5ccde1a015dd8ec8fd52fe88'/>
<id>urn:sha1:f5cbfeca59dd323f5ccde1a015dd8ec8fd52fe88</id>
<content type='text'>
Congestion control tells us whether we should use stream or XON/XOFF
flow control.
</content>
</entry>
<entry>
<title>tor-proto: new stream entries now take `StreamSendFlowControl`</title>
<updated>2025-04-23T18:38:23Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T02:32:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d55fbe44e6b9854ee5a20a44e2c0abd7f5dfed2'/>
<id>urn:sha1:7d55fbe44e6b9854ee5a20a44e2c0abd7f5dfed2</id>
<content type='text'>
Previously new stream entries required a `StreamSendWindow`, but to
support other flow control algorithms, we want new stream entries to
take a `StreamSendFlowControl` instead.

This also deduplicates the `StreamSendWindow` creation code.
</content>
</entry>
</feed>
