[tor-bugs] #1922 [Tor]: torrc.d-style configuration directories

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 7 02:49:23 UTC 2014


#1922: torrc.d-style configuration directories
-----------------------------+------------------------------
     Reporter:  aa138346     |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: unspecified
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+------------------------------
Changes (by NickHopper):

 * status:  new => needs_review
 * cc: NickHopper (added)


Comment:

 Nick suggested this task as something useful to do at the Reykjavik hack
 day.  Testing took me longer than it should have, but this patch changes
 options_init_from_torrc so that it:

 1. Reads the torrc-defaults file, if any exists

 2. Reads in lexicographic order all config files in the tor.d directory,
 if it exists.   List options are cumulative across the files in this
 category.

 3. Reads the torrc file, if any exists.

 Comments and review welcome.

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


More information about the tor-bugs mailing list