From f75111aff156f3fbe626399df7ae2542fad16bea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 6 Nov 2016 15:18:14 +0000 Subject: [PATCH] Stealth off by default --- src/freedombone-utils-onion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 1c58c6c6..99c29104 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -71,7 +71,7 @@ function wait_for_onion_service { function remove_onion_service { onion_service_name="$1" onion_service_port_to=$2 - sed -i "/stealth ${onion_service_name}/d" /etc/tor/torrc + #sed -i "/stealth ${onion_service_name}/d" /etc/tor/torrc sed -i "/hidden_service_${onion_service_name}/d" /etc/tor/torrc sed -i "/127.0.0.1:${onion_service_port_to}/d" /etc/tor/torrc if [ $3 ]; then @@ -108,7 +108,7 @@ function add_onion_service { if ! grep -q "hidden_service_${onion_service_name}" /etc/tor/torrc; then echo "HiddenServiceDir /var/lib/tor/hidden_service_${onion_service_name}/" >> /etc/tor/torrc echo "HiddenServicePort ${onion_service_port_from} 127.0.0.1:${onion_service_port_to}" >> /etc/tor/torrc - echo "HiddenServiceAuthorizeClient stealth ${onion_service_name}" >> /etc/tor/torrc + #echo "HiddenServiceAuthorizeClient stealth ${onion_service_name}" >> /etc/tor/torrc fi onion_update