HomeFreeBSD

pfctl: fix anchor handling for nat/rdr/binat anchors

Description

pfctl: fix anchor handling for nat/rdr/binat anchors

After the refactoring in 'pfctl: fix once rules' we broke nat/rdr/binat rules.
These no longer exist on OpenBSD, so were not considered in that patch. Factor
out the common code and call it from all anchor types.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 28 2025, 2:26 PM
Parents
rGcc97633b4b7a: pfctl.8/pf.conf.5: Improve "once" bits
Branches
Unknown
Tags
Unknown