Page MenuHomeFreeBSD

pf: reorganise fragment reassembly
ClosedPublic

Authored by kp on Jun 6 2025, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 6:20 PM
Unknown Object (File)
Fri, Oct 3, 4:45 AM
Unknown Object (File)
Sat, Sep 27, 5:31 AM
Unknown Object (File)
Fri, Sep 26, 9:29 AM
Unknown Object (File)
Thu, Sep 18, 11:47 PM
Unknown Object (File)
Sep 13 2025, 10:26 PM
Unknown Object (File)
Aug 29 2025, 8:53 AM
Unknown Object (File)
Aug 5 2025, 6:11 AM

Details

Reviewers
None
Group Reviewers
pfsense
Commits
rGdefc181278cc: pf: reorganise fragment reassembly
Summary

To avoid packet loss due to reuse of the 16 bit IPv4 fragment id,
we need suitable data structures. Organize the pf fragments with
two red-black trees. One is holding the address and protocol
information and the other has only the fragment id. This will allow
to drop fragemts for specific connections more aggressively.
from markus@; OK sashan@

Obtained from: OpenBSD, bluhm <bluhm@openbsd.org>, 09228e5ff0
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable