> -----Original Message-----
> From: Guido van Rooij [mailto:[EMAIL PROTECTED]]

> On Wed, Jan 29, 2003 at 12:33:34PM -0600, Chris Johnson wrote:
> > This looks to me to either be a bug in how v3.4.29 handle the
> "count" action
> > in a group situation, or the BNF is wrong in the man page.
> >
> > This rule set works:
> > pass  in quick on xl0 all head 200
> > count in            from 192.168.0.0/16      to any
> >
> > This rule set fails with the following error message:
> > pass  in quick on xl0 all head 200
> > count in            from 192.168.0.0/16      to any group 200
> >
>
> pass/block and counting are completely different. I do not think
> you can mix groups of those different things.
> Groups for counting and groups for 'normal' rules have no relationship.
>
> -Guido

That does have some logic to it.  So are you saying I can write something like
this:

pass in quick on xl0 all head 200
block in from 192.168.0.0/16 to any group 200

count in quick on xl0 all head 250
count in from 192.169.0.0/16 to any group 250

On the one hand, that makes sense.  On the other hand, I would be hard pressed
to tell anyone what the "count group" 250 does.  Does it count packets from
the 192.168 network twice?

It appears that the ipf(5) man page should be corrected to not imply the
ability to mix all actions (block|pass|log|count|skip|auth|call) freely within
the syntax.

Thanks,
..chris


Reply via email to