[3199] in linux-net channel archive
Re: Bug in 1.2.13 firewall?
daemon@ATHENA.MIT.EDU (Jos Vos)
Thu Jun 13 14:31:36 1996
From: Jos Vos <jos@xos.nl>
To: duxmike@iafrica.com
Date: Thu, 13 Jun 1996 16:14:53 +0200 (MET DST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <96Jun13.051647edt.106387-7187+2371@vger.rutgers.edu> from "duxmike@iafrica.com" at Jun 13, 96 09:24:33 am
> I cant add more than 16 rules to a firewall using 1.2.13. ipfw dumps core
> and ipfwadm reports no rules after adding the 16th. The rules show up
> in /proc. Anybody seen this? Could it be libc-5.2.18 + kernel 1.2.13? The
> code for ipfwadm looks ok and does the kernel code (as best as I can tell)
> so I am stumped. I would switch to 2.0 but this particular system has an ET
> card in it which does not support newer kernels nor do they provide source
> to fix the driver yourself.
The ipfwadm code was not OK, I think I forgot to return the "nread" value
somewhere. This is _long_ ago, because ipfwadm 1.2, which corrected
the bug, was released April 1995 (the bug was in 1.0 and maybe also in 1.1).
You'll see the bug when compiling with "gcc -Wall".
So, upgrade to ipfwadm version 1.2 (_not_ 2.1 !) when using Linux 1.2.13.
This version is available from ftp://ftp.xos.nl/pub/linux/ipfwadm/.
--
-- Jos Vos <jos@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204