From 0680ed9b11f8ffa0eef5e0792183609f93beb7a7 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 3 min --- core/entrypoint.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/entrypoint.sh') 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