Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: relayd: add "pass log" and "block log" to log filter decisions per request
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
tech@openbsd.org
Date:
Sun, 08 Nov 2026 02:59:35 -0600

Download raw body.

Thread
> An unexpectedly simple diff to log all pass/block filter rules. The
> syntax is the same as in pf.conf.

I don't think it is close enough to be called "same".

In pf.conf, the ordering of ruleset parameters is highly flexible.  The
pfctl yacc grammer allows a majority of the parameters to be in any order,
and then merges them in the end.

It looks like your grammer uses simpler methods which means their order
is fixed.

Not super important.  Having them in any order is not easy.  Maybe if
the documentation compare this to pf.conf, then don't say it is "same",
but at most "somewhat similar".  If it does not mention pf.conf, then
that is easier..