Subject: Upgrading IPFilter from 3.4.9 to 3.4.20
To: 'netbsd-help@netbsd.org' <netbsd-help@netbsd.org>
From: =?iso-8859-1?Q?CRESTIN_Fr=E9d=E9ric?= <fcrestin@lexsi.com>
List: netbsd-help
Date: 09/21/2001 17:34:30
Hello everyone !
I'd like to install IPFilter on NetBSD 1.5.2/i386. Version of IPF on =
this
operating system is 3.4.9, so I think it should be better to upgrade it =
to
3.4.20.
Doing such an upgrade is only possible manually (NetBSD Kernel current
collection uses always IPF 3.4.9).
I followed instructions of file "INSTALL-NetBSD" to install IPF 3.4.20 =
on
NetBSD.
---> First problem: 2nd hunk to patch "conf.c" failed. OK, I do it =
manually.
---> Second problem: when building a new kernel, arriving to making =
file
"conf.c", function "dev_type_select" called in "cdev_ipf_init" seems to =
be
unknown... Building of new kernel stops.
---> Third problem: I replaced "dev_type_select" by "dev_type_poll" in
function "cdev_ipf_init". OK, new kernel is building. I make new =
devices,
reboot, and there, IPF says there are no configured devices...
---> 4th problem: to correct last problem, I add two lines in file =
"conf.c":
#DEFINE IPFILTER 1
#DEFINE IPFILTER_LOG 1
Then I build a new kernel, reboot, and that's OK, IPF is running,
but... it displays (ipf -V):
ipf: IP Filter: v3.4.20 (264)
Kernel: IP Filter: v3.4.9 =20
Running: yes
=09
Why ipf is 3.4.20, and kernel is 3.4.9 ????
I need some help, please. Thanks in advance.
Fr=E9d=E9ric CRESTIN
- LEXSI -
email: fcrestin@lexsi.com