<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src, 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-31T12:52:40Z</updated>
<entry>
<title>Shorten the duration needed in preemptive::test::does_not_predict_old_ports.</title>
<updated>2022-08-31T12:52:40Z</updated>
<author>
<name>Alexander Færøy</name>
<email>ahf@torproject.org</email>
</author>
<published>2022-08-31T11:54:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e3a68683c96fd79e775e9dd707138398ca32b8c'/>
<id>urn:sha1:3e3a68683c96fd79e775e9dd707138398ca32b8c</id>
<content type='text'>
This patch shortens the duration of the `does_not_predict_old_ports`
test in the preemptive module. AppVeyor spawns its VMs/containers per
build, so the `Instant::now()` call returns a value smaller than `60 *
60 + 1` which causes the subtraction to overflow and thus panic.

Thanks to @trinity-1686a for the help here.

See: tpo/core/arti#563.
</content>
</entry>
<entry>
<title>circmgr: treat usage as sensitive.</title>
<updated>2022-08-25T15:02:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-25T15:02:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=051022482086aacf29fe458c6eb5d3fb63348604'/>
<id>urn:sha1:051022482086aacf29fe458c6eb5d3fb63348604</id>
<content type='text'>
</content>
</entry>
<entry>
<title>enable doc_auto_cfg feature on every crate when documenting for docs.rs</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-17T19:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f939fa4804b3c934343141b79e8e2ded5fe0b0d'/>
<id>urn:sha1:7f939fa4804b3c934343141b79e8e2ded5fe0b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'channel' into 'main'</title>
<updated>2022-08-17T10:26:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-08-17T10:26:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46d9dadd02c95150296e096a39f45e648363bbd5'/>
<id>urn:sha1:46d9dadd02c95150296e096a39f45e648363bbd5</id>
<content type='text'>
Channel padding

See merge request tpo/core/arti!657</content>
</entry>
<entry>
<title>channel usage: Rename CU::UserTraffic from CU::Exit</title>
<updated>2022-08-17T09:54:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-11T10:39:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3aed28acd42dbf5342932e2f6f42cc2ddbbe8c50'/>
<id>urn:sha1:3aed28acd42dbf5342932e2f6f42cc2ddbbe8c50</id>
<content type='text'>
As suggested in
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/657#note_2827246
</content>
</entry>
<entry>
<title>Move ChannelUsage from tor_proto to tor_chanmgr</title>
<updated>2022-08-17T09:54:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-08T15:33:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5db974ef72eb1250ab27cd7e21141f64d8778776'/>
<id>urn:sha1:5db974ef72eb1250ab27cd7e21141f64d8778776</id>
<content type='text'>
Replace Channel::note_usage with Channel::engage_padding_activities,
which unconditionally causes the channel to (start to) do netflow
padding things.

The condition now lives in chanmgr.

Addresses
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/657#note_2826094
</content>
</entry>
<entry>
<title>chanmgr: Use NetDirProvider::params and Arc&lt;dyn..Netparameters&gt;</title>
<updated>2022-08-17T09:54:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-08-08T12:47:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48fc5d3c39ccb8de3d3b52f34c5c76cae6806714'/>
<id>urn:sha1:48fc5d3c39ccb8de3d3b52f34c5c76cae6806714</id>
<content type='text'>
This gets rid of many Result().  Many parameters are renamed.
Test cases of the now-impossible branch are removed.

Deleting the match from padding_parameters will come in a moment.
I've split off that commit since it has much whitespace noise.
for now, change the error type to Void.
</content>
</entry>
<entry>
<title>Additionally, mark the LostUsablityRace error as a "reset".</title>
<updated>2022-08-16T18:03:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-16T15:23:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8862eb1e3493bd0be53ee8a7678ddc8529f22309'/>
<id>urn:sha1:8862eb1e3493bd0be53ee8a7678ddc8529f22309</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark some circuit-building errors as "transient".</title>
<updated>2022-08-16T18:03:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-15T14:53:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c9bf4803c1aa0596c45c875f74d0f7d59a68694'/>
<id>urn:sha1:4c9bf4803c1aa0596c45c875f74d0f7d59a68694</id>
<content type='text'>
A "transient" error is one that does not indicate a true failure,
but rather an _expected_ need to retry.  When we hit one of these,
we do not count it against the total number of permitted failures.

(We do impose a higher limit on "real failures plus transient
failures", though, to prevent infinite loops in the event of a
programming error.

Closes #517.
</content>
</entry>
<entry>
<title>Introduce ChannelConfig</title>
<updated>2022-08-16T17:39:57Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-27T19:34:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76a1c45202cf35588780112d8400d50bd08f9926'/>
<id>urn:sha1:76a1c45202cf35588780112d8400d50bd08f9926</id>
<content type='text'>
This commit is just the necessary plumbing.  The config is currently
empty.  We'll add something to it, for padding control, later.
</content>
</entry>
</feed>
