[tor-dev] Proposal: only parse .torrc files in torrc.d directory

teor teor2345 at gmail.com
Sat Feb 3 22:40:40 UTC 2018


> On 4 Feb 2018, at 09:37, iry <iry at riseup.net> wrote:
> 
> In best case users will just be frustrated because Tor does not work
> as expected and in worst case this could be dangerous. This could be a
> severe problem especially because of the following reasons:
> 1. filename.torrc~ filename.torrc.dpkg-old has higher priority than
> filename.torrc when Tor does the parsing.
> 2. In most cases, this will happen without being noticed by the normal
> suer.
> 
> Therefore, may I propose to let Tor parse only the files whose name
> ends with .torrc ?

Yes, this is standard behaviour among many tools.

> Or maybe even only parse number_filename.torrc for
> better consistency and for more clear priority order?

No, this is counter-intuitive. It will confuse many users.
It is not how most other tools work.

T


More information about the tor-dev mailing list