Page MenuHomeFreeBSD

pf: Fix IP checksum on reassembly
ClosedPublic

Authored by kp on Apr 28 2021, 12:58 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Aug 19 2024, 7:57 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable