Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6406 closed enhancement (fixed)

Add configuration option for directory authorities to vote on "a" lines

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

Description

When deploying relays with IPv6 OR port(s) (#4564) we will want to
make it possible for directory authority operators to select if they
should vote on "a" lines or not. Add a configuration option,
AuthDirUseIPv6, indicating that a directory authority should test OR
ports given in "or-address" lines in server descriptors and vote on
them. There might be a better name for the config option.

#5534 implements the testing and writing "a" lines to status
documents. This is done for bridge authorities only. That test
should be replaced with a test for the above mentioned config option.

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by ln5

Nick suggests AuthDirPublishIPv6 as a better name for the option. I fully agree.

comment:2 Changed 7 years ago by ln5

Related to this, there's the AuthorityHasIPv6Connectivity option
(implemented in #5974). If set to 0, IPv6 OR ports will be considered
valid without being tested for reachability. The default is 'auto'
which turns into -1 internally, making IPv6 OR ports _not_ being
considered by a directory authority installing a new tor without
adding any new config options.

The idea is to change behaviour for 'auto' in the future so that it
detects wether we're on IPv6 or not. When that happens, authorities
which are on IPv6 will start considering IPv6 OR ports as valid. The
options suggested in this ticket, AuthDirPublishIPv6, adds a second
condition for actually voting on those ports.

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

Status: newneeds_review

This is implemented in branch enh6406 (based on nickm/ipv6-phase3-0711) of my public repo.

Is the documentation good enough? I'm uncertain how to phrase it.

comment:4 Changed 7 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Seems okay to me. The audience for this part of the documentation is pretty small.

Squashing and merging the whole shebang.

comment:5 Changed 7 years ago by nickm

Keywords: tor-auth added

comment:6 Changed 7 years ago by nickm

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