Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2010 15:25:00 +0300
From:      Lasse K H <lapec@soul.lnet.fi>
To:        freebsd-sparc64@freebsd.org
Subject:   8.1: IPFILTER (ipf) ipmon not logging?
Message-ID:  <20100724122500.GA29960@soul.lnet.fi>

next in thread | raw e-mail | index | archive | help
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@araz.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  sparc64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100724122500.GA29960>