(PF) Packet filter firewall rule numbers

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Jun 24 20:41:39 GMT 2005


On 2005-06-24 13:08, fbsd_user <fbsd_user at a1poweruser.com> wrote:
> I see rule numbers in the pf.log file but can not find any way to list the
> incore rules with their internal rule numbers.
> Is there a way to list the incore PF rules with rule numbers?

	# pfctl -vv -sr

The double -v option *is* significant.

> Can a pf rule be inserted into the incore rules after or before a
> selected rule?

Not sure.  You can reload the rules *AND* keep the state information though,
so this may not be necessary.

- Giorgos



More information about the freebsd-questions mailing list