HomeFreeBSD

pf: invert direction for inner icmp state lookups

Description

pf: invert direction for inner icmp state lookups

(e.g. traceroute with icmp)
ok henning, jsing

Also extend the test case to cover this scenario.

Approved by: so
Security: FreeBSD-EN-24:16.pf
PR: 280701
Obtained from: OpenBSD
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 89f6723288b0d27d3f14f93e6e83f672fa2b8aca)
(cherry picked from commit 5f3f07397a7909e8f9449d1aa0b465159cbf0d60)

Details

Provenance
kpAuthored on Aug 14 2024, 9:29 AM
markjCommitted on Sep 19 2024, 1:00 PM
Parents
rGa16cd5ff50ea: pf tests: ensure that traceroutes using ICMP work
Branches
Unknown
Tags
Unknown