<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/usage.rs, branch arti-v0.0.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-01-21T11:07:15Z</updated>
<entry>
<title>StreamPrefs: rename from ConnectPrefs</title>
<updated>2022-01-21T11:07:15Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-20T18:05:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aa4d8de16e99de41b384e77fb2fc265a4c750430'/>
<id>urn:sha1:aa4d8de16e99de41b384e77fb2fc265a4c750430</id>
<content type='text'>
The docs even say this is about stream.

As @nickm writes in
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/252#note_2771289

  we generally call end-to-end connections that are tunneled over Tor
  "Streams" to distinguish them from everything else in the Tor
  protocols that could possibly be called a "Connection".

That seems to apply here too.
</content>
</entry>
<entry>
<title>Allow configurability on preemptive circuits</title>
<updated>2021-12-07T15:04:41Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-07T15:04:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e9c2d274ef5a1f3a21579d43ced512f17656797'/>
<id>urn:sha1:0e9c2d274ef5a1f3a21579d43ced512f17656797</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mr/154'</title>
<updated>2021-11-30T19:12:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-30T19:12:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c733374693b67c4d577828af7511ededd252f0eb'/>
<id>urn:sha1:c733374693b67c4d577828af7511ededd252f0eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests &amp; address review commentary</title>
<updated>2021-11-30T16:58:08Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-30T16:09:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9a94f72e42ecfb7032de06784533aba6a5c8b61b'/>
<id>urn:sha1:9a94f72e42ecfb7032de06784533aba6a5c8b61b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Actually build preemptive circuits (and minor fixes)</title>
<updated>2021-11-29T14:47:09Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-29T14:47:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca42139944ca7c4e6bc9a69c1639c2e89d417419'/>
<id>urn:sha1:ca42139944ca7c4e6bc9a69c1639c2e89d417419</id>
<content type='text'>
The new CircMgr::build_circuits_preemptively function actually causes
preemptive circuits to be built; it gets called from arti-client, like
the other daemon tasks the CircMgr has.
</content>
</entry>
<entry>
<title>tor-circmgr: Write a test for BadExit support.</title>
<updated>2021-11-29T14:08:32Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-29T00:30:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2461bd86b1a04d14e4b190c2f90b8357294f65e5'/>
<id>urn:sha1:2461bd86b1a04d14e4b190c2f90b8357294f65e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce PreemptiveCircuitPredictor and TargetCircUsage::Preemptive</title>
<updated>2021-11-23T16:37:52Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-23T16:37:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a5a9575c6319f42f638e5bcdbc1ff2a4a186fe5'/>
<id>urn:sha1:8a5a9575c6319f42f638e5bcdbc1ff2a4a186fe5</id>
<content type='text'>
In preparation for making Arti build circuits preemptively, this commit
introduces `TargetCircUsage::Preemptive`, a circuit usage that works
somewhat differently from other ones: it requires at least 2 circuits to
exist that can exit the port it contains in order for an existing
circuit to match against it (path-spec.txt § 2.1.1); if that's not the
case, that usage will require building new circuits (in order that we
build enough to have 2 available).

This required refactoring how circuit reuse worked; now,
`CircList::find_open` uses the new `AbstractSpec::find_supported` trait
method, which we customize to implement the above check in the case of
`Preemptive` circuit usages. To make that work, `OpenEntry` now takes
two type parameters (the spec and circuit types), instead of taking a
builder type parameter and using its associated types. (We also got rid
of type constraints on that struct, yay!)

A WIP implementation of a preemptive circuit predictor that implements
path-spec.txt § 2.1.1 is also included, but this will require additional
effort to wire it up with the `CircMgr` properly.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2021-11-12T11:54:50Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2021-11-12T11:35:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad3c18a456b469d4ccacbadd806aa45d6de4b517'/>
<id>urn:sha1:ad3c18a456b469d4ccacbadd806aa45d6de4b517</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: testing for NoUsage and TimeoutTesting usage</title>
<updated>2021-11-02T17:30:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-02T17:30:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad132602aec55c894f614e0c8f69ab7927afb9ce'/>
<id>urn:sha1:ad132602aec55c894f614e0c8f69ab7927afb9ce</id>
<content type='text'>
This doesn't add much to coverage, but it's important.
</content>
</entry>
<entry>
<title>tor-circmgr: tests for netwoks with no exits</title>
<updated>2021-11-02T14:58:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-02T14:58:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5b1b87c89650722df39d259a09b8140d92803d71'/>
<id>urn:sha1:5b1b87c89650722df39d259a09b8140d92803d71</id>
<content type='text'>
</content>
</entry>
</feed>
