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)
Sun, Nov 17, 5:22 AM
Unknown Object (File)
Oct 20 2024, 1:23 AM
Unknown Object (File)
Oct 17 2024, 11:22 AM
Unknown Object (File)
Sep 24 2024, 3:34 PM
Unknown Object (File)
Sep 24 2024, 3:16 AM
Unknown Object (File)
Sep 24 2024, 12:36 AM
Unknown Object (File)
Sep 21 2024, 4:00 PM
Unknown Object (File)
Sep 21 2024, 2:52 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