Page MenuHomeFreeBSD

pfctl: fix FOM_ICMP/POM_STICKYADDRESS clash
ClosedPublic

Authored by franco_opnsense.org on Aug 5 2022, 11:41 AM.
Tags
None
Referenced Files
F172591825: D36050.id.diff
Sat, Sep 19, 12:59 PM
F172585279: D36050.diff
Sat, Sep 19, 11:33 AM
Unknown Object (File)
Wed, Sep 16, 12:37 PM
Unknown Object (File)
Wed, Sep 9, 11:42 AM
Unknown Object (File)
Sun, Sep 6, 5:19 AM
Unknown Object (File)
Aug 17 2026, 5:17 PM
Unknown Object (File)
Aug 16 2026, 12:17 PM
Unknown Object (File)
Aug 12 2026, 8:16 PM
Subscribers

Details

Summary
pass inet proto icmp icmp-type {unreach}
pass route-to (if0 127.0.0.1/8) sticky-address inet

The wrong struct was being tested. The parser tries to prevent
"sticky-address sticky-address" syntax but was actually cross-
rule enforcing that ICMP filter cannot be before the use of
"sticky-address" in next rule.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46759
Build 43648: arc lint + arc unit