Tor logging
This commit is contained in:
parent
b94ac8ab22
commit
9706a46a6a
|
@ -7023,6 +7023,7 @@ function route_outgoing_traffic_through_tor {
|
||||||
if ! grep -q 'Log notice file /var/log/tor/notices.log' /etc/tor/torrc; then
|
if ! grep -q 'Log notice file /var/log/tor/notices.log' /etc/tor/torrc; then
|
||||||
echo 'Log notice file /var/log/tor/notices.log' >> /etc/tor/torrc
|
echo 'Log notice file /var/log/tor/notices.log' >> /etc/tor/torrc
|
||||||
fi
|
fi
|
||||||
|
sed -i 's|#Log notice file /var/log/tor/notices.log|Log notice file /var/log/tor/notices.log|g' >> /etc/tor/torrc
|
||||||
|
|
||||||
if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
|
if ! grep -q "VirtualAddrNetworkIPv4" /etc/tor/torrc; then
|
||||||
echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc
|
echo 'VirtualAddrNetworkIPv4 10.192.0.0/10' >> /etc/tor/torrc
|
||||||
|
|
Loading…
Reference in New Issue