HomeFreeBSD

pf: allow 'allow-opts' to be used on match rules

Description

pf: allow 'allow-opts' to be used on match rules

Allow the 'allow-opts' setting to be set on match rules.
The intended use case is to simplify dealing with traffic where IP options are
expected (e.g. IGMP), without allowing them on other traffic, or making the
ruleset more complex.

Add a test case confirming this works as expected.

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

Details

Provenance
kpAuthored on Apr 3 2025, 12:58 PM
Parents
rG86db734ae292: stat(2): add st_bsdflags field
Branches
Unknown
Tags
Unknown