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)
Mar 4 2024, 8:07 AM
Unknown Object (File)
Mar 4 2024, 3:44 AM
Unknown Object (File)
Jan 12 2024, 1:45 PM
Unknown Object (File)
Dec 20 2023, 12:24 AM
Unknown Object (File)
Dec 10 2023, 1:35 PM
Unknown Object (File)
Nov 14 2023, 12:50 AM
Unknown Object (File)
Sep 15 2023, 3:18 PM
Unknown Object (File)
Sep 14 2023, 1:16 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46759
Build 43648: arc lint + arc unit