HomeFreeBSD

pfctl: fix incorrect optimization

Description

pfctl: fix incorrect optimization

In the non-optimized case, an address list containing "any" (ie. { any 10.0.0.1 })
should be folded in the parser to any, not to 10.0.0.1. How long this bug has
been with us is unclear.
ok guenther mcbride

Obtained from: OpenBSD, deraadt <deraadt@openbsd.org>, e3b4bc25a0
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D46580

Details

Provenance
kpAuthored on Aug 29 2024, 10:02 AM
Differential Revision
D46580: pfctl: fix incorrect optimization
Parents
rGe80f2a1087a3: pf.conf.5: document received-on
Branches
Unknown
Tags
Unknown