Page MenuHomeFreeBSD

pfctl: fix incorrect optimization
ClosedPublic

Authored by kp on Sep 7 2024, 9:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 5:39 PM
Unknown Object (File)
Tue, Nov 12, 12:06 AM
Unknown Object (File)
Sat, Nov 9, 11:43 AM
Unknown Object (File)
Sat, Nov 9, 11:42 AM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
Fri, Nov 8, 3:50 PM
Unknown Object (File)
Wed, Nov 6, 6:25 AM
Unknown Object (File)
Oct 29 2024, 5:28 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59368
Build 56255: arc lint + arc unit

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.