[tor-bugs] #16774 [Tor]: Add fallback directories to GETINFO

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 18 05:57:54 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:                           |
-------------------------------------+------------------------------------

Comment (by teor):

 There's another way of implementing this patch, that will print all
 current and future fallback directory fields:

 The current fallback directory code `#includes` the list of fallbacks in a
 static array that's inside a function.

 If we refactor that code, creating a default_fallbacks static variable at
 file-scope, then we can simply print out the content of each fallback
 string.

 But your existing code may still be useful - it can be used to print out
 the fields from fallback directories that are configured in the torrc. (We
 can imitate what happens for authorities.)

 What do you think?

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


More information about the tor-bugs mailing list