[Logcheck-commits] Hannes von Haugwitz: i.d.s/bind: match 'network unreachable' error

Martin F. Krafft madduck at alioth.debian.org
Fri Jun 11 11:38:15 UTC 2010


Module: logcheck
Branch: lenny-backports
Commit: b5929a1f2107205ba74756d7ea2720765da11d45
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=b5929a1f2107205ba74756d7ea2720765da11d45

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Fri May 21 08:57:27 2010 +0200

i.d.s/bind: match 'network unreachable' error

closes: #582060

Signed-off-by: Hannes von Haugwitz <hannes at vonhaugwitz.com>

---

 debian/changelog                     |    2 ++
 rulefiles/linux/ignore.d.server/bind |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 338cb16..71d6673 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ logcheck (1.3.9) UNRELEASED; urgency=low
     - match more frequencies in 'Trying to associate' message
   * ignore.d.server/bind:
     - added rules to match bind's new syslog line format
+    - adjusted rule to also match 'network unreachable' error, thanks to
+      Bob Proulx (closes: #582060)
 
   [ Hanspeter Kunz ]
   * ignore.d.server/dovecot:
diff --git a/rulefiles/linux/ignore.d.server/bind b/rulefiles/linux/ignore.d.server/bind
index 8c53f96..eae5653 100644
--- a/rulefiles/linux/ignore.d.server/bind
+++ b/rulefiles/linux/ignore.d.server/bind
@@ -10,5 +10,5 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[[:digit:]]+\]: client [.:[:xdigit:]]+#[[:digit:]]+: received notify for zone '[-._[:alnum:]]+': TSIG '[-_[:alnum:]]+'$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[[:digit:]]+\]: zone [-._[:alnum:]]+/IN: notify from [.:[:xdigit:]]+#[[:digit:]]+: zone is up to date$
 ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[0-9]+\]: success resolving '[^[:space:]]+' \(in '[.[:alnum:]-]+'\?\) after (disabling EDNS|reducing the advertised EDNS UDP packet size to 512 octets)$
-^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[[:digit:]]+\]: error \((FORMERR|connection refused|unexpected RCODE (REFUSED|SERVFAIL)|host unreachable)\) resolving '[^[:space:]]+': [.:[:xdigit:]]+#[[:digit:]]+$
+^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[[:digit:]]+\]: error \((FORMERR|connection refused|unexpected RCODE (REFUSED|SERVFAIL)|(network|host) unreachable)\) resolving '[^[:space:]]+': [.:[:xdigit:]]+#[[:digit:]]+$
 ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ named\[[[:digit:]]+\]: DNS format error from [.:[:xdigit:]]+#[[:digit:]]+ resolving [^[:space:]]+( for client [.:[:xdigit:]]+#[[:digit:]]+)?: (invalid response|sideways referral)$




More information about the Logcheck-commits mailing list