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)
Sat, Feb 7, 10:00 PM
Unknown Object (File)
Sat, Feb 7, 6:27 PM
Unknown Object (File)
Sat, Jan 31, 1:12 AM
Unknown Object (File)
Sun, Jan 25, 11:01 AM
Unknown Object (File)
Sat, Jan 24, 11:45 PM
Unknown Object (File)
Fri, Jan 16, 1:21 AM
Unknown Object (File)
Dec 27 2025, 11:47 PM
Unknown Object (File)
Dec 24 2025, 7:29 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable