Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 01:00:13 +0100
From:      John Murphy <jfm@blueyonder.co.uk>
To:        questions@FreeBSD.ORG
Subject:   ipf not loging (5.2.1)
Message-ID:  <b75r80d3visorpqfkpl8f6h0u2megdd2gl@4ax.com>

next in thread | raw e-mail | index | archive | help
I'm stumped.  Can't seem to get ipf/ipmon to log to /var/log/ipflog
(FreeBSD 5.2.1-Release)

In /etc/rc.conf I have:
ipfilter_enable=3D"YES"
ipfilter_program=3D"/sbin/ipf"
ipfilter_rules=3D"/etc/ipf.rules"
ipfilter_flags=3D""

ipnat_enable=3D"YES"
ipnat_program=3D"/sbin/ipnat"
ipnat_rules=3D"/etc/ipnat.rules"
ipnat_flags=3D""

ipmon_enable=3D"YES"
ipmon_program=3D"/sbin/ipmon"
ipmon_flags=3D"-D /var/log/ipflog"

The end of dmesg says:
IP Filter: v3.4.31 initialized.  Default =3D pass all, Logging =3D =
enabled

I've touched and chmoded /var/log/ipflog so it looks like:
-rw-rw-rw-  1 root  wheel  0 Apr 26 23:23 /var/log/ipflog

And I've used trafshow to see packets which should be logged but
/var/log/ipflog remains empty.  Any hints welcome.

--=20
John.



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