Page MenuHomeFreeBSD

pf: Fix IP checksum on reassembly
ClosedPublic

Authored by kp on Apr 28 2021, 12:58 PM.
Tags
None
Referenced Files
F96271715: D30026.diff
Tue, Sep 24, 7:23 AM
Unknown Object (File)
Fri, Sep 6, 6:26 PM
Unknown Object (File)
Fri, Sep 6, 6:26 PM
Unknown Object (File)
Fri, Sep 6, 6:26 PM
Unknown Object (File)
Fri, Sep 6, 6:14 PM
Unknown Object (File)
Fri, Sep 6, 1:52 AM
Unknown Object (File)
Aug 22 2024, 8:16 PM
Unknown Object (File)
Aug 22 2024, 2:04 AM

Details

Summary

If we reassemble a packet we modify the IP header (to set the length and
remove the fragment offset information), but we failed to update the
checksum. On certain setups (mostly where we did not re-fragment again
afterwards) this could lead to us sending out packets with incorrect
checksums.

PR: 255432
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38906
Build 35795: arc lint + arc unit