Page MenuHomeFreeBSD

pf: Count holes rather than fragments for reassembly
ClosedPublic

Authored by kp on Oct 28 2018, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 26, 11:50 PM
Unknown Object (File)
Sun, Apr 26, 5:44 AM
Unknown Object (File)
Sat, Apr 25, 8:05 AM
Unknown Object (File)
Tue, Apr 21, 11:38 AM
Unknown Object (File)
Mon, Apr 20, 3:11 PM
Unknown Object (File)
Mon, Apr 20, 3:11 PM
Unknown Object (File)
Mon, Apr 20, 3:11 PM
Unknown Object (File)
Mon, Apr 20, 12:51 PM

Details

Summary

Avoid traversing the list of fragment entris to check whether the
pf(4) reassembly is complete. Instead count the holes that are
created when inserting a fragment. If there are no holes left, the
fragments are continuous.

Obtained from: OpenBSD

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20479
Build 19911: arc lint + arc unit