<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/builder.rs, branch arti-v0.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-03-23T12:24:36Z</updated>
<entry>
<title>tor-proto: add a backend to detect reported clock skew.</title>
<updated>2022-03-23T12:24:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-14T15:51:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3885a2c05b64e6d071adfabdf5eb957fab001a5d'/>
<id>urn:sha1:3885a2c05b64e6d071adfabdf5eb957fab001a5d</id>
<content type='text'>
NETINFO cells, which are sent in every handshake, may contain
timestamps.  This patch adds an accessor for the timestamp in the
Netinfo messages, and teaches the tor-proto code how to compute the
minimum clock skew in the code.

The computation isn't terribly precise, but it doesn't need to be:
Tor should work fine if your clock is accurate to within a few
hours.

This patch also notes a Y2038 problem in the protocol: see
torspec#80.

Part of #405.
</content>
</entry>
<entry>
<title>Implement a basic form of RFC 8305 ("happy eyeballs") for channels</title>
<updated>2022-03-07T14:56:51Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-03-04T15:58:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c98d9dc5fec3da18b4d7098078c273a3a1558e45'/>
<id>urn:sha1:c98d9dc5fec3da18b4d7098078c273a3a1558e45</id>
<content type='text'>
This makes Arti usable in IPv6-only environments (arti#92) by letting us
attempt multiple connections to a given relay using all of its
addresses instead of just using the first (probably IPv4) one, using the
strategy from RFC 8305 § 5.

This isn't a complete implementation of Happy Eyeballs; ideally, we'd
sort the address list before doing concurrent connections. However, it
works (and has been tested inside an IPv6-only container inside eta's
network :p)
</content>
</entry>
<entry>
<title>tor-chanmgr: use Bug types.</title>
<updated>2022-02-16T16:55:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-15T19:19:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=caa70fde35b6a973ae2b29bf4760c5e019c14911'/>
<id>urn:sha1:caa70fde35b6a973ae2b29bf4760c5e019c14911</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'error-improvements' into 'main'</title>
<updated>2022-02-08T14:42:30Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-08T14:42:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=109515ecfe587a65f0920e074cdd593d3810cd97'/>
<id>urn:sha1:109515ecfe587a65f0920e074cdd593d3810cd97</id>
<content type='text'>
Hopefully uncontroversial improvements to new Error code

See merge request tpo/core/arti!291</content>
</entry>
<entry>
<title>Expire channels that have been unused for too long</title>
<updated>2022-02-05T03:52:51Z</updated>
<author>
<name>Yuan Lyu</name>
<email>lyuyuan92@gmail.com</email>
</author>
<published>2022-02-04T04:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6f732a47818f789db76ad692d0025de1051072f'/>
<id>urn:sha1:f6f732a47818f789db76ad692d0025de1051072f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make SpawnError wrappers contain a 'spawning' string</title>
<updated>2022-02-04T21:06:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-04T20:39:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=070e52653d9a49fe561e9ce119881f696baa325e'/>
<id>urn:sha1:070e52653d9a49fe561e9ce119881f696baa325e</id>
<content type='text'>
(By our convention, these errors should say what we were trying to
spawn when the error occurred.)
</content>
</entry>
<entry>
<title>channel errors: Include what we were doing</title>
<updated>2022-02-04T15:03:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-04T15:03:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c2f9dac16f3c550b2286fad3b8dce97cb7ba8e0'/>
<id>urn:sha1:6c2f9dac16f3c550b2286fad3b8dce97cb7ba8e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Handle IO errora in the new style</title>
<updated>2022-02-04T14:42:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-26T15:44:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a471ffd1a1d70ed585067d2e1dc1bf94b8f3103'/>
<id>urn:sha1:2a471ffd1a1d70ed585067d2e1dc1bf94b8f3103</id>
<content type='text'>
Two ? in the tests become expects, which will do.  That avoids having
to construct a proper error with context here.
</content>
</entry>
<entry>
<title>tor-chanmgr: Add bootstrap/status reporting.</title>
<updated>2022-01-18T18:06:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-17T22:11:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c162e57e29a3bfd1f0e793b25d8c986a96a0a474'/>
<id>urn:sha1:c162e57e29a3bfd1f0e793b25d8c986a96a0a474</id>
<content type='text'>
The information is pretty basic here: we use "have we been able to
connect/TLS-handshake/Tor-handshake" as a proxy for "are we on the
internet? Are we on a reasonably unfiltered part of the internet?"

Eventually we'll want to make the information gathered and exported
more detailed: I've noted a few places in the code.  For now,
however, this is about as good as C Tor does today, and it should be
a good starting point.

This uses a slightly different design from tor-dirmgr.  Instead of
exporting an entire state structure via `postage::watch`, it exports
only the parts of that structure which the user is supposed to
read.  I think that's more reasonable in this case because most of
the possible internal transitions in the tor-chanmgr state don't
cause a change in the exposed status.
</content>
</entry>
<entry>
<title>chanmgr: get rid of Arc around Channel</title>
<updated>2022-01-13T13:12:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-01-13T13:12:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b723cba53852ecd3505c0cabc42ca3b5d31ad34'/>
<id>urn:sha1:9b723cba53852ecd3505c0cabc42ca3b5d31ad34</id>
<content type='text'>
</content>
</entry>
</feed>
