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 while true; do
touch /tmp/empty touch /tmp/empty
rm -rf /tmp/tor$CONTROL_PORT rm -rf /tmp/tor$CONTROL_PORT
/usr/bin/tor \ /usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \ -f /tmp/empty --defaults-torrc /tmp/empty \
--hush \ --hush \
--UseEntryGuards 1 \ --UseEntryGuards 1 \
@ -27,7 +27,7 @@ rm -rf /tmp/tor$CONTROL_PORT
sleep 1 sleep 1
rm -rf /tmp/tor$SOCK_PORT rm -rf /tmp/tor$SOCK_PORT
/usr/bin/tor \ /usr/local/bin/tor3 \
-f /tmp/empty --defaults-torrc /tmp/empty \ -f /tmp/empty --defaults-torrc /tmp/empty \
--hush \ --hush \
--UseEntryGuards 1 \ --UseEntryGuards 1 \

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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