Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5974 closed enhancement (implemented)

Add configuration option for indicating if a directory authority is on IPv6 or not

Reported by: ln5 Owned by: ln5
Priority: Medium Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: ipv6 tor-auth
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Background from #5534:

TODO: Add a configuration option telling tor if it's supposed to
have IPv6 connectivity. This will be something like
AuthorityHasIPv6Connectivity 0|1|auto. Clients and ordinary relays
will have to detect this.

This should be an option for authorities only for use until we have
good automatic detection of IPv6 connectivity.

The idea is that an authority with this option set to 0 will emit "a"
lines with IPv6 relay addresses without performing reachability tests.
The reasoning behind it is that relays on IPv6 shouldn't be punished
by directory authorities not on IPv6.

Regarding its default value, I think that 'auto' would be a good
default. Once we have automatic detection in place, leaving this
option out will make no difference. In the meantime 'auto' will turn
into '0' and authorities will by default let "a" lines through.

Regarding automatic detection, I wonder how we can do that without
leaking information. Is it possible? If not, how much can we leak?
Should we add more config option(s) for enabling more leaky strategies?

Child Tickets

Change History (7)

comment:1 Changed 7 years ago by ln5

Status: newneeds_review

3340b293 in branch ipv6-phase3-0528 of my public repo adds the option
defautlting to "auto" and makes set_routerstatus_from_routerinfo()
include "a" lines without reachability test if option is set to 0.

comment:2 Changed 7 years ago by nickm

Milestone: Tor: 0.2.4.x-final

comment:3 Changed 7 years ago by ln5

The AuthorityHasIPv6Connectivity option lacks documentation.

comment:4 in reply to:  3 Changed 7 years ago by ln5

Replying to ln5:

The AuthorityHasIPv6Connectivity option lacks documentation.

"Bad call". Documentation was added to tor.1.txt by commit
f3d409d2f21704c403b16297cc238ad989347fcc.

comment:5 Changed 7 years ago by nickm

Resolution: implemented
Status: needs_reviewclosed

Implemented in the branch "tickets_5529_5534_5974_6406" based on Linus's enh6404, based on my ipv6-phase3-0711, based on Linus's ipv6-phase3-0711, etc etc.
Merged that branch.

comment:6 Changed 7 years ago by nickm

Keywords: tor-auth added

comment:7 Changed 7 years ago by nickm

Component: Tor Directory AuthorityTor
Note: See TracTickets for help on using tickets.