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)
Wed, Oct 14, 4:00 PM
Unknown Object (File)
Sat, Oct 10, 12:35 PM
Unknown Object (File)
Sat, Oct 3, 6:21 PM
Unknown Object (File)
Sat, Oct 3, 11:47 AM
Unknown Object (File)
Sat, Oct 3, 9:56 AM
Unknown Object (File)
Fri, Oct 2, 9:04 PM
Unknown Object (File)
Sat, Sep 19, 3:24 AM
Unknown Object (File)
Sep 12 2026, 4:48 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