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
Unknown Object (File)
Mon, Oct 5, 8:33 AM
Unknown Object (File)
Sun, Oct 4, 5:32 PM
Unknown Object (File)
Sun, Oct 4, 4:13 PM
Unknown Object (File)
Fri, Oct 2, 5:01 PM
Unknown Object (File)
Sat, Sep 19, 12:59 PM
Unknown Object (File)
Sat, Sep 19, 11:33 AM
Unknown Object (File)
Wed, Sep 16, 12:37 PM
Unknown Object (File)
Sep 9 2026, 11:42 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable