[tor-bugs] #30954 [Core Tor/Tor]: Address torrc option is ignored if set second time for the IPv6 address

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jun 23 15:38:07 UTC 2019


#30954: Address torrc option is ignored if set second time for the IPv6 address
------------------------------+--------------------------------
     Reporter:  s7r           |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.4.1.2-alpha
     Severity:  Normal        |   Keywords:  ipv6
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Currently if we specify `Address` 2 times in the same torrc, once for IPv4
 address and once for IPv6 address, it will just ignore the second entry as
 like it would be for the same IP family:

 {{{
 [warn] Option 'Address' used more than once; all but the last value will
 be ignored.
 }}}

 This behavior is perfect for cases where operators specify more addresses
 from the same family (like IPv4 for example) in the same torrc. I am
 marking this Low priority because it's here only to remind us about it
 when IPv6 autodetection will be implemented.

 I know currently does not do IPv6 address detection so I am guessing this
 is why it currently does not care to learn about an IPv6 address from
 `Address` torrc setting, and only from `ORPort` to build just descriptors
 and be optimistic about getting the ReachableIPv6 flag, but when this
 changes it should be possible to specify `Address` 2 times in torrc, once
 for IPv4 and once for IPv6, the same as for `OutboundBindAddress |
 OutboundBindAddressOR | OutboundBindAddressExit`.

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


More information about the tor-bugs mailing list