[tor-bugs] #27490 [Core Tor/Tor]: When ClientPreferIPv6ORPort is set to auto, and a relay is being chosen for a directory or orport connection, prefer IPv4 or IPv6 at random

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 12 01:35:52 UTC 2018


#27490: When ClientPreferIPv6ORPort is set to auto, and a relay is being chosen for
a directory or orport connection, prefer IPv4 or IPv6 at random
--------------------------+--------------------------------
 Reporter:  neel          |          Owner:  neel
     Type:  enhancement   |         Status:  needs_revision
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #17835        |         Points:
 Reviewer:  teor          |        Sponsor:
--------------------------+--------------------------------
Changes (by teor):

 * status:  assigned => needs_revision
 * reviewer:   => teor


Comment:

 Replying to [comment:3 neel]:
 > My PR is here: https://github.com/torproject/tor/pull/317

 Thanks, I did a review on the pull request.

 > I do know that there are other parts to #17835 and I will do them as
 separate pull requests. Changes to individual tickets will (probably) be
 done on the same PR as the original.
 >
 > About testing:
 >
 > I have tested this on a laptop running FreeBSD 12 connected to a router
 running Tomato Shibby and a Hurricane Electric IPv6 tunnel on a IPv4-only
 Verizon FiOS connection (FiOS is FTTH/GPON).
 >
 > How I tested this: I used a custom torrc with `ClientPreferIPv6ORPort`
 to `auto` and `EntryNodes` to an IPv6-capable guard. As this is only the
 first step, there are times where I get IPv4 connections to the
 IPv6-supported guard and other times where I get IPv6 connections to the
 same guard.
 >
 > I also set `EntryNodes` to an IPv4-only guard and get only IPv4
 connections.

 What happens when you don't set EntryNodes?

 > For the Tor developers reviewing this patch, you may or may not have
 IPv6 in your home or office to test this patch. If you don't, you could
 use HE's IPv6 tunnel or a testing network.

 Some Tor developers have native IPv6 on their servers, and they can give
 shell + compiler access.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27490#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list