Opened 3 months ago

Last modified 3 months ago

#30954 new enhancement

Address torrc option is ignored if set second time for the IPv6 address

Reported by: s7r Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords: ipv6
Cc: Actual Points:
Parent ID: #24403 Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (1)

comment:1 Changed 3 months ago by teor

Milestone: Tor: unspecified
Parent ID: #24403
Type: defectenhancement
Version: Tor: 0.4.1.2-alphaTor: unspecified

Address behaves as documented in the man page, so this is a feature request.

Note: See TracTickets for help on using tickets.