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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 1 16:29:03 UTC 2015


#1922: torrc.d-style configuration directories
-----------------------------+--------------------------
     Reporter:  aa138346     |      Owner:
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:  Tor: 0.2.???
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  tor-client
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+--------------------------

Comment (by nickm):

 I just heard a proposal from Hans that sees okay with me, if it's okay
 with TBB and Debian and Nyx.

 1. Add an %include directive to the torrc file.  It can take a file or a
 directory.  If you give it a directory, it includes all (non-dot) files in
 that directory in lexically sorted order (non-recursive).

 2a. If an %include is used in the torrc file, SAVECONF will not be
 allowed. (Or will work funny? Or will require a force flag?)

 2b. If %include is used only in the defaults-torrc file but not in the
 torrc, SAVECONF will still work fine.

 3. %include can be used recursively.  (maybe save this part for later)

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


More information about the tor-bugs mailing list