From e534db03c6877f8ac0559f63840e9a00e9bd43bf Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 4 Oct 2008 05:40:51 +0000 Subject: added live sync code added a config file parser added tracker id changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE added an option to switch off fullscrapes cleaned up many internal hardcoded values, like PROTO_FLAG, --- tests/testsuite2.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/testsuite2.sh (limited to 'tests') diff --git a/tests/testsuite2.sh b/tests/testsuite2.sh new file mode 100644 index 0000000..5189187 --- /dev/null +++ b/tests/testsuite2.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +while true; do + request_string="GET /announce?info_hash=012345678901234567\ +%$(printf %02X $(( $RANDOM & 0xff )) )\ +%$(printf %02X $(( $RANDOM & 0xff )) )\ +&ip=$(( $RANDOM & 0xff )).17.13.15&port=$(( $RANDOM & 0xff )) HTTP/1.0\n" + + echo $request_string + echo + echo $request_string | nc 10.0.1.3 6969 >/dev/null + echo + +done -- cgit v1.2.3