There have been quite a few things reported and patches provided for 4.1 since I released it, and just to make sure I have tended to them all before deciding that a 4.1.1 is ready, I'd like people to please review the latest upload:
http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz
Unloading the LKM on FreeBSD 4.9 has been panic'ing but the reason why scrolls off the screen so I haven't made an effort to track down that yet.
Cheers, Darren
I can't compile it on FreeBSD-5.2.1:
[EMAIL PROTECTED] ip_fil4.1next]# uname -a
FreeBSD ... 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Tue Mar 2 23:00:13 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SUPERKERNEL i386
....
....
yacc -d ipf_y.y
yacc: 5 shift/reduce conflicts
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' y.tab.c > /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_y.c
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' y.tab.h > /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=/usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386" /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_l.h)
sed -e 's/yy/ipf_yy/g' lexer.h > /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_l.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -c ipf_y.c -o ipf_y.o
(cd ../../tools; make "DEST=/usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386" /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_l.c)
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' -e 's/lexer.h/ipf_l.h/' lexer.c > /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386/ipf_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -I. -c ipf_l.c -o ipf_l.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../bpf_filter.c -o bpf_filter_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE ipf.o ipfcomp.o ipf_y.o ipf_l.o bpf_filter_u.o -o ipf -L. -lipf -ll
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -c ../../tools/ipfs.c -o ipfs.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE ipfs.o -o ipfs
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DSTATETOP -c ../../tools/ipfstat.c -o ipfstat.o
../../tools/ipfstat.c: In function `showfrstates':
../../tools/ipfstat.c:1317: warning: implicit declaration of function `printfraginfo'
../../tools/ipfstat.c:1292: warning: unused variable `fr'
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DSTATETOP ipfstat.o -o ipfstat -L. -lipf -lncurses -lkvm
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -c ../../tools/ipftest.c -o ipftest.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../fil.c -o fil_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_frag.c -o ip_frag_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_state.c -o ip_state_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_nat.c -o ip_nat_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_proxy.c -o ip_proxy_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_auth.c -o ip_auth_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_htable.c -o ip_htable_u.o
../../ip_htable.c:77: warning: function declaration isn't a prototype
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_lookup.c -o ip_lookup_u.o
../../ip_lookup.c: In function `iplookup_stats':
../../ip_lookup.c:441: warning: implicit declaration of function `fr_gethtablestat'
../../ip_lookup.c:428: warning: unused variable `i'
../../ip_lookup.c:428: warning: unused variable `unit'
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -I../.. -D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_COMPILED -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_pool.c -o ip_pool_u.o
../../ip_pool.c: In function `ip_pool_statistics':
../../ip_pool.c:288: error: request for member `iplo_size' in something not a structure or union
../../ip_pool.c:291: error: `cha' undeclared (first use in this function)
../../ip_pool.c:291: error: (Each undeclared identifier is reported only once
../../ip_pool.c:291: error: for each function it appears in.)
../../ip_pool.c:291: error: syntax error before "r"
*** Error code 1
Stop in /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386.
*** Error code 1
Stop in /usr/local/src/FreeBSD/firewall/ipfilter/ip_fil4.1next. [EMAIL PROTECTED] ip_fil4.1next]#
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
