Subject: ipfilter problem
To: None <current-users@NetBSD.ORG>
From: Sean Brandt <sean@fuzzymagic.com>
List: current-users
Date: 03/18/1998 19:20:23
I'm having problem's with ipfilter. The last sup and build was 3/10/98
Here's what I see.
{root}@magic# cat tmp.filt
~
pass in quick on ppp0 from any to any
pass out quick on ppp0 from any to any
{root}@magic# ipfstat -ioh
~
empty list for ipfilter(out)
empty list for ipfilter(in)
{root}@magic# ipf -D
~
{root}@magic# ipf -E
~
{root}@magic# ipf -v -f tmp
~
tmp       tmp.filt

{root}@magic# ipf -v -f tmp.filt
~
[pass in quick on ppp0 from any to any]
pass in quick on ppp0(!) from any to any
ioctl(SIOCADDFR): Invalid argument   <<<<<<<<<<<<<<<<Error here
[pass out quick on ppp0 from any to any]
pass out quick on ppp0(!) from any to any
ioctl(SIOCADDFR): Invalid argument  <<<<<<<<<<<<<<<<Error here


{root}@magic# ifconfig -a
~
ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:20:af:e6:a1:78
        media: 10baseT/UTP
        inet 207.97.117.33 netmask 0xfffffff0 broadcast 207.97.117.47
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 207.97.117.33 --> 207.22.81.1 netmask 0xfffffff0
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296


Any ideas?

--
Sean Brandt
mailto:sean@fuzzymagic.com
http://www.fuzzymagic.com
PGP Fingerprint:566E 9209 74C7 C384 1163  2612 BDB5 2E8A 6EF6 371B