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)
Mon, Apr 15, 12:13 PM
Unknown Object (File)
Dec 28 2023, 8:09 AM
Unknown Object (File)
Dec 20 2023, 6:23 PM
Unknown Object (File)
Dec 20 2023, 3:20 AM
Unknown Object (File)
Nov 30 2023, 12:38 PM
Unknown Object (File)
Nov 27 2023, 2:42 PM
Unknown Object (File)
Oct 22 2023, 5:58 PM
Unknown Object (File)
Sep 14 2023, 11:44 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