firewall on FreeBSD

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Jun 26 03:18:44 GMT 2005


On 2005-06-26 00:40, Alex Zbyslaw <xfb52 at dial.pipex.com> wrote:
> Paul Schmehl wrote:
> >pf on freebsd does support the "quick" keyword.  The "default"
> >firewall, ipfw, does not.
>
> This makes no sense to me.  The two firewalls work very differently.
>
> In pf, each rule is always processed on every packet and the last rule
> matching determines the action.  "quick" terminates the rule matching
> and forces the "quick" rule to be, in effect, the final rule (assuming
> the packet matched it).
>
> ipfw does not match every rule for every packet, rather is processes
> down the rules until the packet matches one with a terminating action
> such as "accept" or "deny".  No "quick" keyword is needed.

You describe very nicely the way rules are matched by two of the three
different firewalls available on FreeBSD.  The description, being very
correct, *does* make sense.

Why do you say that ``This makes no sense to you''?



More information about the freebsd-questions mailing list