From 748dc1090745de1d985c74b21b48e1ce97c012b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 20 Jun 2021 22:42:08 -0500 Subject: Change TOR circuit to 5 min --- core/entrypoint.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/entrypoint.sh b/core/entrypoint.sh index 859f6a0..1c15c2c 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -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 -- cgit v1.2.3