[tor-bugs] #16774 [Tor]: Add fallback directories to GETINFO
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 29 01:20:45 UTC 2015
#16774: Add fallback directories to GETINFO
-------------------------------------+------------------------------------
Reporter: teor | Owner:
Type: enhancement | Status: needs_revision
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.7.2-alpha
Severity: Normal | Resolution:
Keywords: lorax, easy, 028-triage | Actual Points:
Parent ID: #17817 | Points: medium
Sponsor: |
-------------------------------------+------------------------------------
Changes (by teor):
* status: needs_review => needs_revision
Comment:
Replying to [comment:12 gtank]:
> I like the file-scope approach, and think it also takes care of #17817
(assuming the ipv6 flags are in the included data). It also has the nice
side-effect of treating fallbacks identically to dirauths in the config
handler. I've written it up at `feature16774-v3` at
https://github.com/gtank/tor.git
Thanks for this patch, looks good!
One minor fix - Tor doesn't use the default fallback directories if
get_options()->UseDefaultFallbackDirs is 0. To avoid confusing users,
let's only display the default fallbacks if there are no FallbackDir lines
in the config, and get_options()->UseDefaultFallbackDirs is 1.
{{{
if (fallback_lines_seen == 0) {
}}}
Also, the fallback directories aren't authoritative, they are mirrors. Can
you change default_fallback_authorities to avoid using `authorities`?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16774#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list