Package: fwlogwatch
Version: 1.0-4
Severity: normal
A white space is appended to chain name strings when parsing netfilter
logs (generated trought ULOG with syslogemu).
When using exclude/include options, specified chain name strings does
never match.
To fix this behavior, I suggest the following patch on 'netfilter.l' :
@@ -117,7 +117,7 @@
if(input[i] == 'I') {
if (input[i+1] == 'N') {
if (input[i+2] == '=') {
- input[i] = '\0';
+ input[i-1] = '\0';
xstrncpy(opt.line->chainlabel, input, SHORTLEN);
xstrncpy(opt.line->interface, input+i+3, SHORTLEN);
break;
... happy new year 2007 :-) !
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]