[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] security/tor ignores torrc Log setting?




Am 03.12.2016 um 17:13 schrieb nusenu:
> 
>> By default, FreeBSD's tor and tor-devel port want to store logs inside
>> /var/log/tor/ regardless of what you put in the /usr/local/etc/tor/torrc
>> file last I looked.
> 
> Are you sure? What security/tor package version was this?
> This never happened to me.

it was on tor-devel 0.2.7.6 :

Dec 01 20:15:11.099 [notice] Tor v0.2.7.6 (with bufferevents) running on FreeBSD with Libevent 2.0.22-stable, OpenSSL 1.0.1s-freebsd and Zlib 1.2.8.
Dec 01 20:15:11.099 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Dec 01 20:15:11.100 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Dec 01 20:15:11.108 [notice] Opening Control listener on 127.0.0.1:9051
Dec 01 20:15:11.109 [notice] Opening OR listener on 0.0.0.0:1443
Dec 01 20:15:11.109 [notice] Opening Directory listener on 0.0.0.0:1080
Dec 01 20:15:11.000 [warn] Couldn't open file for 'Log notice file /var/log/tor/notices.log': Not a directory
Dec 01 20:15:11.000 [notice] Closing partially-constructed Control listener on 127.0.0.1:9051
Dec 01 20:15:11.000 [notice] Closing partially-constructed OR listener on 0.0.0.0:1443
Dec 01 20:15:11.000 [notice] Closing partially-constructed Directory listener on 0.0.0.0:1080

and the same on  tor 0.2.8.9:

if you put "Log notice file /var/log/tor/" in torrc you get [warn] Couldn't open file for 'Log notice file /var/log/tor/': Is a directory

if you change torrc to "Log notice file /var/log/tor/log" it runs trough 
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays