Subject: Problems with updating ipfilter
To: None <netbsd-help@netbsd.org>
From: Frank Lingott <frank@lugh.de>
List: netbsd-help
Date: 11/15/2002 13:39:28
Hi all,
I tried to update ipfilter on my netbsd box, following the advices
in NetBSD Security Advisory 2002-024.
My system:
bash-2.04# uname -a
NetBSD ariolc 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (GENERIC) #0: Wed Oct 23
14:59:09 CEST 2002
frank@ariolc:/usr/src/sys/arch/i386/compile/GENERIC i386
bash-2.04#
From the Advisory:
Update the source files:
# cd src
# cvs update -d -P -r netbsd-1-5 dist/ipf
# cvs update -d -P -r netbsd-1-5 usr.sbin/ipf
# cvs update -d -P -r netbsd-1-5 sys/netinet
Install the updated include files:
# cd src/sys
# make includes
Rebuild the userland tools:
# cd src/usr.sbin/ipf
# make cleandir dependall
# make install
Rebuild the LKM:
# cd src/sys/lkm/netinet
# make cleandir dependall
# make install
Rebuild the kernel and reboot:
# cd src/sys/ARCH/conf
# config FILENAME
# cd ../compile/FILENAME
# make dependall install
(of course i replaced FILENAME and ARCH with my values)
This is the error message:
LKM -DMAXUSERS=32 -D_KERNEL -Di386 -c ../../../../netinet/ip_input.c
cc1: warnings being treated as errors
../../../../netinet/ip_input.c: In function `ip_sysctl':
../../../../netinet/ip_input.c:1718: warning: implicit declaration of
function `rt_timer_queue_remove_all'
*** Error code 1
Stop.
Output from ipf -V:
bash-2.04# ipf -V
ipf: IP Filter: v3.4.29 (336)
Kernel: IP Filter: v3.4.23
Running: no
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Source is updated, but i cannot build a new kernel. Did i miss something
important?
regards
frank