Hi Darren,
IPFilter 4.1.11 breaks on fedora core 2. version 4.1.10 works fine
though.
(cd Linux-2.4.22-1.2199.nptl-i686; unset MAKEFLAGS; make -C
"/lib/modules/2.4.22-1.2199.nptl/build" SUBDIRS="`pwd`"
TOP="`pwd`/../.." CPUDIR="Linux-2.4.22-1.2199.nptl-i686"
EXTRA_CFLAGS="-DLINUX=20422 -I.. -I`pwd`/.. -I`pwd`/../..
-DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_LOG -O2" OBJ= modules); \
fi
make[2]: Entering directory `/usr/local/src/ip_fil4.1.11/Linux'
cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Wno-trigraphs
-fno-strict-aliasing -fno-common -DLINUX=20422 -I/usr/src/linux/asm/
-D_BSD_SOURCE=1 -DIPFILTER_LKM -Di386 -D__i386__ -DINET -D__KERNEL__
-DCONFIG_NETFILTER -DMODULE -march=i686 -nostdinc -I..
-I/usr/src/linux-2.4/include/ -iwithprefix include -I. -DIPFILTER_LOOKUP
-DIPFILTER_SCAN -DIPFILTER_LOG -DMODVERSIONS -D__GENKSYMS__
-DEXPORT_SYMTAB -c ../linux.c -o Linux-2.4.22-1.2199.nptl-i686/linux.o
../linux.c:143: error: syntax error before "poll_table"
../linux.c: In function `ipf_poll':
../linux.c:144: error: number of arguments doesn't match prototype
../linux.c:29: error: prototype declaration
../linux.c:150: error: `fp' undeclared (first use in this function)
../linux.c:150: error: (Each undeclared identifier is reported only once
../linux.c:150: error: for each function it appears in.)
../linux.c:155: warning: implicit declaration of function `poll_wait'
../linux.c:155: error: `wait' undeclared (first use in this function)
../linux.c:164: error: `POLLIN' undeclared (first use in this function)
../linux.c:164: error: `POLLRDNORM' undeclared (first use in this
function)
../linux.c: At top level:
../linux.c:206: warning: `dh' defined but not used
make[2]: *** [Linux-2.4.22-1.2199.nptl-i686/linux.o] Error 1
make[2]: Leaving directory `/usr/local/src/ip_fil4.1.11/Linux'
make[1]: *** [ipflkm] Error 2
make[1]: Leaving directory `/usr/local/src/ip_fil4.1.11/Linux'
[EMAIL PROTECTED] ip_fil4.1.11]#
On Sun, 2006-03-19 at 09:07 +1100, Darren Reed wrote:
> This release of IPFilter comes after the code base has been covered
> by Coverity scans via both FreeBSD and NetBSD. This picked up a whole
> range of "bugs", some of which were quite deliberate choices at the
> time - like not free'ing up malloc'd space when returning from a
> function in a program that runs and exist. Anyhow, the good news
> is that the code has been through that already.
>
> There are two important changes with this release.
>
> The first is I have added in poll(2) support for the device driver
> on FreeBSD, NetBSD, Solaris and Linux. ipmon hasn't yet been