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
F163903267: D36050.id.diff
Mon, Jul 27, 1:46 AM
Unknown Object (File)
Sat, Jul 25, 4:01 AM
Unknown Object (File)
Jun 20 2026, 10:10 AM
Unknown Object (File)
Jun 18 2026, 8:34 AM
Unknown Object (File)
May 12 2026, 11:54 PM
Unknown Object (File)
May 6 2026, 6:35 AM
Unknown Object (File)
May 3 2026, 11:49 PM
Unknown Object (File)
May 3 2026, 12:26 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