Opened 5 years ago

Closed 5 years ago

#12573 closed defect (implemented)

Dirauths should only assign the HSDir flag to valid relays

Reported by: sysrqb Owned by:
Priority: High Milestone: Tor: 0.2.6.x-final
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Currently directory authorities assign the HSDir flag to relays if they:

  • want to be a HSDir (default)
  • are configured to be a relay
  • have been up long enough
  • are running

These criteria should be augmented and include that the relay is valid (or not invalid).

Child Tickets

Change History (5)

comment:1 Changed 5 years ago by sysrqb

First attempt, branch bug12538 in my public repo. gitweb. I made some guesses.

comment:2 Changed 5 years ago by sysrqb

Wrong bug number. Trying this again:

First attempt, branch bug12573. gitweb.

comment:3 Changed 5 years ago by sysrqb

Status: newneeds_review

comment:4 Changed 5 years ago by nickm

This looks plausible to me. Merged to master. Thanks!

comment:5 Changed 5 years ago by nickm

Resolution: implemented
Status: needs_reviewclosed
Note: See TracTickets for help on using tickets.