On 15 Dec 2017, at 04:04, David Goulet <dgoulet@xxxxxxxxxxxxxx> wrote:
Yes, it's important, and it would be great if you could do it. Is that this ticket? hs: Unify link specifier API/ABI
Here is the wiki page I am using for planning: Feel free to edit it :-) Here's the high-level ticket, please pick any task I haven't started on:
Eventually, but it doesn't need to be done in 0.3.3.
Tor does this already with IPv4. We check these sources for IPv4 (in about this order): The configured Address NETINFO cells from our outbound connections to other relays The first IPv4 address in the order the OS provides them I think we stopped using the X-Your-IP-Address-Is headers in directory documents. We check these sources for IPv6: The first advertised IPv6 ORPort Eventually, I want to make both use this order: The configured Address The first advertised ORPort NETINFO cells from our outbound connections to other relays The first address in the order the OS provides them If we want to be clever, we can skip addresses that aren't reachable. Or we can check all the addresses, and try to choose the shortest address text to put in directory documents. But these features can wait.
I've never heard of such a thing. And we can't support every weird scenario by default. There will be a way to turn the feature off. I think we have to get used to treating IPv4 and IPv6 the same. We guess IPv4, we should guess IPv6 as well. If we need to have a release where the feature is available but off by default, that's ok. But I think it's not a big deal. Let's just tell people at the top of the release notes. It will make a lot of relay operators happy.
Reachability checks are: Missing IPv6 ORPort reachability check https://trac.torproject.org/projects/tor/ticket/6939I'm sure we have a ticket for relay IPv6 autodetection, but I can't find it right now. T |
_______________________________________________ tor-dev mailing list tor-dev@xxxxxxxxxxxxxxxxxxxx https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev