Re: Bug in 1.2.13 firewall?

Jos Vos (jos@xos.nl)
Thu, 13 Jun 1996 16:14:53 +0200 (MET DST)


> 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