<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/congestion/params.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-04-23T18:38:25Z</updated>
<entry>
<title>tor-proto: expand docs for `CongestionWindowParams::set_sendme_inc`</title>
<updated>2025-04-23T18:38:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-17T03:19:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b0deeca5b39c53c8523cc6f10bd34bda8862528e'/>
<id>urn:sha1:b0deeca5b39c53c8523cc6f10bd34bda8862528e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add CC ntorv3 negotiation unit test</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T20:12:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e8b72b7400aa7f34cf9465818307f59433f4e8f0'/>
<id>urn:sha1:e8b72b7400aa7f34cf9465818307f59433f4e8f0</id>
<content type='text'>
Also add one for the sendme_inc validity function.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>circ: Apply possible subprotocol changes to circ params</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T16:41:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e1064562c3f718325b9930d7d6120be38a445b27'/>
<id>urn:sha1:e1064562c3f718325b9930d7d6120be38a445b27</id>
<content type='text'>
Congestion control can change the circuit parameters if the relay we are
negotiating with doesn't support FlowCtrl=2.

This commit adds a function in the circuit builder that will apply any
changes to the circuit parameters of the hop based on the hop protocol
values. For now, only congestion control applies.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>congestion: Setup a fallback algorithm in the params</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T16:17:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f4a0429dbb20f3087c9591344f8d701cef77a7e7'/>
<id>urn:sha1:f4a0429dbb20f3087c9591344f8d701cef77a7e7</id>
<content type='text'>
CircParameters is built before path selection and thus once we start
building the hops, we can't access the consensus values that were used
to build it in the first place.

For congestion control, we require a fallback algorithm in case the hop
doesn't support FlowCtrl=2.

This commit adds a "fallback_alg" to the CC parameters which will be
used for this exact case.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>circ: Set the negotiated CC sendme_inc from handshake</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T15:15:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a10054323c10a3b6f20db6389633faf8d7ebc749'/>
<id>urn:sha1:a10054323c10a3b6f20db6389633faf8d7ebc749</id>
<content type='text'>
When receiving the congestion control response extension, evaluate our
state and set the sendme_inc if valid in our circuit parameters.

For this, a series of helper functions is needed.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>fix: fix typos</title>
<updated>2025-01-30T08:39:30Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2025-01-30T08:39:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6371829c976f6a5b77d46bf977f369a915f2ced3'/>
<id>urn:sha1:6371829c976f6a5b77d46bf977f369a915f2ced3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>congestion: Use getters for all parameters</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-15T15:29:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fd9a4d5b814b3a0aa031313d081f0d306016908'/>
<id>urn:sha1:2fd9a4d5b814b3a0aa031313d081f0d306016908</id>
<content type='text'>
Allows us to remove the pub.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>congestion: Remove Default from every parameters</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-15T14:13:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4378a03332715d34de75617ee43775690fdd9b0'/>
<id>urn:sha1:b4378a03332715d34de75617ee43775690fdd9b0</id>
<content type='text'>
Important to enforce that every field is explicitely set so we avoid
forgetting fields.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>congestion: Make the cc_alg values a caret_int for better code semantic</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-09T15:00:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62f8f85ebd5d7972b8e7c6cd493d84eb8f87ba8f'/>
<id>urn:sha1:62f8f85ebd5d7972b8e7c6cd493d84eb8f87ba8f</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>congestion: Remove FixedWindow start window default value</title>
<updated>2025-01-16T14:16:01Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-08T19:53:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=14ee43b3ae64d2c64cfa14c2cd054965c5b7c366'/>
<id>urn:sha1:14ee43b3ae64d2c64cfa14c2cd054965c5b7c366</id>
<content type='text'>
In unit tests, we set a 1000 by default but else, we don't set a default
so our implementation doesn't forget to set the right value from the
consensus.

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