From: Russ Combs (rucombs) Date: Thu, 6 Aug 2020 14:48:08 +0000 (+0000) Subject: Merge pull request #2379 in SNORT/snort3 from ~RUCOMBS/snort3:tcp80 to master X-Git-Tag: 3.0.2-5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3ae8ddf9da7daf382575c8aa0e0c5eee306c6a;p=thirdparty%2Fsnort3.git Merge pull request #2379 in SNORT/snort3 from ~RUCOMBS/snort3:tcp80 to master Squashed commit of the following: commit eb76760da445e01a1037f4cb6d45aaec3ba6568d Author: russ Date: Wed Aug 5 09:03:12 2020 -0400 lua: add tcp port 80 binding to the connectivity and balanced tweaks --- diff --git a/lua/balanced.lua b/lua/balanced.lua index 0495ba5d3..6ee57391a 100644 --- a/lua/balanced.lua +++ b/lua/balanced.lua @@ -14,3 +14,7 @@ port_scan = nil stream_ip.min_frag_length = 16 +table.insert( + binder, 1, -- add http port binding to appease the perf gods + { when = { proto = 'tcp', ports = '80', role='server' }, use = { type = 'http_inspect' } }) + diff --git a/lua/connectivity.lua b/lua/connectivity.lua index 290f5bada..fdfbcd226 100644 --- a/lua/connectivity.lua +++ b/lua/connectivity.lua @@ -15,3 +15,7 @@ port_scan = nil stream_ip.min_frag_length = 16 +table.insert( + binder, 1, -- add http port binding to appease the perf gods + { when = { proto = 'tcp', ports = '80', role='server' }, use = { type = 'http_inspect' } }) +