snort-docker/configs/snort-conf/talos.lua
2024-08-22 13:20:45 +03:00

44 lines
791 B
Lua

---------------------------------------------------------------------------
-- talos test tweaks
-- use with --talos or --tweaks talos
---------------------------------------------------------------------------
function file_exists(name)
local f=io.open(name,'r')
if f~=nil then
io.close(f)
return true
else
return false
end
end
daq =
{
modules =
{
{
name = 'dump',
variables = { 'output = none' }
}
},
snaplen = 65535
}
if file_exists('local.rules') then
ips.include = 'local.rules'
end
alert_talos = { }
alerts = { alert_with_interface_name = true }
profiler =
{
modules = { show = false },
memory = { show = false },
rules = { show = true }
}
snort = { ['-Q'] = true }