diff --git a/plugins/op_waf/t/test.sh b/plugins/op_waf/t/test.sh index c614871c0..97933699c 100755 --- a/plugins/op_waf/t/test.sh +++ b/plugins/op_waf/t/test.sh @@ -2,8 +2,11 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH +# apt install apache2-utils # yum -y install httpd-tools -# ab -c 1000 -n 1000000 http://xx.xx.xx/ +# ab -c 1000 -n 1000000 http://www.zzzvps.com/ +# /cc https://www.zzzvps.com/ 120 + python3 index.py diff --git a/plugins/op_waf/waf/rule/ip_white.json b/plugins/op_waf/waf/rule/ip_white.json index 0e7bf1e17..2fae3655e 100755 --- a/plugins/op_waf/waf/rule/ip_white.json +++ b/plugins/op_waf/waf/rule/ip_white.json @@ -1 +1 @@ -[[[127, 0, 0, 2], [127, 0, 0, 255]]] \ No newline at end of file +[[[127, 0, 0, 1], [127, 0, 0, 255]]] \ No newline at end of file