<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell/msg.rs, branch arti-v1.2.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.2.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-13T14:37:11Z</updated>
<entry>
<title>tor_cell: never construct empty DATA messages.</title>
<updated>2024-02-13T14:37:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-13T14:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5c70dad02124549a13e25f62c8073fef4a063fe'/>
<id>urn:sha1:b5c70dad02124549a13e25f62c8073fef4a063fe</id>
<content type='text'>
We never actually constructed these before, but now we enforce it at
the API level.

Part of #1269.
</content>
</entry>
<entry>
<title>tor_cell: Reject empty DATA messages</title>
<updated>2024-02-13T14:23:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-13T14:23:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dbe8623356b673cfe716e00fef654ca8bf8a1153'/>
<id>urn:sha1:dbe8623356b673cfe716e00fef654ca8bf8a1153</id>
<content type='text'>
If we don't reject these, they are a way to inject an undetected
traffic signal.  (This is LOW severity, since we only accept DATA
when a stream is open, since DATA messages are rate-limited,
and since using length==1 is nearly as effective.)

Closes #1269.

This is TROVE-2024-001.
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</content>
</entry>
<entry>
<title>Use HandshakeType in Extend2 and CircuitExtender::begin</title>
<updated>2023-11-27T16:48:03Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-11-16T17:23:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d7f70c0fe515aee8640f336cc799b70828fd109'/>
<id>urn:sha1:5d7f70c0fe515aee8640f336cc799b70828fd109</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Add accessors for Begin.</title>
<updated>2023-09-27T17:42:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-26T20:14:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=082716731031e54f36092be32b7e046c4bc9e2a3'/>
<id>urn:sha1:082716731031e54f36092be32b7e046c4bc9e2a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Convert MsgHandler API to expect a message, not a cell.</title>
<updated>2023-06-12T18:55:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-12T18:55:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=beecf3c92c95fd1e0fdddfcc32703abd4cdeadfc'/>
<id>urn:sha1:beecf3c92c95fd1e0fdddfcc32703abd4cdeadfc</id>
<content type='text'>
Closes #887.
</content>
</entry>
<entry>
<title>Change CircTarget::linkspecs() to return an encoded list.</title>
<updated>2023-05-10T16:30:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:25:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ce808b75bb500f27ce7837d4f76cbf7fc1ee705'/>
<id>urn:sha1:7ce808b75bb500f27ce7837d4f76cbf7fc1ee705</id>
<content type='text'>
If we didn't do this, we would need to transfrom
`EncodedLinkSpec`s into a `LinkSpec::Unrecognized`, which is not
semantically right.  What's more, every user of this API wants to
consume encoded link specifiers, so encoding them early saves a
little effort.
</content>
</entry>
<entry>
<title>Move responsibility for linkspec sorting to CircTarget.</title>
<updated>2023-05-10T15:00:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-09T14:49:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e919ade062b98d4c9567d6cedf723dab60ff207e'/>
<id>urn:sha1:e919ade062b98d4c9567d6cedf723dab60ff207e</id>
<content type='text'>
This change is necessary so that we can build Extend2 messages
that have their LinkSpecs appear in a verbatim order as provided
in an INTRODUCE2 message or in a HS descriptor.
</content>
</entry>
<entry>
<title>Upgrade to bitflags 2.0</title>
<updated>2023-03-13T12:47:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-13T12:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6bb8fee0b3f010902d8297f16589467d82e4e4f'/>
<id>urn:sha1:d6bb8fee0b3f010902d8297f16589467d82e4e4f</id>
<content type='text'>
This version of bitflags now requires us to explicitly list the
traits that we want to derive for our bit-flags structs.
</content>
</entry>
<entry>
<title>Change several cfgs to refer to new feature names.</title>
<updated>2023-02-28T16:15:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-28T16:14:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09d601d0507eea20221599ab604e5b077ef9259f'/>
<id>urn:sha1:09d601d0507eea20221599ab604e5b077ef9259f</id>
<content type='text'>
</content>
</entry>
</feed>
