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)
Wed, May 21, 10:44 AM
Unknown Object (File)
Sun, May 18, 11:56 PM
Unknown Object (File)
Thu, May 15, 3:33 PM
Unknown Object (File)
Tue, May 13, 6:38 AM
Unknown Object (File)
Wed, May 7, 6:56 PM
Unknown Object (File)
Tue, May 6, 1:33 AM
Unknown Object (File)
Thu, May 1, 3:23 AM
Unknown Object (File)
Wed, Apr 30, 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable