<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel.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: Pass a DynTimeProvider to the circuit reactor.</title>
<updated>2025-05-06T12:08:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-04-14T15:37:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42a9e83faaf18dbc5710238771b50075275ec156'/>
<id>urn:sha1:42a9e83faaf18dbc5710238771b50075275ec156</id>
<content type='text'>
We will need this to implement conflux handshake timeouts,
and to get the current time for RTT calculations.
</content>
</entry>
<entry>
<title>proto: make padding::Parameters construction fallible.</title>
<updated>2025-03-18T17:46:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T17:46:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dbb4f5451f0730041d0f01d92aed4e80c2292db1'/>
<id>urn:sha1:dbb4f5451f0730041d0f01d92aed4e80c2292db1</id>
<content type='text'>
The constructor for rand::distr::Uniform is now fallible,
so it makes sense to bubble up its restrictions.

This is a breaking change.
</content>
</entry>
<entry>
<title>tor-proto: Add a tunnel module.</title>
<updated>2025-02-20T20:15:12Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-02-13T16:58:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31ee1dbbe88f92d99d66614d0625cb6e87d48edd'/>
<id>urn:sha1:31ee1dbbe88f92d99d66614d0625cb6e87d48edd</id>
<content type='text'>
Move StreamTarget to the tunnel module and the circuit module.

From now on streams will be implemented on tunnels, not circuits.

This moves `StreamTarget` to the tunnel module. A future change will
replace `ClientCirc` with `ClientTunnel` inside `StreamTarget`.

This is mostly code motion, best reviewed with `--color-moved`.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</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: Set kist params in channel reactor.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T14:24:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a812bb48d666a9f0e07489b53d004ed932d0c3f'/>
<id>urn:sha1:1a812bb48d666a9f0e07489b53d004ed932d0c3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Add Channel::reparameterize_kist() API.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T13:37:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=109e604bae83a43e46de8d1aa646058e62e0768b'/>
<id>urn:sha1:109e604bae83a43e46de8d1aa646058e62e0768b</id>
<content type='text'>
This will enable us to update the channel's KIST configuration whenever
there is a change in the consensus or config.
</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: Add KistParams type built from NetParameters.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T13:43:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6e93daa3761e11ce56269fc9ec0c35fc99222374'/>
<id>urn:sha1:6e93daa3761e11ce56269fc9ec0c35fc99222374</id>
<content type='text'>
Note: this commit makes `tor-proto` depend on `tor-netdir`
(because it adds a `KistParams` type that is buildable from
`NetParameters`, which is defined in `tor-netdir`).

Closes #1729
</content>
</entry>
</feed>
