IP黑名单规则

pull/26/head
puhui222 1 year ago committed by GitHub
parent d0a4d3c62b
commit cbfd7dcb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,18 @@
--[[
: IP block
:
:
: IPIP
--]]
local ip = waf.ip
if waf.contains(ip,"10.20.11.193") then
return waf.block(true) -- 重置TCP连接不记录日志
end
return false
Loading…
Cancel
Save