]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2379 in SNORT/snort3 from ~RUCOMBS/snort3:tcp80 to master
authorRuss Combs (rucombs) <rucombs@cisco.com>
Thu, 6 Aug 2020 14:48:08 +0000 (14:48 +0000)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Thu, 6 Aug 2020 14:48:08 +0000 (14:48 +0000)
Squashed commit of the following:

commit eb76760da445e01a1037f4cb6d45aaec3ba6568d
Author: russ <rucombs@cisco.com>
Date:   Wed Aug 5 09:03:12 2020 -0400

    lua: add tcp port 80 binding to the connectivity and balanced tweaks

lua/balanced.lua
lua/connectivity.lua

index 0495ba5d3d45ebe371a475d8edfc89e48817daac..6ee57391addefef2e9591deada5436809717cbc5 100644 (file)
@@ -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' } })
+
index 290f5bada4c0513eaf1609cd2d38a50afe5ffb1b..fdfbcd22610914c065e401339b63ecb2d1fa5785 100644 (file)
@@ -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' } })
+