Page MenuHomeFreeBSD

pfctl: fix incorrect optimization
ClosedPublic

Authored by kp on Sep 7 2024, 9:34 AM.
Tags
None
Referenced Files
F169755738: D46580.diff
Wed, Sep 2, 11:30 AM
F169542372: D46580.id143076.diff
Tue, Sep 1, 9:09 PM
Unknown Object (File)
Tue, Sep 1, 3:02 PM
Unknown Object (File)
Tue, Sep 1, 3:49 AM
Unknown Object (File)
Mon, Aug 31, 11:54 AM
Unknown Object (File)
Sun, Aug 30, 11:30 AM
Unknown Object (File)
Sat, Aug 29, 2:41 AM
Unknown Object (File)
Tue, Aug 25, 8:56 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.