[Logcheck-commits] [logcheck] 01/01: ignore.d.server/snmpd: match optional port

Hannes von Haugwitz hvhaugwitz at moszumanska.debian.org
Sun Jan 22 19:36:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

hvhaugwitz pushed a commit to branch master
in repository logcheck.

commit 3673b6b1884f318be8750b3e94f6bcf15851c590
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Sun Jan 22 20:33:07 2017 +0100

    ignore.d.server/snmpd: match optional port
    
    closes: #644886
---
 debian/changelog                      | 2 ++
 rulefiles/linux/ignore.d.server/snmpd | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e0c9b02..45c5aa6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ logcheck (1.3.18) UNRELEASED; urgency=medium
       for the patch
   * ignore.d.server/openvpn:
     - match arbitrary mtu sizes (closes: #815755)
+  * ignore.d.server/snmpd:
+    - match optional port (closes: #644886)
   * debian/control:
     - add alternate dependency on cron-daemon, thanks to Felix Zielcke for the
       patch (closes: #786815)
diff --git a/rulefiles/linux/ignore.d.server/snmpd b/rulefiles/linux/ignore.d.server/snmpd
index ff1190b..80be2fb 100644
--- a/rulefiles/linux/ignore.d.server/snmpd
+++ b/rulefiles/linux/ignore.d.server/snmpd
@@ -1,2 +1,2 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from [.0-9]{7,15}$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from UDP: \[[.0-9]{7,15}\]:[0-9]{4,5}(->\[[.0-9]{7,15}\])?$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from UDP: \[[.0-9]{7,15}\]:[0-9]{4,5}(->\[[.0-9]{7,15}\](:[0-9]{1,5})?)?$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/logcheck/logcheck.git



More information about the Logcheck-commits mailing list