2021-01-27 08:11:22 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
while true; do
|
|
|
|
SOCK_PORT=$1
|
2021-01-28 09:49:39 +00:00
|
|
|
/usr/local/bin/tor3 \
|
2021-01-27 08:11:22 +00:00
|
|
|
--UseEntryGuards 0 \
|
|
|
|
--SocksPort "127.0.0.1:$SOCK_PORT IsolateDestPort IsolateDestAddr IsolateClientAddr" \
|
|
|
|
--DataDirectory /tmp/tor$SOCK_PORT &
|
|
|
|
|
|
|
|
sleep 5
|
|
|
|
|
|
|
|
/usr/local/bin/measlat \
|
|
|
|
-t tor \
|
|
|
|
-q $SOCK_PORT \
|
|
|
|
-h rayonx.machine.deuxfleurs.fr \
|
|
|
|
-p 443 \
|
|
|
|
-c 135000 \
|
|
|
|
-i 40 \
|
|
|
|
-s 172 \
|
|
|
|
-m tor1w
|
|
|
|
|
|
|
|
kill $!
|
|
|
|
done
|