You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uuWAF/rules/ip-block.lua

19 lines
306 B

--[[
: IP block
:
:
: IPIP
--]]
local ip = waf.ip
if waf.contains(ip,"10.20.11.193") then
return waf.block(true) -- 重置TCP连接不记录日志
end
return false