Subject: Re: ipfilter and sun3
To: Martin Husemann <martin@duskware.de>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 05/11/2003 10:50:57
Martin Husemann said:

>On Sat, May 10, 2003 at 08:46:47AM -0600, Rick Kelly wrote:
>
>> I added it to my config file:
>> 
>> pseudo-device   ipfilter                # ip filter
>> options         IPFILTER_LOG
>> 
>> I also added from MAKEDEV for a recent -current:
>> 
>> crw-------  1 root  wheel  37, 3 May  9 19:22 /dev/ipauth
>> crw-------  1 root  wheel  37, 0 May  9 19:22 /dev/ipl
>> crw-------  1 root  wheel  37, 1 May  9 19:22 /dev/ipnat
>> crw-------  1 root  wheel  37, 2 May  9 19:22 /dev/ipstate

>>From sys/arch/sun3/sun3/conf.c:

>You need to add
>
>  #include "ipfilter.h"
>
>and
>
>  cdev_ipf_init(NIPFILTER,ipl),

That worked perfectly. Maybe this should be in 1.6.2?

The other problem I've seen is with /etc/rc.d/sysdb.

molerat# ./sysdb start
Building databases...
kvm_mkdb: machdep.booted_kernel: the value is not available: No such file or directory

molerat# sysctl -n machdep.booted_kernel
machdep.booted_kernel: the value is not available

This, of course, works:

molerat# kvm_mkdb /netbsd

Looks like a shell problem with the sysdb script.

-- 
Rick Kelly  rmk@rmkhome.com  www.rmkhome.com