Bug#289246: [Logcheck-devel] Bug#289246: logcheck-database: Rules for dhcp don't work with vlan names like eth0.3

maximilian attems debian at sternwelten.at
Sat Jan 8 01:03:32 UTC 2005


On Sat, 08 Jan 2005, Jose Calhariz wrote:

> When using vlans and dhcp, if is used the convention of naming vlans
> like eth0.3 or eth0.03, then filters don't work, because it expect
> that the interface name don't have a dot.
> 
> Follow some rules that need to be added to work with vlans.
> 
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd(-2.2.x|): (BOOTREQUEST|DHCPDISCOVER) from [:[:alnum:]]+ (\([:._[:alnum:]-]+\) |)via [[:alnum:]]+.[[:alnum:]]+$
..
please don't break current rules, you didn't supply any log messages
but from what i read from your intro
s/[[:alnum:]]+.[[:alnum:]]+/[.[:alnum:]]+/g at the end of your rules
should help. 
please test that and report also some loglines one can poke on.

thanks maks





More information about the Logcheck-devel mailing list