[tor-bugs] #6770 [Tor Directory Authority]: Default value for AuthDirPublishIPv6 not honoured
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Sep 5 08:58:04 UTC 2012
#6770: Default value for AuthDirPublishIPv6 not honoured
-------------------------------------+--------------------------------------
Reporter: ln5 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor Directory Authority | Version:
Keywords: ipv6 | Parent:
Points: | Actualpoints:
-------------------------------------+--------------------------------------
AuthDirPublishIPv6 is AUTOBOOL.
AUTOBOOL defaults to -1.
We check AuthDirPublishIPv6 like this
{{{
options->AuthDirHasIPv6Connectivity == 0
}}}
in two places where we want to test whether it's "unset" or not. This
test will fail for AuthDirPublishIPv6 being -1.
After an interesting discussion with Roger on IRC, I suggest we make
this option BOOL.
The motivation is that we should have AUTOBOOL options only for things
decided from information from the consensus or the operating system
we're running on. Once we have code for autodetecting IPv6 support
from the OS we can turn it back into an AUTOBOOL again.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6770>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list