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
F115829322: D36050.diff
Tue, Apr 29, 6:29 AM
Unknown Object (File)
Thu, Apr 17, 10:48 PM
Unknown Object (File)
Mar 28 2025, 4:58 AM
Unknown Object (File)
Mar 18 2025, 7:34 PM
Unknown Object (File)
Mar 10 2025, 12:48 PM
Unknown Object (File)
Feb 25 2025, 4:21 AM
Unknown Object (File)
Feb 20 2025, 3:49 PM
Unknown Object (File)
Feb 18 2025, 8:25 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