mirror of
https://github.com/Lanakod-Networks/snort-docker.git
synced 2025-07-04 21:36:37 +03:00
44 lines
791 B
Lua
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 }
|
|
|