]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1723 in SNORT/snort3 from ~MSTEPANE/snort3:build_260 to master 3.0.0-260
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 28 Aug 2019 14:33:50 +0000 (10:33 -0400)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 28 Aug 2019 14:33:50 +0000 (10:33 -0400)
Squashed commit of the following:

commit 41a75d86345ce115175322b3697abeb68bda9bda
Author: Mike Stepanek <mstepane@cisco.com>
Date:   Wed Aug 28 09:10:03 2019 -0400

    Build 260

ChangeLog
doc/snort_manual.html
doc/snort_manual.pdf
doc/snort_manual.text
src/main/build.h

index 20e04de3cf905aeb114d249cc62f431c6bfd1ca9..984d2dc09098d89de9e18a5f038f2255d2eeba6b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,17 @@
-19/07/21 - build 259
+19/08/28 - build 260
+
+-- appid: handle 'change cipher spec' in 'server hello' to allow some app detection for tls 1.3
+   traffic
+-- binder: updated change_service event to support service reset via wizard
+-- host_tracker: derive LruCacheSharedMemcap from the general LruCacheShared that tracks size in
+   bytes, rather than number of items and instantiate host_cache from LruCacheSharedMemcap.
+-- http2_inspect: Remove pkt_data buffer option
+-- reload: fix coding style issues, support multiple in progress analyzer commands, support
+   associated AC state for execute method, move reload tune logic for ACSwap to the execute command
+-- rna: Support for rna unified2 logging
+-- stream_tcp: clear consecutive small segs count upon non-small segs only
+
+19/08/21 - build 259
 
 -- analyzer_command: Import into snort namespace and add the ability to retrieve the DAQ instance
    from an Analyzer
index 9bc35b425b05e5ff89ee32d9ca68d5dc404431c9..fecf85ad8c96750ad4a4748afe422cd9306e2d86 100644 (file)
@@ -782,7 +782,7 @@ asciidoc.install(2);
 <div class="literalblock">\r
 <div class="content">\r
 <pre><code> ,,_     -*&gt; Snort++ &lt;*-\r
-o"  )~   Version 3.0.0 (Build 259)\r
+o"  )~   Version 3.0.0 (Build 260)\r
  ''''    By Martin Roesch &amp; The Snort Team\r
          http://snort.org/contact#team\r
          Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.\r
@@ -7740,7 +7740,7 @@ string <strong>host_cache.dump_file</strong>: file name to dump host cache on sh
 </li>\r
 <li>\r
 <p>\r
-int <strong>host_cache.size</strong>: size of host cache { 1:max32 }\r
+int <strong>host_cache.memcap</strong> = 8388608: maximum host cache size in bytes { 512:max32 }\r
 </p>\r
 </li>\r
 </ul></div>\r
@@ -12469,6 +12469,11 @@ int <strong>finalize_packet.modify.pdu</strong> = 0: Modify verdict in finalize
 enum <strong>finalize_packet.modify.verdict</strong>: output format for stats { pass | block | replace | whitelist | blacklist | ignore | retry }\r
 </p>\r
 </li>\r
+<li>\r
+<p>\r
+bool <strong>finalize_packet.switch_to_wizard</strong> = false: switch to wizard on first finalize event\r
+</p>\r
+</li>\r
 </ul></div>\r
 <div class="paragraph"><p>Peg counts:</p></div>\r
 <div class="ulist"><ul>\r
@@ -15106,6 +15111,11 @@ string <strong>rna.fingerprint_dir</strong>: directory to fingerprint patterns
 string <strong>rna.custom_fingerprint_dir</strong>: directory to custom fingerprint patterns\r
 </p>\r
 </li>\r
+<li>\r
+<p>\r
+bool <strong>rna.enable_logger</strong> = true: enable or disable writing discovery events into logger\r
+</p>\r
+</li>\r
 </ul></div>\r
 <div class="paragraph"><p>Peg counts:</p></div>\r
 <div class="ulist"><ul>\r
@@ -15199,6 +15209,28 @@ string <strong>rna.custom_fingerprint_dir</strong>: directory to custom fingerpr
 </ul></div>\r
 </div>\r
 <div class="sect2">\r
+<h3 id="_rt_global">rt_global</h3>\r
+<div class="paragraph"><p>What: The regression test global inspector is used for regression tests specific to a global inspector</p></div>\r
+<div class="paragraph"><p>Type: inspector</p></div>\r
+<div class="paragraph"><p>Usage: global</p></div>\r
+<div class="paragraph"><p>Configuration:</p></div>\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+int <strong>rt_global.memcap</strong> = 2048: cap on amount of memory used\r
+</p>\r
+</li>\r
+</ul></div>\r
+<div class="paragraph"><p>Peg counts:</p></div>\r
+<div class="ulist"><ul>\r
+<li>\r
+<p>\r
+<strong>rt_global.packets</strong>: total packets (sum)\r
+</p>\r
+</li>\r
+</ul></div>\r
+</div>\r
+<div class="sect2">\r
 <h3 id="_rt_packet">rt_packet</h3>\r
 <div class="paragraph"><p>What: The regression test packet inspector is used when special packet handling is required for a reg test</p></div>\r
 <div class="paragraph"><p>Type: inspector</p></div>\r
@@ -15235,14 +15267,6 @@ bool <strong>rt_packet.test_daq_retry</strong> = true: test daq packet retry fea
 <div class="paragraph"><p>What: The regression test service inspector is used by regression tests that require custom service inspector support.</p></div>\r
 <div class="paragraph"><p>Type: inspector</p></div>\r
 <div class="paragraph"><p>Usage: context</p></div>\r
-<div class="paragraph"><p>Configuration:</p></div>\r
-<div class="ulist"><ul>\r
-<li>\r
-<p>\r
-int <strong>rt_service.memcap</strong>: cap on amount of memory used\r
-</p>\r
-</li>\r
-</ul></div>\r
 <div class="paragraph"><p>Peg counts:</p></div>\r
 <div class="ulist"><ul>\r
 <li>\r
@@ -25552,6 +25576,11 @@ int <strong>finalize_packet.start_pdu</strong> = 0: Register to receive finalize
 </li>\r
 <li>\r
 <p>\r
+bool <strong>finalize_packet.switch_to_wizard</strong> = false: switch to wizard on first finalize event\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 string <strong>flags.~mask_flags</strong>: these flags are don&#8217;t cares\r
 </p>\r
 </li>\r
@@ -25867,7 +25896,7 @@ string <strong>host_cache.dump_file</strong>: file name to dump host cache on sh
 </li>\r
 <li>\r
 <p>\r
-int <strong>host_cache.size</strong>: size of host cache { 1:max32 }\r
+int <strong>host_cache.memcap</strong> = 8388608: maximum host cache size in bytes { 512:max32 }\r
 </p>\r
 </li>\r
 <li>\r
@@ -27617,6 +27646,11 @@ string <strong>rna.custom_fingerprint_dir</strong>: directory to custom fingerpr
 </li>\r
 <li>\r
 <p>\r
+bool <strong>rna.enable_logger</strong> = true: enable or disable writing discovery events into logger\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 string <strong>rna.fingerprint_dir</strong>: directory to fingerprint patterns\r
 </p>\r
 </li>\r
@@ -27647,12 +27681,12 @@ string <strong>rpc.~ver</strong>: version number or * for any
 </li>\r
 <li>\r
 <p>\r
-bool <strong>rt_packet.test_daq_retry</strong> = true: test daq packet retry feature\r
+int <strong>rt_global.memcap</strong> = 2048: cap on amount of memory used\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-int <strong>rt_service.memcap</strong>: cap on amount of memory used\r
+bool <strong>rt_packet.test_daq_retry</strong> = true: test daq packet retry feature\r
 </p>\r
 </li>\r
 <li>\r
@@ -31112,6 +31146,11 @@ interval <strong>wscale.~range</strong>: check if TCP window scale is in given r
 </li>\r
 <li>\r
 <p>\r
+<strong>rt_global.packets</strong>: total packets (sum)\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 <strong>rt_packet.packets</strong>: total packets (sum)\r
 </p>\r
 </li>\r
@@ -36283,6 +36322,11 @@ deleted -&gt; unified2: 'vlan_event_types'</code></pre>
 </li>\r
 <li>\r
 <p>\r
+<strong>rt_global</strong> (inspector): The regression test global inspector is used for regression tests specific to a global inspector\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 <strong>rt_packet</strong> (inspector): The regression test packet inspector is used when special packet handling is required for a reg test\r
 </p>\r
 </li>\r
@@ -36953,6 +36997,11 @@ deleted -&gt; unified2: 'vlan_event_types'</code></pre>
 </li>\r
 <li>\r
 <p>\r
+<strong>inspector::rt_global</strong>: The regression test global inspector is used for regression tests specific to a global inspector\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
 <strong>inspector::rt_packet</strong>: The regression test packet inspector is used when special packet handling is required for a reg test\r
 </p>\r
 </li>\r
@@ -37896,7 +37945,7 @@ Adding/removing stream_* inspectors if stream was already configured
 <div id="footer">\r
 <div id="footer-text">\r
 Last updated\r
- 2019-08-21 14:26:59 EDT\r
+ 2019-08-28 09:32:47 EDT\r
 </div>\r
 </div>\r
 </body>\r
index 50482bdc739cd71a0e0d203e3aef8b94f2d158c8..84e567d354a52c858a663c1b0bdf0bc4a8c7b693 100644 (file)
Binary files a/doc/snort_manual.pdf and b/doc/snort_manual.pdf differ
index b28fbf6d0820d87565e146146ba17e069d2a73d4..fcd3ae2adb3dfc08f08edbd29b3cdb92e56fec14 100644 (file)
@@ -175,21 +175,22 @@ Table of Contents
     9.32. reputation
     9.33. rna
     9.34. rpc_decode
-    9.35. rt_packet
-    9.36. rt_service
-    9.37. sip
-    9.38. smtp
-    9.39. ssh
-    9.40. ssl
-    9.41. stream
-    9.42. stream_file
-    9.43. stream_icmp
-    9.44. stream_ip
-    9.45. stream_tcp
-    9.46. stream_udp
-    9.47. stream_user
-    9.48. telnet
-    9.49. wizard
+    9.35. rt_global
+    9.36. rt_packet
+    9.37. rt_service
+    9.38. sip
+    9.39. smtp
+    9.40. ssh
+    9.41. ssl
+    9.42. stream
+    9.43. stream_file
+    9.44. stream_icmp
+    9.45. stream_ip
+    9.46. stream_tcp
+    9.47. stream_udp
+    9.48. stream_user
+    9.49. telnet
+    9.50. wizard
 
 10. IPS Action Modules
 
@@ -391,7 +392,7 @@ Table of Contents
 Snorty
 
  ,,_     -*> Snort++ <*-
-o"  )~   Version 3.0.0 (Build 259)
+o"  )~   Version 3.0.0 (Build 260)
  ''''    By Martin Roesch & The Snort Team
          http://snort.org/contact#team
          Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.
@@ -5716,7 +5717,8 @@ Configuration:
 
   * string host_cache.dump_file: file name to dump host cache on
     shutdown; won’t dump by default
-  * int host_cache.size: size of host cache { 1:max32 }
+  * int host_cache.memcap = 8388608: maximum host cache size in bytes
+    { 512:max32 }
 
 Commands:
 
@@ -7972,6 +7974,8 @@ Configuration:
     packet for this PDU { 0:max32 }
   * enum finalize_packet.modify.verdict: output format for stats {
     pass | block | replace | whitelist | blacklist | ignore | retry }
+  * bool finalize_packet.switch_to_wizard = false: switch to wizard
+    on first finalize event
 
 Peg counts:
 
@@ -8968,6 +8972,8 @@ Configuration:
   * string rna.fingerprint_dir: directory to fingerprint patterns
   * string rna.custom_fingerprint_dir: directory to custom
     fingerprint patterns
+  * bool rna.enable_logger = true: enable or disable writing
+    discovery events into logger
 
 Peg counts:
 
@@ -9008,7 +9014,27 @@ Peg counts:
     sessions (max)
 
 
-9.35. rt_packet
+9.35. rt_global
+
+--------------
+
+What: The regression test global inspector is used for regression
+tests specific to a global inspector
+
+Type: inspector
+
+Usage: global
+
+Configuration:
+
+  * int rt_global.memcap = 2048: cap on amount of memory used
+
+Peg counts:
+
+  * rt_global.packets: total packets (sum)
+
+
+9.36. rt_packet
 
 --------------
 
@@ -9031,7 +9057,7 @@ Peg counts:
   * rt_packet.retry_packets: total retried packets received (sum)
 
 
-9.36. rt_service
+9.37. rt_service
 
 --------------
 
@@ -9042,10 +9068,6 @@ Type: inspector
 
 Usage: context
 
-Configuration:
-
-  * int rt_service.memcap: cap on amount of memory used
-
 Peg counts:
 
   * rt_service.packets: total packets (sum)
@@ -9054,7 +9076,7 @@ Peg counts:
   * rt_service.search_requests: total splitter search requests (sum)
 
 
-9.37. sip
+9.38. sip
 
 --------------
 
@@ -9153,7 +9175,7 @@ Peg counts:
   * sip.code_9xx: 9xx (sum)
 
 
-9.38. smtp
+9.39. smtp
 
 --------------
 
@@ -9255,7 +9277,7 @@ Peg counts:
   * smtp.non_encoded_bytes: total non-encoded extracted bytes (sum)
 
 
-9.39. ssh
+9.40. ssh
 
 --------------
 
@@ -9292,7 +9314,7 @@ Peg counts:
     (max)
 
 
-9.40. ssl
+9.41. ssl
 
 --------------
 
@@ -9341,7 +9363,7 @@ Peg counts:
     (max)
 
 
-9.41. stream
+9.42. stream
 
 --------------
 
@@ -9406,7 +9428,7 @@ Peg counts:
   * stream.ha_prunes: sessions pruned by high availability sync (sum)
 
 
-9.42. stream_file
+9.43. stream_file
 
 --------------
 
@@ -9421,7 +9443,7 @@ Configuration:
   * bool stream_file.upload = false: indicate file transfer direction
 
 
-9.43. stream_icmp
+9.44. stream_icmp
 
 --------------
 
@@ -9446,7 +9468,7 @@ Peg counts:
   * stream_icmp.prunes: icmp session prunes (sum)
 
 
-9.44. stream_ip
+9.45. stream_ip
 
 --------------
 
@@ -9517,7 +9539,7 @@ Peg counts:
   * stream_ip.fragmented_bytes: total fragmented bytes (sum)
 
 
-9.45. stream_tcp
+9.46. stream_tcp
 
 --------------
 
@@ -9663,7 +9685,7 @@ Peg counts:
   * stream_tcp.partial_flush_bytes: partial flush total bytes (sum)
 
 
-9.46. stream_udp
+9.47. stream_udp
 
 --------------
 
@@ -9689,7 +9711,7 @@ Peg counts:
   * stream_udp.ignored: udp packets ignored (sum)
 
 
-9.47. stream_user
+9.48. stream_user
 
 --------------
 
@@ -9707,7 +9729,7 @@ Configuration:
     0:max53 }
 
 
-9.48. telnet
+9.49. telnet
 
 --------------
 
@@ -9742,7 +9764,7 @@ Peg counts:
     sessions (max)
 
 
-9.49. wizard
+9.50. wizard
 
 --------------
 
@@ -14667,6 +14689,8 @@ these libraries see the Getting Started section of the manual.
     pass | block | replace | whitelist | blacklist | ignore | retry }
   * int finalize_packet.start_pdu = 0: Register to receive finalize
     packet event starting on this PDU { 0:max32 }
+  * bool finalize_packet.switch_to_wizard = false: switch to wizard
+    on first finalize event
   * string flags.~mask_flags: these flags are don’t cares
   * string flags.~test_flags: these flags are tested
   * string flowbits.~arg1: bits or group
@@ -14764,7 +14788,8 @@ these libraries see the Getting Started section of the manual.
     { 65535 }
   * string host_cache.dump_file: file name to dump host cache on
     shutdown; won’t dump by default
-  * int host_cache.size: size of host cache { 1:max32 }
+  * int host_cache.memcap = 8388608: maximum host cache size in bytes
+    { 512:max32 }
   * enum hosts[].frag_policy: defragmentation policy { first | linux
     | bsd | bsd_right | last | windows | solaris }
   * addr hosts[].ip = 0.0.0.0/32: hosts address / CIDR
@@ -15390,6 +15415,8 @@ these libraries see the Getting Started section of the manual.
     contents with rewrite rules
   * string rna.custom_fingerprint_dir: directory to custom
     fingerprint patterns
+  * bool rna.enable_logger = true: enable or disable writing
+    discovery events into logger
   * string rna.fingerprint_dir: directory to fingerprint patterns
   * string rna.rna_conf_path: path to RNA configuration
   * string rna.rna_util_lib_path: path to library for utilities such
@@ -15397,9 +15424,9 @@ these libraries see the Getting Started section of the manual.
   * int rpc.~app: application number { 0:max32 }
   * string rpc.~proc: procedure number or * for any
   * string rpc.~ver: version number or * for any
+  * int rt_global.memcap = 2048: cap on amount of memory used
   * bool rt_packet.test_daq_retry = true: test daq packet retry
     feature
-  * int rt_service.memcap: cap on amount of memory used
   * enum rule_state.([0-9]+):([0-9]+)[].action = inherit: apply
     action if rule matches or inherit from rule definition { log |
     pass | alert | drop | block | reset | inherit }
@@ -16468,6 +16495,7 @@ these libraries see the Getting Started section of the manual.
   * rpc_decode.max_concurrent_sessions: maximum concurrent rpc
     sessions (max)
   * rpc_decode.total_packets: total packets (sum)
+  * rt_global.packets: total packets (sum)
   * rt_packet.packets: total packets (sum)
   * rt_packet.retry_packets: total retried packets received (sum)
   * rt_packet.retry_requests: total retry packets requested (sum)
@@ -18026,6 +18054,8 @@ deleted -> unified2: 'vlan_event_types'
     fingerprinting (experimental)
   * rpc (ips_option): rule option to check SUNRPC CALL parameters
   * rpc_decode (inspector): RPC inspector
+  * rt_global (inspector): The regression test global inspector is
+    used for regression tests specific to a global inspector
   * rt_packet (inspector): The regression test packet inspector is
     used when special packet handling is required for a reg test
   * rt_service (inspector): The regression test service inspector is
@@ -18194,6 +18224,8 @@ deleted -> unified2: 'vlan_event_types'
   * inspector::rna: Real-time network awareness and OS fingerprinting
     (experimental)
   * inspector::rpc_decode: RPC inspector
+  * inspector::rt_global: The regression test global inspector is
+    used for regression tests specific to a global inspector
   * inspector::rt_packet: The regression test packet inspector is
     used when special packet handling is required for a reg test
   * inspector::rt_service: The regression test service inspector is
index 1b2ff1dc49262b63338ed7afec1278ded60201ce..17f745bb15d0dc1d973bf1fdc014436e57dbfc98 100644 (file)
@@ -12,7 +12,7 @@
 //                                               //
 //-----------------------------------------------//
 
-#define BUILD_NUMBER 259
+#define BUILD_NUMBER 260
 
 #ifndef EXTRABUILD
 #define BUILD STRINGIFY_MX(BUILD_NUMBER)