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, May 27, 4:51 PM
Unknown Object (File)
Mon, May 13, 10:43 PM
Unknown Object (File)
Mon, May 13, 5:34 PM
Unknown Object (File)
Tue, May 7, 10:45 PM
Unknown Object (File)
Mon, May 6, 3:49 PM
Unknown Object (File)
Sat, May 4, 1:24 AM
Unknown Object (File)
Mar 4 2024, 8:07 AM
Unknown Object (File)
Mar 4 2024, 3:44 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