Page MenuHomeFreeBSD

pf: Fix state handling when ICMP packets are diverted
ClosedPublic

Authored by markj on Dec 19 2025, 9:24 PM.
Tags
None
Referenced Files
F172541150: D54321.diff
Sat, Sep 19, 3:24 AM
Unknown Object (File)
Sat, Sep 12, 4:48 PM
Unknown Object (File)
Fri, Sep 11, 10:56 PM
Unknown Object (File)
Fri, Sep 11, 7:59 PM
Unknown Object (File)
Fri, Sep 11, 3:16 PM
Unknown Object (File)
Thu, Aug 27, 11:33 AM
Unknown Object (File)
Mon, Aug 24, 12:58 PM
Unknown Object (File)
Mon, Aug 24, 12:55 AM

Details

Summary

Commit 66f2f1c83247 ("pf: handle divert packets") missed a case that I
happened to hit while testing something.

Add a regression test for the ICMP case, based on the existing case.
Fix a buglet in the existing test (missing whitespace after "[").

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable