]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
gid: upper bound changed to match event_filter and rate_filter implementation limits
authorruss <rucombs@cisco.com>
Tue, 5 Jul 2022 16:03:22 +0000 (12:03 -0400)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Sat, 13 Aug 2022 18:39:07 +0000 (18:39 +0000)
src/ips_options/ips_gid.cc
src/main/modules.cc

index 8f9ce5ab21db7a05acc4f910d1301ce8ee0b3adf..3a4c2f700d68a31c45e23208413d6858472bc748 100644 (file)
@@ -36,7 +36,7 @@ using namespace snort;
 
 static const Parameter s_params[] =
 {
-    { "~", Parameter::PT_INT, "1:max32", nullptr,
+    { "~", Parameter::PT_INT, "1:8129", nullptr,
       "generator id" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
index 881cd202357aeb7385a7b0c6b367aef619fbb273..fd9808dd524042401d1fdf1f412254cee000524a 100644 (file)
@@ -1480,7 +1480,7 @@ bool ProcessModule::end(const char* fqn, int idx, SnortConfig* sc)
 
 static const Parameter suppress_params[] =
 {
-    { "gid", Parameter::PT_INT, "0:max32", "0",
+    { "gid", Parameter::PT_INT, "0:8129", "0",
       "rule generator ID" },
 
     { "sid", Parameter::PT_INT, "0:max32", "0",
@@ -1571,7 +1571,7 @@ bool SuppressModule::end(const char*, int idx, SnortConfig* sc)
 
 static const Parameter event_filter_params[] =
 {
-    { "gid", Parameter::PT_INT, "0:max32", "1",
+    { "gid", Parameter::PT_INT, "0:8129", "1",
       "rule generator ID" },
 
     { "sid", Parameter::PT_INT, "0:max32", "1",
@@ -1685,7 +1685,7 @@ function<const char*()> get_action_types = []()
 
 static const Parameter rate_filter_params[] =
 {
-    { "gid", Parameter::PT_INT, "0:max32", "1",
+    { "gid", Parameter::PT_INT, "0:8129", "1",
       "rule generator ID" },
 
     { "sid", Parameter::PT_INT, "0:max32", "1",