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, Sep 20, 10:50 AM
Unknown Object (File)
Fri, Sep 18, 6:12 PM
Unknown Object (File)
Sun, Sep 13, 6:14 PM
Unknown Object (File)
Fri, Sep 11, 5:09 PM
Unknown Object (File)
Fri, Sep 11, 12:26 AM
Unknown Object (File)
Wed, Sep 9, 12:34 AM
Unknown Object (File)
Wed, Sep 9, 12:03 AM
Unknown Object (File)
Sun, Sep 6, 12:47 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 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.