<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><div>Hi,</div><div><br></div><div>Cc'ing Linus, because he is also interested in IPv6.</div><div><br></div></div><div dir="ltr">On 28 Feb 2019, at 19:01, s7r <<a href="mailto:s7r@sky-ip.org">s7r@sky-ip.org</a>> wrote:</div><blockquote type="cite"><div dir="ltr"><span></span><br><span>However, shouldn't the line:</span><br><span>ORPort 9050</span><br><span></span><br><span>bind to all v4 and v6 available interfaces / IP addresses? If it does</span><br><span>not, we should fix it to do so. As in:</span><br><span></span><br><span>ORPort 9050 - bind to all available v4 and v6</span><br><span>ORPort 0.0.0.0:9050 - bind to all available from the v4 class</span><br><span>ORport [::]:9050 - bind to all available from the v6 class</span><br><span>ORPort <explicit-address>:port - bind to specified address exactly</span><br></div></blockquote><div><br></div>Tor already binds to IPv4 and IPv6 by default.<br>But it only autodetects IPv4 addresses.<br><div><div><span style="background-color: rgba(255, 255, 255, 0);">(Binding to IPv6 doesn't really do much, if you don't have an IPv6</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">address to advertise.)</span></div></div><div><br></div><div>I'd love to make Tor autodetect IPv6 addresses.<br><div><br></div><div>Here's what we need to do to make that happen:</div><div>1. make relays extend over IPv6</div><div>  * these relays should declare a new protocol version "IPv6Relay=1"</div><div>2. make relays check their IPv6 ORPorts for reachability using an IPv6Relay</div><div>  * make relays connect to their own IPv6 ORPort <span style="background-color: rgba(255, 255, 255, 0);">(needs 1)</span></div><div>  * detect and track IPv4 and IPv6 ORPort reachability separately</div><div>3. make relays autodetect an IPv6 address (needs 2)</div><div><br></div><div>Here's the parent ticket for this change:</div><div><a href="https://trac.torproject.org/projects/tor/ticket/24403">https://trac.torproject.org/projects/tor/ticket/24403</a></div><div><br></div><div>Our next step is to write a proposal for this change.</div><div>(There is already some code in some of the tickets.)</div><div><br></div><div>T</div></div></body></html>