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
Unknown Object (File)
Mon, Aug 24, 12:58 PM
Unknown Object (File)
Mon, Aug 24, 12:55 AM
Unknown Object (File)
Sat, Aug 22, 6:41 AM
Unknown Object (File)
Tue, Aug 18, 5:59 AM
Unknown Object (File)
Fri, Aug 14, 8:43 PM
Unknown Object (File)
Wed, Aug 12, 11:46 PM
Unknown Object (File)
Tue, Aug 11, 6:40 PM
Unknown Object (File)
Mon, Aug 10, 12:16 PM

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