tor_multipath_voip/scripts/2021/tor2wcli
2021-01-28 10:49:39 +01:00

24 lines
371 B
Bash
Executable file

#!/bin/bash
while true; do
SOCK_PORT=$1
/usr/local/bin/tor3 \
--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 212.47.237.96 \
-p 443 \
-c 135000 \
-i 40 \
-s 172 \
-m tor2w
kill $!
done