]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3399: Rule text updates
authorTom Peters (thopeter) <thopeter@cisco.com>
Fri, 29 Apr 2022 18:10:53 +0000 (18:10 +0000)
committerTom Peters (thopeter) <thopeter@cisco.com>
Fri, 29 Apr 2022 18:10:53 +0000 (18:10 +0000)
Merge in SNORT/snort3 from ~ADMAMOLE/snort3:rule_text_updates to master

Squashed commit of the following:

commit feb97b0a72375cac3e6a9b3a655ff6721a47965b
Author: Adrian Mamolea <admamole@cisco.com>
Date:   Wed Apr 27 12:35:18 2022 -0400

    doc: rule text updates

doc/reference/builtin_stubs.txt
src/service_inspectors/back_orifice/back_orifice.cc
src/service_inspectors/http2_inspect/http2_tables.cc
src/service_inspectors/http_inspect/http_tables.cc

index 7a3965f8beeaf4b20bc97a3e7e32e1c506dc30af..123cee34f198e4b06cb21843402c25f36a41159a 100644 (file)
@@ -4,19 +4,19 @@ A tagged packet was logged.
 
 105:1
 
-Back orifice traffic detected, unknown direction
+Back Orifice traffic detected, unknown direction
 
 105:2
 
-Back orifice client traffic detected
+Back Orifice client traffic detected
 
 105:3
 
-Back orifice server traffic detected
+Back Orifice server traffic detected
 
 105:4
 
-Back orifice length field >= 1024 bytes
+Back Orifice length field >= 1024 bytes
 
 106:1
 
@@ -732,7 +732,7 @@ specific unreserved characters that are exempted from triggering this alert.
 
 119:2
 
-URI is percent encoded and the result is percent encoded again. This alert can only be generated if
+URI contains double-encoded hexadecimal characters. This alert can only be generated if
 the iis_double_decode option is configured.
 
 119:3
@@ -765,7 +765,7 @@ generated if the simplify_path option is configured.
 119:9
 
 The backslash character appears in the path portion of a URI. This alert can only be generated if
-the backslash_to_slash option is configured.
+the backslash_to_slash option is configured
 
 119:10
 
@@ -1364,7 +1364,7 @@ HTTP/2 dynamic table has more than 512 entries
 
 121:15
 
-HTTP/2 push promise frame with promised stream ID already in use.
+HTTP/2 push promise frame with promised stream ID already in use
 
 121:16
 
index 6f9e1dd056119650b9f00ccace01d10e19f6b9d0..44360be2560d123bda0f6dd926047d6bde09c20b 100644 (file)
@@ -159,13 +159,13 @@ static THREAD_LOCAL SimpleStats bostats;
 #define BO_SNORT_BUFFER_ATTACK    4
 
 #define BO_TRAFFIC_DETECT_STR \
-    "Back orifice traffic detected, unknown direction"
+    "Back Orifice traffic detected, unknown direction"
 #define BO_CLIENT_TRAFFIC_DETECT_STR \
-    "Back orifice client traffic detected"
+    "Back Orifice client traffic detected"
 #define BO_SERVER_TRAFFIC_DETECT_STR \
-    "Back orifice server traffic detected"
+    "Back Orifice server traffic detected"
 #define BO_SNORT_BUFFER_ATTACK_STR \
-    "Back orifice length field >= 1024 bytes"
+    "Back Orifice length field >= 1024 bytes"
 
 static const RuleMap bo_rules[] =
 {
index 2e03b2b7513b52f3b8b8224aa1e147068fc523d3..a62339a2486a1733932583c07721d63ec5bdfc30 100644 (file)
@@ -45,7 +45,7 @@ const RuleMap Http2Module::http2_events[] =
     { EVENT_SETTINGS_FRAME_UNKN_PARAM, "unknown parameter in HTTP/2 settings frame" },
     { EVENT_FRAME_SEQUENCE, "invalid HTTP/2 frame sequence" },
     { EVENT_DYNAMIC_TABLE_OVERFLOW, "HTTP/2 dynamic table has more than 512 entries" },
-    { EVENT_INVALID_PROMISED_STREAM, "HTTP/2 push promise frame with promised stream ID already in use." },
+    { EVENT_INVALID_PROMISED_STREAM, "HTTP/2 push promise frame with promised stream ID already in use" },
     { EVENT_PADDING_LEN, "HTTP/2 padding length is bigger than frame data size" },
     { EVENT_PSEUDO_HEADER_AFTER_REGULAR_HEADER, "HTTP/2 pseudo-header after regular header" },
     { EVENT_PSEUDO_HEADER_IN_TRAILERS, "HTTP/2 pseudo-header in trailers" },
index 72e0c56d9ff3985bc54e5725cf0b30d72c25d437..f6e9018f34746b76c5b2cbf341f2c6abcedb4e67 100755 (executable)
@@ -202,15 +202,14 @@ const StrCode HttpMsgHeadShared::transfer_encoding_list[] =
 const RuleMap HttpModule::http_events[] =
 {
     { EVENT_ASCII,                      "URI has percent-encoding of an unreserved character" },
-    { EVENT_DOUBLE_DECODE,              "URI is percent encoded and the result is percent encoded "
-                                        "again" },
+    { EVENT_DOUBLE_DECODE,              "URI contains double-encoded hexadecimal characters" },
     { EVENT_U_ENCODE,                   "URI has non-standard %u-style Unicode encoding" },
     { EVENT_BARE_BYTE,                  "URI has Unicode encodings containing bytes that were not "
                                         "percent-encoded" },
     { EVENT_UTF_8,                      "URI has two-byte or three-byte UTF-8 encoding" },
     { EVENT_CODE_POINT_IN_URI,          "URI has unicode map code point encoding" },
     { EVENT_MULTI_SLASH,                "URI path contains consecutive slash characters" },
-    { EVENT_BACKSLASH_IN_URI,           "backslash character appears in the path portion of a URI."
+    { EVENT_BACKSLASH_IN_URI,           "backslash character appears in the path portion of a URI"
                                         },
     { EVENT_SELF_DIR_TRAV,              "URI path contains /./ pattern repeating the current "
                                         "directory" },
@@ -331,11 +330,11 @@ const RuleMap HttpModule::http_events[] =
     { EVENT_JS_CODE_IN_EXTERNAL,        "JavaScript code under the external script tags" },
     { EVENT_JS_SHORTENED_TAG,           "script opening tag in a short form" },
     { EVENT_JS_IDENTIFIER_OVERFLOW,     "max number of unique JavaScript identifiers reached" },
-    { EVENT_JS_BRACKET_NEST_OVERFLOW,   "JavaScript bracket nesting is over capacity" },
+    { EVENT_JS_BRACKET_NEST_OVERFLOW,   "excessive JavaScript bracket nesting" },
     { EVENT_ACCEPT_ENCODING_CONSECUTIVE_COMMAS, "Consecutive commas in HTTP Accept-Encoding "
                                         "header" },
     { EVENT_JS_PDU_MISS,                "missed PDUs during JavaScript normalization" },
-    { EVENT_JS_SCOPE_NEST_OVERFLOW,     "JavaScript scope nesting is over capacity" },
+    { EVENT_JS_SCOPE_NEST_OVERFLOW,     "excessive JavaScript scope nesting" },
     { EVENT_INVALID_SUBVERSION,         "HTTP/1 version other than 1.0 or 1.1" },
     { EVENT_VERSION_0,                  "HTTP version in start line is 0" },
     { EVENT_VERSION_HIGHER_THAN_1,      "HTTP version in start line is higher than 1" },