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)
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
Unknown Object (File)
Mon, Apr 6, 12:54 PM
Unknown Object (File)
Sun, Apr 5, 4:37 AM
Unknown Object (File)
Mon, Mar 30, 11:37 AM

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable