Change TOR circuit to 5 min

This commit is contained in:
Jesús 2021-06-20 22:42:08 -05:00
parent f3f9e3c9ce
commit 748dc10907
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -78,11 +78,15 @@ EOF
fi
if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then
cat > /etc/torrc <<- EOF
cat > /etc/tor/torrc <<- EOF
Log notice stdout
SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
MaxCircuitDirtiness 300
CircuitBuildTimeout 300
ExcludeExitNodes {US}
StrictNodes 1
EOF
tor -f /etc/torrc --runasdaemon 1
tor -f /etc/tor/torrc --runasdaemon 1
fi
exec /usr/bin/python3 /srv/app/server.py