From 02e2c422252cb6c0ad9fb15c11b56ef30c0333a6 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 11 Oct 2022 17:10:13 +0800 Subject: [PATCH] up --- plugins/op_waf/t/test.sh | 5 ++++- plugins/op_waf/waf/rule/ip_white.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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