<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/params.rs, branch arti-v0.6.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.6.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.6.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-21T18:19:28Z</updated>
<entry>
<title>channel padding: Use IntegerMilliseconds in netdir</title>
<updated>2022-06-21T18:19:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T17:03:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19c52ff8e4940ff9bb043c24d8e2280ee439537e'/>
<id>urn:sha1:19c52ff8e4940ff9bb043c24d8e2280ee439537e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Make CHANNEL_PADDING_TIMEOUT_UPPER_BOUND pub</title>
<updated>2022-06-21T18:19:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T16:55:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db710180217aeb1d3070d24a37d2fc687a28433e'/>
<id>urn:sha1:db710180217aeb1d3070d24a37d2fc687a28433e</id>
<content type='text'>
We need this because it is a type parameter for the types of nf_ito_*.
</content>
</entry>
<entry>
<title>channel padding: Change timeout to match C Tor</title>
<updated>2022-06-21T18:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T15:40:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5aaa56c3c2757c0cd3f4b227e9854c7530fed82'/>
<id>urn:sha1:a5aaa56c3c2757c0cd3f4b227e9854c7530fed82</id>
<content type='text'>
Pending an official value from the spec.
</content>
</entry>
<entry>
<title>channel padding: Add the parameters from the spec to NetDir</title>
<updated>2022-06-21T18:19:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-14T14:42:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e53555f418370dea4c0cd9728c043b8565f32e38'/>
<id>urn:sha1:e53555f418370dea4c0cd9728c043b8565f32e38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some outdated comments.</title>
<updated>2022-06-17T12:47:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-10T13:55:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a92dfa0b2aab07ba6cffd9d9be916f9096a6b33f'/>
<id>urn:sha1:a92dfa0b2aab07ba6cffd9d9be916f9096a6b33f</id>
<content type='text'>
These all say, in one form or another, "there is no guard filtering;
there is only one selection".  That's now false.
</content>
</entry>
<entry>
<title>squash! Bump every crate's edition to 2021.</title>
<updated>2022-04-25T17:06:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-25T16:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f6bc6bdc431fa36de70a167eea777dcf3f60bf2'/>
<id>urn:sha1:2f6bc6bdc431fa36de70a167eea777dcf3f60bf2</id>
<content type='text'>
Remove all `use` statements for `TryFrom` and `TryInto`.  These are
now redundant in Rust 2021.
</content>
</entry>
<entry>
<title>tor-netdir: Resolve an XXXX about type ugliness</title>
<updated>2021-12-08T17:32:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T17:21:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a25960b44c17e32102d553bf716a542c196882d3'/>
<id>urn:sha1:a25960b44c17e32102d553bf716a542c196882d3</id>
<content type='text'>
We had no function to infallibly convert BoundedInt32&lt;{0 or 1},H&gt;
into a u32, even though we could have.  Because of that, we were
treating weight_scale as an i32 when logically it's a u32 or a
NonZeroU32.

Moreover, it turns out we were using an incorrect minimum for the
bwweightscale param, which would in theory have allowed the
authorities to make us divide by zero.

This patch introduces the necessary From&lt;&gt; implementation and uses
it.  It corrects the binimum bwweightscale, and prevents a
division-by-zero issue in case weight_scale is zero.
</content>
</entry>
<entry>
<title>Remove a couple of spec-related XXXXs in tor-netdir.</title>
<updated>2021-12-08T16:12:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T16:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f52b81ce80427d2c1cb006dca871b86cb992cdc'/>
<id>urn:sha1:6f52b81ce80427d2c1cb006dca871b86cb992cdc</id>
<content type='text'>
I've opened torspec!54 to fill in the missing parts of the spec
about these issues.
</content>
</entry>
<entry>
<title>add semicolons if nothing returned</title>
<updated>2021-11-25T13:20:37Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-11-25T13:14:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db16d13df4779ac61005050dfe5ce05e3d5a1b5d'/>
<id>urn:sha1:db16d13df4779ac61005050dfe5ce05e3d5a1b5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More typo fixes that I forgot to save :(</title>
<updated>2021-11-24T23:23:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T23:23:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e7e599a22972135f9c113a9a1e0757d22653481'/>
<id>urn:sha1:3e7e599a22972135f9c113a9a1e0757d22653481</id>
<content type='text'>
</content>
</entry>
</feed>
