mirror of git://erdgeist.org/opentracker
Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats.
parent
ade8268970
commit
43b60783a1
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xff )) )&\
|
||||
request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xf )) )&\
|
||||
ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
|
||||
|
||||
# echo -e $request_string
|
||||
# echo
|
||||
echo -e $request_string | nc 127.0.0.1 6969 >/dev/null &
|
||||
echo -e $request_string | nc 127.0.0.1 6969 >/dev/null
|
||||
# echo
|
||||
|
||||
done
|
||||
|
Loading…
Reference in New Issue