fix tor path

This commit is contained in:
Quentin 2021-01-28 10:49:39 +01:00
parent 96304c9a85
commit d7b7297b00
9 changed files with 16 additions and 16 deletions

View File

@ -15,7 +15,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
rm -rf /tmp/tor$CONTROL_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 1 \
@ -27,7 +27,7 @@ rm -rf /tmp/tor$CONTROL_PORT
sleep 1
rm -rf /tmp/tor$SOCK_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 1 \

View File

@ -15,7 +15,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
rm -rf /tmp/tor$CONTROL_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 1 \
@ -27,7 +27,7 @@ rm -rf /tmp/tor$CONTROL_PORT
sleep 1
rm -rf /tmp/tor$SOCK_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 1 \

View File

@ -15,7 +15,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
rm -rf /tmp/tor$CONTROL_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \
@ -27,7 +27,7 @@ rm -rf /tmp/tor$CONTROL_PORT
sleep 1
rm -rf /tmp/tor$SOCK_PORT
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 1 \

View File

@ -2,7 +2,7 @@
while true; do
SOCK_PORT=$1
/usr/bin/tor \
/usr/local/bin/tor3 \
--UseEntryGuards 0 \
--SocksPort "127.0.0.1:$SOCK_PORT IsolateDestPort IsolateDestAddr IsolateClientAddr" \
--DataDirectory /tmp/tor$SOCK_PORT &

View File

@ -2,7 +2,7 @@
while true; do
SOCK_PORT=$1
/usr/bin/tor \
/usr/local/bin/tor3 \
--UseEntryGuards 0 \
--SocksPort "127.0.0.1:$SOCK_PORT IsolateDestPort IsolateDestAddr IsolateClientAddr" \
--DataDirectory /tmp/tor$SOCK_PORT &

View File

@ -14,7 +14,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \
@ -23,7 +23,7 @@ touch /tmp/empty
--DataDirectory /tmp/tor$CONTROL_PORT | red &
sleep 1
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \

View File

@ -14,7 +14,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \
@ -25,7 +25,7 @@ touch /tmp/empty
--DataDirectory /tmp/tor$CONTROL_PORT | red &
sleep 1
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \

View File

@ -14,7 +14,7 @@ DONAR_PORT=$((7000+$1*12))
while true; do
touch /tmp/empty
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \
@ -23,7 +23,7 @@ touch /tmp/empty
--DataDirectory /tmp/tor$CONTROL_PORT | red &
sleep 1
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \

View File

@ -7,7 +7,7 @@ LOCAL_PORT=$((9200+$1))
echo "tor daemon serv"
touch /tmp/empty
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \
@ -16,7 +16,7 @@ touch /tmp/empty
--DataDirectory /tmp/tor$CONTROL_PORT &
echo "tor client serv"
/usr/bin/tor \
/usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \
--hush \
--UseEntryGuards 0 \