8.1: IPFILTER (ipf) ipmon not logging?
Lasse K H
lapec at soul.lnet.fi
Sat Jul 24 12:38:19 UTC 2010
Hello,
I can't get ipmon(8) working with FreeBSD 8.1.
It does not log anything with my Ultra 10.
The same setup works fine with FreeBSD 6.4.
How to solve this problem? Thank you.
ipmon is running:
root 25885 0.0 0.5 7064 2424 ?? Ss 9:49AM 0:00.70 /sbin/ipmon -Ds
/etc/ipf.rules:
pass in quick on lo0 all
pass out quick on lo0 all
pass in log first quick on hme0 proto tcp from any to any port = 22 flags S keep state
pass in quick on hme0 all
pass out quick on hme0 all
ipfstat -hoi:
0 pass out quick on lo0 all
65 pass out quick on hme0 all
0 pass in quick on lo0 all
1 pass in log first quick on hme0 proto tcp from any to any port = ssh flags S/FSRPAU keep state
74 pass in quick on hme0 all
/etc/syslog.conf:
*.* /var/log/all.log
/sbin/ifconfig hme0:
hme0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
ether 08:00:20:b0:5c:15
inet 172.16.0.70 netmask 0xffffff00 broadcast 172.16.0.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
uname -a:
FreeBSD tlhNEW.kareltek.fi 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 06:53:42 UTC 2010 root at araz.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
More information about the freebsd-sparc64
mailing list