[tor-bugs] #18177 [DocTor]: Check Fallback Directory IPv4 and IPv6 addresses using DocTor

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 15 14:55:41 UTC 2016


#18177: Check Fallback Directory IPv4 and IPv6 addresses using DocTor
-------------------------+--------------------------
 Reporter:  teor         |          Owner:  atagar
     Type:  enhancement  |         Status:  reopened
 Priority:  Medium       |      Milestone:
Component:  DocTor       |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+--------------------------
Changes (by teor):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:10 atagar]:
 > > That's not good, can doctor please report any fallback directories
 that take a relatively long amount of time to serve a consensus (like
 doctor does for the authorities), and report any that take more than 10
 seconds?
 >
 > I doubt Nick wants a ticket every time a fallback directory is sluggish.
 If you're interested in avoiding slow fallback directories any reason not
 to simply run the script I gave above when picking them?

 So I'm doing that when I pick them, but what if they become slow some time
 after the release?

 Also, in #18812, we realised that we'd like to check that the fallback's
 current key matches the one in the source code.

 So can you modify DocTor to call a fallback "failed" if:
 * it doesn't respond to an ORPort request, or
   * (almost all clients will connect to the ORPort and issue a begindir
 request)
 * the key doesn't match the one in the fallback list, or
 * it takes longer than 15 seconds to serve a consensus

 (Are these doable? Is the amount of effort ok?
 The current checks are still quite useful.)

 It's ok to have a few fallbacks fail.
 But I'd like to know when 25% of fallbacks are failing, so that we can
 update the list in the next point release.
 How do I get that email/notification?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18177#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list