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)
Sun, Apr 5, 12:52 PM
Unknown Object (File)
Sat, Apr 4, 5:00 PM
Unknown Object (File)
Wed, Apr 1, 2:42 PM
Unknown Object (File)
Tue, Mar 24, 11:35 PM
Unknown Object (File)
Mar 11 2026, 11:34 AM
Unknown Object (File)
Mar 9 2026, 11:51 AM
Unknown Object (File)
Mar 4 2026, 4:20 PM
Unknown Object (File)
Jan 28 2026, 8:54 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