[tor-bugs] #33796 [Core Tor/Tor]: socks: Prefer IPv6 by default on SOCKS port broke torsocks

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 2 22:11:36 UTC 2020


#33796: socks: Prefer IPv6 by default on SOCKS port broke torsocks
-----------------------------------+------------------------------------
 Reporter:  dgoulet                |          Owner:  (none)
     Type:  defect                 |         Status:  new
 Priority:  Medium                 |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor           |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:  tor-dns torsocks ipv6  |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------------

Comment (by teor):

 Tor Browser has set PreferIPv6 for some time.
 But I guess that isn't a common config for torsocks?

 And there aren't any unit tests or integration tests that make sure that
 torsocks keeps working?
 That's a shame, we would have caught this issue much earlier.

 We thought that allowing users to configure NoPreferIPv6 in tor was
 enough. But that only works if people control their system tor instance.

 Here's what I suggest we do:
 * undo the default PreferIPv6 flag change in 0.4.3
 * re-do the default PreferIPv6 flag change in 0.4.4
 * add new socks commands for IPv4-only and IPv6-only in 0.4.4
 * update torsocks to use those commands (when available)
 * write unit tests or integration tests that cover the Torsocks use cases

 How much of that work are you able to do, dgoulet?

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


More information about the tor-bugs mailing list