mirror of
https://github.com/Lanakod-Networks/snort-docker.git
synced 2025-07-04 21:36:37 +03:00
49 lines
1.1 KiB
Lua
49 lines
1.1 KiB
Lua
---------------------------------------------------------------------------
|
|
-- maximum detection policy
|
|
-- this will yield lowest throughput
|
|
-- use with -c snort.lua --tweaks max_detect
|
|
---------------------------------------------------------------------------
|
|
|
|
arp_spoof = nil
|
|
|
|
ftp_server.check_encrypted = true
|
|
|
|
detection =
|
|
{
|
|
pcre_match_limit = 3500,
|
|
pcre_match_limit_recursion = 3500,
|
|
|
|
-- enable for hyperscan for best throughput
|
|
-- use multiple packet threads for fast startup
|
|
--hyperscan_literals = true,
|
|
--pcre_to_regex = true
|
|
}
|
|
|
|
http_inspect.decompress_pdf = true
|
|
http_inspect.decompress_swf = true
|
|
http_inspect.decompress_zip = true
|
|
http_inspect.percent_u = true
|
|
http_inspect.normalize_javascript = true
|
|
|
|
imap.decompress_pdf = true
|
|
imap.decompress_swf = true
|
|
imap.decompress_zip = true
|
|
|
|
pop.decompress_pdf = true
|
|
pop.decompress_swf = true
|
|
pop.decompress_zip = true
|
|
|
|
port_scan = nil
|
|
|
|
search_engine.detect_raw_tcp = true
|
|
|
|
smtp.decompress_pdf = true
|
|
smtp.decompress_swf = true
|
|
smtp.decompress_zip = true
|
|
|
|
stream_ip.min_frag_length = 100
|
|
|
|
telnet.check_encrypted = true
|
|
telnet.normalize = true
|
|
|