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)
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)
Sat, Sep 12, 4:48 PM
Unknown Object (File)
Fri, Sep 11, 10:56 PM
Unknown Object (File)
Fri, Sep 11, 7:59 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 69409
Build 66292: arc lint + arc unit