Date: Sat, 11 Dec 2004 17:10:47 +0100 (CET) From: Charlie & <root@builder.jawa.at> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jim@corebsd.or.id Subject: ports/74954: [PATCH] security/fwlogwatch: [Fix broken ipfw parser on FBSD4] Message-ID: <200412111610.iBBGAlXo046160@builder.jawa.at> Resent-Message-ID: <200412111620.iBBGKPIh095888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74954 >Category: ports >Synopsis: [PATCH] security/fwlogwatch: [Fix broken ipfw parser on FBSD4] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 11 16:20:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 4.10-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD builder.jawa.at 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #1: Sat Oct 30 12:19:44 CEST 2004 >Description: Fix broken ipfw logfile parser on FreeBSD 4 Added file(s): - files/patch-ipfw.l Port maintainer (jim@corebsd.or.id) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- fwlogwatch-1.0_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/Makefile /usr/ports/security/fwlogwatch.update/Makefile --- /usr/ports/security/fwlogwatch/Makefile Tue May 25 03:09:34 2004 +++ /usr/ports/security/fwlogwatch.update/Makefile Sat Dec 11 17:07:51 2004 @@ -8,6 +8,7 @@ PORTNAME= fwlogwatch PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.kybs.de/boris/sw/ diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/files/patch-ipfw.l /usr/ports/security/fwlogwatch.update/files/patch-ipfw.l --- /usr/ports/security/fwlogwatch/files/patch-ipfw.l Thu Jan 1 01:00:00 1970 +++ /usr/ports/security/fwlogwatch.update/files/patch-ipfw.l Sat Dec 11 16:59:52 2004 @@ -0,0 +1,11 @@ +--- ipfw.l.orig Sun Mar 21 10:42:55 2004 ++++ ipfw.l Sat Dec 11 16:57:23 2004 +@@ -33,7 +33,7 @@ + %% + + {MONTH}[ ]{1,2}{DIGIT}{1,2}[ ]{DIGIT}{2}:{DIGIT}{2}:{DIGIT}{2}[ ]{LOGHOST} ipfw_parse_start(ipfwtext); +-" kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; }; ++" /"?"kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; }; + "Deny" { xstrncpy(opt.line->branchname, ipfwtext, SHORTLEN); opt.parser=opt.parser|IPFW_BRANCH; }; + {PROTO} ipfw_parse_proto(ipfwtext, IPFW_OPT_NONE); + "ICMP:"{NUMBER}"."{NUMBER} ipfw_parse_proto(ipfwtext+5, IPFW_OPT_ICMP); --- fwlogwatch-1.0_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412111610.iBBGAlXo046160>