From 41c37b9d1f77c9be6edeb3955218bb928fc203fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=89=E5=AE=89=E7=A7=91=E6=8A=80?= Date: Fri, 23 Sep 2022 21:53:17 +0800 Subject: [PATCH] Update anti-cc.lua --- rules/anti-cc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/anti-cc.lua b/rules/anti-cc.lua index 502416b..309a676 100644 --- a/rules/anti-cc.lua +++ b/rules/anti-cc.lua @@ -20,7 +20,7 @@ if not c then sh:set(ccIp, 0, 60, 1) -- 设置1分钟也就是60秒访问计数时间 else if f == 2 then - return waf.block(true) + return true, ccIp, true end sh:incr(ccIp, 1) if c >= 360 then