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)
Mon, Mar 30, 11:37 AM
Unknown Object (File)
Sun, Mar 29, 6:52 PM
Unknown Object (File)
Fri, Mar 27, 5:58 PM
Unknown Object (File)
Tue, Mar 24, 1:52 AM
Unknown Object (File)
Mon, Mar 23, 10:47 PM
Unknown Object (File)
Mon, Mar 23, 8:33 PM
Unknown Object (File)
Mon, Mar 23, 1:41 AM
Unknown Object (File)
Tue, Mar 17, 5:23 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