Page MenuHomeFreeBSD

pfctl: fix FOM_ICMP/POM_STICKYADDRESS clash
ClosedPublic

Authored by franco_opnsense.org on Fri, Aug 5, 11:41 AM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sat, Aug 6, 2:43 PM
This revision was automatically updated to reflect the committed changes.