Package: logcheck-database
Version: 1.2.54
Severity: normal
Tags: patch

Logcheck fails to ignore certain lines generated by OpenVPN; the attached patch
fixes several regular expressions:

* OpenVPN does not print the full path to ifconfig or route (at least here)
* The interface name can also contain dots and does not always start with "tun"
* The startup messages now gets suppressed as well

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-vserver-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages logcheck-database depends on:
ii  debconf [debconf-2.0]        1.5.11etch2 Debian configuration management sy

logcheck-database recommends no packages.

-- debconf information:
  logcheck-database/conffile-cleanup: false
12c12
< ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
Preserving previous TUN/TAP instance: [[:alnum:]-]+$
---
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
> Preserving previous TUN/TAP instance: [[:alnum:].-]+$
34c34
< ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
/sbin/route del -net [.[:digit:]]{7,15} netmask [.[:digit:]]{7,15}$
---
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
> (/sbin/)?route del -net [.[:digit:]]{7,15} netmask [.[:digit:]]{7,15}$
39c39
< ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
/sbin/ifconfig tun[[:digit:]]+ [.[:digit:]]{7,15} pointopoint 
[.[:digit:]]{7,15} mtu [[:digit:]]+$
---
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
> (/sbin/)?ifconfig [-._[:alnum:]]+ [.[:digit:]]{7,15} pointopoint 
> [.[:digit:]]{7,15} mtu [[:digit:]]+$
53a54
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (openvpn|ovpn-[._[:alnum:]-]+)\[[0-9]+\]: 
> OpenVPN [[:digit:].]+ [[:alnum:]_-]+ (\[[A-Z]+\] )*built on [[:alpha:]]{3} 
> [[:digit:]]{2} [[:digit:]]{4}$
_______________________________________________
Logcheck-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to