From bb4df05cc24618dddb018d130d3cef0546366616 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Sat, 1 Oct 2011 12:04:42 +0200 Subject: [PATCH] Improve logcheck for iptables --- debian/logcheck/evolix_iptables | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/logcheck/evolix_iptables b/debian/logcheck/evolix_iptables index 04a63ab..bc6e4d4 100644 --- a/debian/logcheck/evolix_iptables +++ b/debian/logcheck/evolix_iptables @@ -1,2 +1,3 @@ -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: \[IPTABLES DROP\] : IN=eth0 OUT= MAC=.* +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: \[IPTABLES DROP\] : IN=eth[0-9] OUT= MAC=.* ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: \[IPTABLES DROP\] : IN=.*DPT=22 +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: \[[.0-9].*\] \[IPTABLES DROP\] : IN=eth0 OUT= MAC=.*