[tor-bugs] #16069 [Tor]: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 8 19:11:59 UTC 2015


#16069: ipv4 + ipv6 exit : v6 policy is displayed twice, v4 isn't displayed
--------------------------+-----------------------------------------------
     Reporter:  toralf    |      Owner:
         Type:  defect    |     Status:  new
     Priority:  critical  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor       |    Version:  Tor: 0.2.7
   Resolution:            |   Keywords:  026-backport, ipv6, PostFreeze027
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+-----------------------------------------------

Comment (by teor):

 As far as I'm aware, the current tor code treats accept and accept6
 identically, and treats reject and reject6 identically.

 When an accept or accept6 line has an address "*", it's treated as "all
 IPv4 and IPv6 addresses". For example, "accept *:443" and "accept6 *:443"
 both mean "accept connections to all IPv4 and IPv6 addresses on port 443".

 So all ExitPolicy lines in the attached torrc past line 39 are being
 ignored:
 "ExitPolicy reject6 *:*"

 However, if you specify "accept6 *6:443" you will get the behaviour you're
 looking for: "accept connections to all IPv6 addresses on port 443".

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


More information about the tor-bugs mailing list