]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
added rev:1; priority:3; to generated builtin rules
authorRuss Combs <rucombs@cisco.com>
Tue, 28 Oct 2014 21:41:26 +0000 (17:41 -0400)
committerRuss Combs <rucombs@cisco.com>
Tue, 28 Oct 2014 21:41:26 +0000 (17:41 -0400)
ChangeLog
src/managers/module_manager.cc

index 999696cd12dfbfae5a5e11dee628b2a9e2cf4adb..d4bae051f06406192c6503e5d4e16a4231ab6905 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@
 -- refactored inspector groups
 -- moved normal_mask out of flow into inspector policy
 -- patched around flow key issue with icmp ipproto vs pkt type
+-- changed builtin rules to rev:1; priority:3;
 
 125
 -- discovered can't catch exceptions thrown from Lua to C++; need to
index 47c9eed64320531422dc8b4fc163238c1164e2ed..b185c70d59b29defe21784d1760b0ee3645ffbe7 100644 (file)
@@ -986,6 +986,7 @@ static void make_rule(ostream& os, const Module* m, const RuleMap* r)
     os << "alert ( ";
     os << "gid:" << m->get_gid() << "; ";
     os << "sid:" << r->sid << "; ";
+    os << "rev:1; priority:3; ";
     os << "msg:\"" << "(" << m->get_name() << ") ";
     os << r->msg << "\"; )";
     os << endl;