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 tabIPMask = c_GetIPMaskList("%Domain")
table.insert(tabIPMask,{"%IP",true})
local tabIPMask_new = {}
for _,IPMask in pairs(tabIPMask) do
for k,v in pairs(IPMask) do
if type(v) == "boolean" then
if v == true then
IPMask[k] = 1
else
IPMask[k] = 0
end
end
end
table.insert(tabIPMask_new,IPMask)
end
c_SetIPMaskList("%Domain",tabIPMask_new) Return to Suggestions & Wishlist
Users browsing this forum: No registered users and 0 guests