[tor-dev] Default parsing order of config files in Debain tor package

iry iry at riseup.net
Sun Jul 2 13:42:27 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello, Tor developers!

With the implementation of torrc.d, there will be at least two Tor
config files and one Tor config directory by default in Debian tor
package. However, I am not able to find the documents on what the
parsing order Tor follows.

My guess is that:
1. /usr/share/tor/tor-service-defaults-torrc is parsed first
2. /etc/torrc.d is parsed next (in lexical order)
3. /etc/torrc is parsed at last
4. and the lines in config files parsed later will overwrite similar
lines in config files that are parsed earlier

Could anyone familiar with the problem help me please? This will be
really helpful to my future work and I really appreciate your help!

Thank you very much!

Best,
iry
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJZWPgFAAoJEKFLTbxtzdU8HpoP/3dz869rQmlAMC4v/2UAO0F+
hPtC/L27ILeICraQRc2sJOsf7FTueKD/a6GadUbCbWBwWyyzdBXotqADnmJdvNnm
hSgkE1mYz27+eI2NUd7UpHs+NrP7FXdjufGkHxZfJPrhTbGKPCC66HouT+T1vdh5
PTRBjc6M/+C2yRuteGRcAW6Be3NJ+3HRuFC5THJd6b+p0WmP+OYXdVlq7cXuY3zj
ffaXvX7WGOH2J+ALIaspc0wjLiieUCq5wrO7REkeUM0TuqjhWWGBhANqVM1Qrfs+
0jWPRklFq/7BkfySUZA88H6D5pkpBX3eVDsUlduxvoSS/F8ksWzAIdMMFaz9a7tR
GpCEBBmbJIN3d4ApF78h//Y9XkaBsAotf40YEC4uZ4h3iW4rlyojWuU7N78A36PL
MJ0IdUm52hWy7ySRDFi9lr7y1xtGQ9qO1gAYCq7D+qeKte+E7UO/QKZjOkAMBBir
hxLimroNtL708rcDzLegstWt5Rpf2iJOYP1wOYnAeYfkSeXXW5KQBDJEd1botJg6
YRa69iICoLBNY+4z6i3t5lVlMolqPyAAwEfA1j4yXBrtBed8ISKx4V44y5JeGnZ2
SjMfHM6XJB95Bu8sWVQc1dQ+eBBiFYHbP4s4n1+jsTbmImg2bc+LauxChwRmAHek
o9KiSasLITPC7zIv1m2o
=KrAy
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6DCDD53C.asc
Type: application/pgp-keys
Size: 4674 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170702/c7dc0ae4/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6DCDD53C.asc.sig
Type: application/pgp-signature
Size: 543 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170702/c7dc0ae4/attachment.sig>


More information about the tor-dev mailing list