Re: 'scrub out log' not working?

2003-01-07 Thread Srebrenko Sehic
On Tue, Jan 07, 2003 at 04:58:50AM +0100, Daniel Hartmeier wrote:

> > Is scrub logging fully implemented? I have the following rules defined,
> 
> The log options was ignored on scrub rules just until a couple of days
> ago. With a recent -current, it works.

My -current is from 04/01/03. Shouldn't this work?

> > [ Evaluations: 1920  Packets: 1920  Bytes: 0   States: 0 ]
> > 
> > However, /var/log/pflog nor tcpdump on pflogd show anything. Perhaps
> > zero sized packets don't get logged at all?
> 
> Only the packet counters are increased. We could also count the bytes, I
> guess. But the zero byte counters you quoted don't mean the packets were
> zero sized, size is just not incremented for scrub rules.

I though so. Anyways, I'll synch my -current and try again.

// haver




Re: 'scrub out log' not working?

2003-01-06 Thread Daniel Hartmeier
On Mon, Jan 06, 2003 at 10:12:13PM +0100, Srebrenko Sehic wrote:

> Is scrub logging fully implemented? I have the following rules defined,

The log options was ignored on scrub rules just until a couple of days
ago. With a recent -current, it works.

> [ Evaluations: 1920  Packets: 1920  Bytes: 0   States: 0 ]
> 
> However, /var/log/pflog nor tcpdump on pflogd show anything. Perhaps
> zero sized packets don't get logged at all?

Only the packet counters are increased. We could also count the bytes, I
guess. But the zero byte counters you quoted don't mean the packets were
zero sized, size is just not incremented for scrub rules.

Daniel




'scrub out log' not working?

2003-01-06 Thread Srebrenko Sehic
Is scrub logging fully implemented? I have the following rules defined,

$ sudo pfctl -sr -v | head -n 5 
scrub in all fragment reassemble 
[ Evaluations: 106920Packets: 105000Bytes: 0   States: 0 ]
scrub out log all fragment reassemble 
[ Evaluations: 1920  Packets: 1920  Bytes: 0   States: 0 ]

However, /var/log/pflog nor tcpdump on pflogd show anything. Perhaps
zero sized packets don't get logged at all?

// haver