Page MenuHomeFreeBSD

pfctl: fix incorrect optimization
ClosedPublic

Authored by kp on Sep 7 2024, 9:34 AM.
Tags
None
Referenced Files
F131685114: D46580.id143076.diff
Fri, Oct 10, 8:15 AM
Unknown Object (File)
Mon, Sep 29, 12:45 AM
Unknown Object (File)
Tue, Sep 23, 2:10 PM
Unknown Object (File)
Sat, Sep 13, 2:53 AM
Unknown Object (File)
Sep 7 2025, 5:01 AM
Unknown Object (File)
Sep 1 2025, 1:29 PM
Unknown Object (File)
Aug 30 2025, 9:39 PM
Unknown Object (File)
Aug 23 2025, 6:14 PM
Subscribers

Details

Summary

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")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Sep 7 2024, 9:34 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 16 2024, 1:06 PM
This revision was automatically updated to reflect the committed changes.