<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/circuit.rs, branch arti-v0.0.3</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.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-01-07T18:55:26Z</updated>
<entry>
<title>ClientCirc: change some methods to take &amp;self</title>
<updated>2022-01-07T18:55:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-07T18:55:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0151ceceb0358dfff3a1d092921ca91ac17e6a20'/>
<id>urn:sha1:0151ceceb0358dfff3a1d092921ca91ac17e6a20</id>
<content type='text'>
Previously they took Arc&lt;Self&gt;, and then Self, but &amp;self is perfectly
fine here.
</content>
</entry>
<entry>
<title>tor-circmgr: Remove Arc around ClientCirc</title>
<updated>2022-01-07T18:19:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-07T18:16:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d63a251afc48b22a5ccadde845c704f6f63d6b33'/>
<id>urn:sha1:d63a251afc48b22a5ccadde845c704f6f63d6b33</id>
<content type='text'>
See the new commentary text on `ClientCirc` for the rationale.

Signed-off-by: Ian Jackson &lt;ijackson@chiark.greenend.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mr/212'</title>
<updated>2022-01-06T13:28:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-06T13:28:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c15168be611d679574f644bf02f730d0fac0b25a'/>
<id>urn:sha1:c15168be611d679574f644bf02f730d0fac0b25a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Don't clone parameters in create_chantarget()</title>
<updated>2021-12-26T01:22:38Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-26T01:22:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=383843f0d7d7c0b1f9b75c115fb4bf4a09496dfa'/>
<id>urn:sha1:383843f0d7d7c0b1f9b75c115fb4bf4a09496dfa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: In begin_stream_impl(), if number of hops is zero, don't continue</title>
<updated>2021-12-26T00:01:22Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-26T00:01:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7dba3d8c5181216315344b0551d0e95231808164'/>
<id>urn:sha1:7dba3d8c5181216315344b0551d0e95231808164</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: use const-time eq on sendme tags.</title>
<updated>2021-12-16T16:06:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-16T16:06:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d794355b077cf9aa7399c54e650afaaf548cdea4'/>
<id>urn:sha1:d794355b077cf9aa7399c54e650afaaf548cdea4</id>
<content type='text'>
There's no known attack here, but it's best practice to always compare
digests using a constant-time comparison operator.

This resolves an XXXX comment.
</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>Try to make the tor_proto::circuit::begindir test more reliable.</title>
<updated>2021-11-23T15:50:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-23T15:50:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=672b11126267c525c78e2174d49889d0e9695606'/>
<id>urn:sha1:672b11126267c525c78e2174d49889d0e9695606</id>
<content type='text'>
I traced the problem here to the fact that sometimes "rx" in this
test would be dropped before the test was done.  When "rx" is
dropped, the channel reactor shuts down, which in turn kills off the
circuit reactor.

This bug may exist in other cases in these tests.  This patch may
fix one case of #238.
</content>
</entry>
<entry>
<title>Make unreliable tor-proto tests more reliable (arti#238).</title>
<updated>2021-11-18T16:06:53Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-18T15:40:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=075e663dcd740727ea6832581a38dc6ab0a36d53'/>
<id>urn:sha1:075e663dcd740727ea6832581a38dc6ab0a36d53</id>
<content type='text'>
The `bad_extend_*` failures were caused by bad test code in
`bad_extend_test_impl` that used `futures::join!`; this meant that the
reactor could receive the `Extended2` cell before it actually got the
`ExtendNtor` request, which caused it to get (quite rightly) confused
and close the circuit. Spawning a background thread which has a short
delay before sending the `Extended2` cell seems to have alleviated this
problem.

`new_circ_create_failure` is similar; I think the reactor was getting
dropped before it had a chance to flush out its `CreateFast` cell
properly, because it had already gotten the result back (since the test
code sends it indiscriminately). This was "fixed" in much the same
manner as the other test: making it wait a bit before sending the result
cell back.

There seem to be other tests that use `futures::join!` (like
`begindir`?), and use similarly erroneous patterns; I haven't gotten any
to fail reliably enough to be able to debug them, though.
</content>
</entry>
<entry>
<title>Always use optimistic data for begindir connections.</title>
<updated>2021-11-16T20:20:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-16T20:20:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc3efccdcc6e9ef8327f8544301a2ae0c5264830'/>
<id>urn:sha1:cc3efccdcc6e9ef8327f8544301a2ae0c5264830</id>
<content type='text'>
Closes #226.
</content>
</entry>
</feed>
