[tor-bugs] #17576 [Tor]: Add torrc option to disable default fallback directories

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 25 13:48:52 UTC 2015


#17576: Add torrc option to disable default fallback directories
-------------------------------+------------------------------------
 Reporter:  teor               |          Owner:
     Type:  enhancement        |         Status:  needs_revision
 Priority:  Medium             |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor                |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  TorCoreTeam201511  |  Actual Points:
Parent ID:  #15775             |         Points:
  Sponsor:                     |
-------------------------------+------------------------------------
Changes (by nickm):

 * status:  needs_review => needs_revision


Comment:

 Looks great except one thing: the code in options_validate() that changes
 UseDefaultFallbackDirs is a bad idea, since that will cause later SAVECONF
 calls to write the new UseDefaultFallbackDirs value to disk even if the
 user didn't mean for it to change.

 Possibilities include:
   * Have two separate variables, one of which is the option that the user
 set, and one of which it the true value.
   * Always ignore UseDefaultFallbackDirs when FallbackDirs is set.

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


More information about the tor-bugs mailing list