On Thu, 14 Nov 2002, Andrew J. Schorr wrote:

> I'm not sure who skimmed, but "quick" has a different meaning when
> included in a group head statement.  According to the man page for
> ipf:
>
> "If  quick  is used  with  a head rule, rule processing isn't stopped until
> it has returned from processing the group."
>
> So the quick in the head statement does not mean that it will stop
> processing right away.  Rather, it means that processing will stop
> after the group has been processed.  So the second rule above _will_
> be reached.

As I'm sure you're all dying to know (he he, I'm surprised I haven't
been banned yet), everything is working fine.  Here's my ruleset:

I start with a base:

pass in quick on hme0 proto tcp from any to any port = 80 flags S/SA head 20

which allows 'established' streams to continue (which greatly reduces
the load because there are a lot of large graphic files being
transfered), and subsequent blocking rules:

block in quick from w.x.y.z/32 to any group 20

These two work great in combination:

$ ipfstat -i | wc -l
    1207

And this adds negligible load to the server..

I want to thank everyone for their help and suggestions!  I really
appreciate it!

Reply via email to