would it be possible to add a option to add a ip to the domain banlist if the anti-hammer rule get`s broken?
it`s a pretty good system to make a server a lot more secure!
thx!
local ipmasks = c_GetIPMaskList("%Domain")
local domain_ipmasks = {}
if type(ipmasks) == "table" then
for _,ipmask in pairs(ipmasks) do
local temp = {}
table.insert(temp,ipmask.ip)
table.insert(temp,ipmask.refuse)
table.insert(domain_ipmasks,temp)
end
end
table.insert(domain_ipmasks,{"%IP",true})
c_SetIPMaskList("%Domain",domain_ipmasks)
Return to Suggestions & Wishlist
Users browsing this forum: Google [Bot] and 1 guest
Powered by phpBB © phpBB Group.