<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/params.rs, branch arti-v1.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-17T09:54:41Z</updated>
<entry>
<title>tor-netdoc: if_ito: Add expansion of acronym</title>
<updated>2022-08-17T09:54:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-11T13:54:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0b0eca93e354dce3b3affbda40dc23ea23fb1ff'/>
<id>urn:sha1:a0b0eca93e354dce3b3affbda40dc23ea23fb1ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-congestion: implement the RTT estimation algorithm from prop#324</title>
<updated>2022-08-11T14:33:50Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-05-24T11:52:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0775b6d42d9cab09fae63f1ea119089a101ada74'/>
<id>urn:sha1:0775b6d42d9cab09fae63f1ea119089a101ada74</id>
<content type='text'>
This commit implements the round-trip-time estimation algorithm from Tor
proposal 324, validating the implementation against the test vectors
found in C tor. (Note that at the time of writing, the new test vectors
may not be committed to C tor yet, but they will be soon.)

This also adds the necessary consensus parameters to `NetParameters`.
Some of them have been renamed in order to (hopefully) make them more
understandable.
</content>
</entry>
<entry>
<title>Finish implementation of params() for DirMgr.</title>
<updated>2022-08-02T14:20:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-02T14:20:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=760e2f7e95562d204ac718ddc1acd0ec7fb0934c'/>
<id>urn:sha1:760e2f7e95562d204ac718ddc1acd0ec7fb0934c</id>
<content type='text'>
Now it maintains an up-to-date set of default parameters to be
handed out if there is no directory.

Closes #528.
</content>
</entry>
<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>
</feed>
