<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit/circhop.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-08-19T17:29:14Z</updated>
<entry>
<title>tor-proto: disable flowctrl sidechannel mitigations for relays</title>
<updated>2026-08-19T17:29:14Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-08-19T17:29:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11da332e886f642c4402fcb288be69036753ec90'/>
<id>urn:sha1:11da332e886f642c4402fcb288be69036753ec90</id>
<content type='text'>
The end result should be:

1. outgoing streams - enable sidechannel mitigations
2. incoming hs streams - enable sidechannel mitigations
3. incoming exit streams - disable sidechannel mitigations
</content>
</entry>
<entry>
<title>tor-proto: add `WithSidechannelMitigations` for flow ctrl</title>
<updated>2026-08-19T17:21:06Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-08-19T17:17:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12d730da58224c38e966fc4678b61e8b3f289fa9'/>
<id>urn:sha1:12d730da58224c38e966fc4678b61e8b3f289fa9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Rename uniq_id to circ_unique_id mostly in logging</title>
<updated>2026-08-03T18:27:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-08-03T17:22:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b772cecf5d5bee7e3eea0ca652e4befdeee4ed29'/>
<id>urn:sha1:b772cecf5d5bee7e3eea0ca652e4befdeee4ed29</id>
<content type='text'>
We have decided that instead of "uniq_id" in logging, we'll use the
"&lt;domaine&gt;-[&lt;type&gt;]-id" syntax to indicate who is that unique ID.

This commit only renames circuit's unique ID to "circ_uniq_id".

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Log both UniqId and CircId when possible</title>
<updated>2026-08-03T18:27:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-07-29T14:43:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=996f0448223011b6948d2197706b0fcf8b3dfc2d'/>
<id>urn:sha1:996f0448223011b6948d2197706b0fcf8b3dfc2d</id>
<content type='text'>
This commit only affects logging. Whenever possible, log both the UniqId
and CircId.

This also changes the log lines which is now "uniq_id=" and "circ_id="
as the UniqId is internal and circ_id (CircId) is protocol level.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-cell: rename `XonKbpsEwma` to `XonKBpsEwma`</title>
<updated>2026-07-30T21:34:23Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-30T21:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fecfa9a0102ff58676bcb0c5e36eed4996a68f4'/>
<id>urn:sha1:0fecfa9a0102ff58676bcb0c5e36eed4996a68f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: use `subprotocol_restricted_set` macro</title>
<updated>2026-07-30T15:59:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-27T16:43:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9fe09334b6cda46fbc068222a9bd264f736c1ed7'/>
<id>urn:sha1:9fe09334b6cda46fbc068222a9bd264f736c1ed7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add a TODO for crypt protocol and cc alg logic</title>
<updated>2026-07-27T14:25:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-22T15:40:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=558508ba4a699acb7eb2010be2a4a8ca4446a253'/>
<id>urn:sha1:558508ba4a699acb7eb2010be2a4a8ca4446a253</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: add `HandshakeSubprotocols`</title>
<updated>2026-07-27T14:25:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-22T15:27:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a96cdf12723fd7ab830525328f37a174c712dd2c'/>
<id>urn:sha1:a96cdf12723fd7ab830525328f37a174c712dd2c</id>
<content type='text'>
The advantage of this over using a `SubprotocolRequest` is that we can
use the type system to ensure it only has subprotocols that are allowed
during a handshake.
</content>
</entry>
<entry>
<title>tor-proto: remove `CircNetParameters::extend_by_ed25519_id`</title>
<updated>2026-07-27T14:25:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-06-29T03:16:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c661906a27a9ea25fc89cc1c1287dac0f6203fca'/>
<id>urn:sha1:c661906a27a9ea25fc89cc1c1287dac0f6203fca</id>
<content type='text'>
We never used this, it was just needed because we used to convert to a
`CircParameters` which required this.
</content>
</entry>
<entry>
<title>tor-proto: add `HopSettings::from_handshake_params()`</title>
<updated>2026-07-27T14:25:14Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-06-29T03:12:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ee3e1c1a13f091f39e71d30d4dc9d311699d4cb'/>
<id>urn:sha1:7ee3e1c1a13f091f39e71d30d4dc9d311699d4cb</id>
<content type='text'>
... and also remove `CircNetParameters::as_circ_parameters()`.

We used to call `HopSettings::from_params_and_caps()` when handling
incoming circuit requests, but this didn't really make sense because we
already know exactly what settings we want.

The new `HopSettings::from_handshake_params()` takes the exact settings
we want, which means we can also skip constructing a `CircParameters`
and use the raw consensus `CircNetParameters`.

Most of the code in `CircNetParameters::as_circ_parameters()` has been
migrated in some form to `HopSettings::from_handshake_params()`.
</content>
</entry>
</feed>
