[Logcheck-devel] Bug#186372: logcheck - small regexp updates for dhcp and nfs

maks attems debian at sternwelten.at
Sat Jun 12 10:07:29 UTC 2004


hello bastian,

On Wed, 26 Mar 2003, Bastian Blank wrote:

> patch update, forget to support hostnames in dhcp rules.
> 

added your dhcp rules update to logcheck cvs at alioth.
tested them on my machine, patch was fine. :)


> diff -urN logcheck-1.2.12.orig/rulefiles/linux/ignore.d.server/nfs logcheck-1.2.12/rulefiles/linux/ignore.d.server/nfs
> --- logcheck-1.2.12.orig/rulefiles/linux/ignore.d.server/nfs	1970-01-01 01:00:00.000000000 +0100
> +++ logcheck-1.2.12/rulefiles/linux/ignore.d.server/nfs	2003-03-26 16:56:21.000000000 +0100
> @@ -0,0 +1 @@
> +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ rpc\.mountd: authenticated mount request from [^[:space:]]+ for

could you update the nfs rule:
*) match the hole line ended with '$'
   (we try to match the complete log line, minus trailing space)
*) if 'from [^[:space:]]+' is a hostname please use [._[:alnum:]-]+,
   it it's an ip use at least [.0-9]{7,15}

thanks for an tested update of the nfs rule, 
looking forward to your response. 
a+ maks






More information about the Logcheck-devel mailing list