[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    FreeBSD 2.1.0 woes. :-(
From:       Marc Rassbach <marcsec () milestonerdl ! com>
Date:       1996-08-23 13:33:09
[Download RAW message or body]


All I really want to do is the NAT...

On the way to NAT, I decided to try my hand at the ipf.


The rules file as I have it.

pass out on ep0 all
pass in all
pass out on ed0 all
pass in all

This is the output of stout and stderr from the command line
ipf -v -f rules.file

open device: Device not configured
[pass out on ep0 all]
pass out on ep0(!) from any to any
ioctl(SIOCADDFR): Bad file descriptor
[pass in all]
pass in from any to any
ioctl(SIOCADDFR): Bad file descriptor
[pass out on ed0 all]
pass out on ed0(!) from any to any
ioctl(SIOCADDFR): Bad file descriptor
[pass in all]
pass in from any to any
ioctl(SIOCADDFR): Bad file descriptor



The device (which I think IS configured)

crw-r--r--  1 root  wheel   59,   0 Aug 22 14:53 /dev/ipl

And for good measure the ifconfig -a

ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 172.18.1.1 netmask 0xffffff00 broadcast 172.18.1.255
	ether 00:00:f0:cf:df:9c 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ep0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX> mtu 1500
	inet 192.168.10.254 netmask 0xffffff00 broadcast 192.168.10.255
	ether 00:a0:24:89:41:6c 
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

I may just go visit the OPENbsd ppl, as someone said that now has ipf as
it's standard, and may have a good FAQ on ipf.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic