Subject: Re: ipf not logging
To: Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 11/28/2001 20:52:47
On Wed, Nov 28, 2001 at 12:26:13PM +0100, Volker Stolz wrote:
> Hi, I have some trouble on our U-2:
> Logged packets by ipf donīt make it into the log :-/
> # ipfstat 
>  IPv6 packets:          in 0 out 2
>  input packets:         blocked 0 passed 1087 nomatch 953 counted 0 short 4
> output packets:         blocked 0 passed 1296 nomatch 60 counted 0 short 0
>  input packets logged:  blocked 0 passed 12
> ********************************************
> 
> ipmon is running as /usr/sbin/ipmon -a /var/log/ipf and
> creates an empty file on startup if it doesnīt exist.
> 
> However, nothing arrives in the log :-(
> ipmon -F will tell me that it flushed some thousand bytes of data.
> 
> uname:
> NetBSD menelaos 1.5Y NetBSD 1.5Y (MENELAOS) #1: Wed Nov 28 11:57:45 CET 2001     root@menelaos:/usr/src/sys/arch/sparc64/compile/MENELAOS sparc64
> dmesg snippet:
> IP Filter: v3.4.16 initialized.  Default = pass all, Logging = enabled

Did you compile your kernel with 'options IPFILTER_LOG' ?
If you  start ipmon without options does it print something to the sceeen ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--