Date: Sun, 27 Sep 1998 21:34:31 -0700 (PDT) From: Jonathan Hanna <jh@cr1003333-a.crdva1.bc.wave.home.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8067: ipfw flags size change causes ICMP filter to fail Message-ID: <199809280434.VAA01315@cr1003333-a.crdva1.bc.wave.home.com>
next in thread | raw e-mail | index | archive | help
>Number: 8067
>Category: bin
>Synopsis: ipfw flags size change causes ICMP filter to fail
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 27 21:40:00 PDT 1998
>Last-Modified:
>Originator: Jonathan Hanna
>Organization:
>Release: FreeBSD 3.0-BETA i386
>Environment:
Current as of ip_fw.h 1.35, I think.
>Description:
"fill_icmptypes", uses the old size for fw_flg, and forgets IP_FW_F_ICMPBIT.
>How-To-Repeat:
# ipfw add deny icmp from any to any in via de0 icmptype 5
00000 deny icmp from any to any in recv de0
>Fix:
--- ipfw.c.save Sun Sep 27 20:38:01 1998
+++ ipfw.c Sun Sep 27 21:19:05 1998
@@ -747,7 +747,7 @@
fill_icmptypes(types, vp, fw_flg)
u_long *types;
char **vp;
- u_short *fw_flg;
+ u_int *fw_flg;
{
char *c = *vp;
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809280434.VAA01315>
