Opened 9 years ago

Closed 5 years ago

#2863 closed enhancement (duplicate)

feature request: 'include' config directive

Reported by: tagnaq Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Keywords: tor-relay
Cc: anonym, intrigeri, tor-admin@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Sometimes, especially for Tor server operators with multiple Tor instances, it would be handy to include a single file into different torrc files, to avoid touching multiple files when changing a single config option that is shared throughout all instances.

A good example for such config options would be 'MyFamily' and 'ExitPolicy'.

Would be nice if you could provide a new config options that implements such a feature.


Child Tickets

Change History (12)

comment:1 Changed 9 years ago by rransom

Component: - Select a componentTor Relay

comment:2 Changed 9 years ago by nickm

Milestone: Tor: 0.2.3.x-final

Potentially useful. The hard part would probably be figuring out what to do with SAVECONFIG when includes are used: if we don't have to support them both at once, that 'd make it easier.

Also potentially useful is to support wildcards so we could say "include ~/.tor.d/*" or such.

comment:3 Changed 9 years ago by T(A)ILS developers

Cc: amnesia@… added

Also see #1922.

comment:4 Changed 9 years ago by nickm

Milestone: Tor: 0.2.3.x-finalTor: unspecified

This is not happening in 0.2.3.x; in the meantime see the "default torrc" stuff added to master recently.

comment:5 Changed 8 years ago by torland

Priority: minornormal


I just setup a bunch of new high speed nodes. The lack of an include statement still makes it difficult to maintain myfamily and ExitPolicy and keeping track of all. Hope that this feature will come sometime soon. Because it would help me with any abuse message I get from my ISP, I don't regard this as a minor feaaure for those who operate the large Tor nodes. To make it more visible I will increase priority.

Thanks for taking case of this feature request.


comment:6 Changed 8 years ago by torland

Cc: tor-admin@… added

comment:7 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:8 Changed 8 years ago by nickm

Component: Tor RelayTor

comment:9 Changed 6 years ago by intrigeri

Cc: anonym intrigeri added; amnesia@… removed

comment:10 Changed 5 years ago by eighthave

Just chatted with weasel about this here in Berlin from a Debian perspective. We agreed that from the Tor side, that just implementing an include directive that worked for both files and directories would cover all that we need.

comment:11 Changed 5 years ago by weasel

It should probably have some glob support, and we might want even '*' globs to ignore certain patterns.

Not supporting directories as the include target should probably be OK if we have globs.

comment:12 Changed 5 years ago by nickm

Resolution: duplicate
Status: newclosed

Closing in favor of #1922

Note: See TracTickets for help on using tickets.