<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel/handshake.rs, branch arti-v1.4.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-06-12T18:02:30Z</updated>
<entry>
<title>tor-proto: Log channel, circuit, stream identifiers as structured fields.</title>
<updated>2025-06-12T18:02:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-12T15:16:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a50fe9c8471bfe026ff5a0ce39355258fc335fe0'/>
<id>urn:sha1:a50fe9c8471bfe026ff5a0ce39355258fc335fe0</id>
<content type='text'>
This changes the `tor-proto` logs to not be prefixed with a
channel/circuit/stream ID, but rather to have these IDs attached to the
log as structured fields.

This change is in preparation for the switch to using `TunnelId`s in the
tunnel reactor instead of circuit `UniqId`s. The reason for the change
to use structured fields is because future logs will likely need to log
the `UniqId`s of the circuits in a tunnel, which will need to either be
formatted somehow in the logs, or logged as a structured field (the
latter seems like the better option, hence this preparatory change).

IMO we should favor structured fields over formatted strings in the
logs in general, but that is a bigger project, so I am only doing a
spot fix for now.
</content>
</entry>
<entry>
<title>tor-proto: remove `use asynchronous_codec as futures_codec`</title>
<updated>2025-02-06T16:43:27Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2025-02-06T16:43:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c45faf700ae3043cf0961407ccdb686de847ac8'/>
<id>urn:sha1:4c45faf700ae3043cf0961407ccdb686de847ac8</id>
<content type='text'>
Closes #1690.
</content>
</entry>
<entry>
<title>tor-proto: Pass a StreamOps handle to the channel reactor.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T11:15:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7bf3db2d40d4548380cd7dbd4331ac018303528c'/>
<id>urn:sha1:7bf3db2d40d4548380cd7dbd4331ac018303528c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Big invasive change adding StreamOps bound everywhere.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T19:08:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f04709c16d0ebf039779c404cf0c907f13965852'/>
<id>urn:sha1:f04709c16d0ebf039779c404cf0c907f13965852</id>
<content type='text'>
This is unfortunately necessary, because after the channel handshake, we
need to give the channel reactor a `StreamOps` handle to the underlying
stream.
</content>
</entry>
<entry>
<title>tor-proto: Plumb the ChannelAccount through to queue creation site</title>
<updated>2024-10-03T14:10:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T16:24:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=939d291ed3792a5fd1392f4e2816de254ac1bc12'/>
<id>urn:sha1:939d291ed3792a5fd1392f4e2816de254ac1bc12</id>
<content type='text'>
This gets it as far as the outbound circuit-&gt;channel mpsc queue creation.
Also, we provide an accessor for it.
</content>
</entry>
<entry>
<title>tor-proto: Plumb the ChannelAccount through to queue creation site (pre-fmt)</title>
<updated>2024-10-03T14:10:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T15:32:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=17f55b3302cb254506f0ce2a3421211b55eb5bc4'/>
<id>urn:sha1:17f55b3302cb254506f0ce2a3421211b55eb5bc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: channel: Make construction fallible</title>
<updated>2024-10-03T14:10:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-23T10:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1861de6a00edd99c4354fc3b2eaaf88fec2d4fe6'/>
<id>urn:sha1:1861de6a00edd99c4354fc3b2eaaf88fec2d4fe6</id>
<content type='text'>
Making a channel is going to involve making a memquota Participant,
which can fail.
</content>
</entry>
<entry>
<title>tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders (fmt)</title>
<updated>2024-10-01T18:05:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-01T17:43:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88d6f90b13fd8d0ddb538f833ff9531f8d308047'/>
<id>urn:sha1:88d6f90b13fd8d0ddb538f833ff9531f8d308047</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Add a CoarseTimeProvider bound to all the SleepProviders</title>
<updated>2024-10-01T18:05:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-23T10:08:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88554acf6ecfaeffa459e88857aefd2e6d4cd99f'/>
<id>urn:sha1:88554acf6ecfaeffa459e88857aefd2e6d4cd99f</id>
<content type='text'>
The memquota arranagements are going to use this.

We *don't* apply this to Channel (or to other types that aren't
already generic over SleepProvider).
</content>
</entry>
<entry>
<title>UnverifiedChannel: Clarify check's peer_cert</title>
<updated>2024-07-11T18:35:18Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2024-07-11T18:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0bafabfb8c6e326433386fe543948595f7ecbefd'/>
<id>urn:sha1:0bafabfb8c6e326433386fe543948595f7ecbefd</id>
<content type='text'>
This commit clarifies the documentation of the `peer_cert` parameter in
the `UnverifiedChannel::check` function, in order to reflect that it
represents the certificate presented during the ServerHello in the TLS
handshake and not in the in-protocol CERTS cell.
</content>
</entry>
</feed>
