|
|
@ -52,7 +52,7 @@ run_test python tests/test.py --with-coverage --should-fail --url="http://localh |
|
|
|
run_test python tests/test.py --with-coverage --should-fail --tcp-only --url="http://localhost/" -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -b 127.0.0.1" |
|
|
|
|
|
|
|
# test localhost is available when forbidden list is empty |
|
|
|
run_test python tests/test.py --with-coverage --tcp-only --url="http://localhost/" -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --forbidden-ip=''" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -b 127.0.0.1" |
|
|
|
run_test python tests/test.py --with-coverage --tcp-only --url="http://localhost/" -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --forbidden-ip=" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -b 127.0.0.1" |
|
|
|
|
|
|
|
if [ -f /proc/sys/net/ipv4/tcp_fastopen ] ; then |
|
|
|
if [ 3 -eq `cat /proc/sys/net/ipv4/tcp_fastopen` ] ; then |
|
|
|