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)
May 27 2026, 11:58 AM
Unknown Object (File)
May 21 2026, 1:17 AM
Unknown Object (File)
May 19 2026, 1:53 PM
Unknown Object (File)
May 19 2026, 1:53 PM
Unknown Object (File)
May 17 2026, 10:34 AM
Unknown Object (File)
May 1 2026, 6:53 AM
Unknown Object (File)
Apr 27 2026, 3:23 PM
Unknown Object (File)
Apr 15 2026, 8:29 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