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)
Tue, Nov 12, 5:23 AM
Unknown Object (File)
Oct 14 2024, 1:25 PM
Unknown Object (File)
Oct 3 2024, 3:23 PM
Unknown Object (File)
Oct 3 2024, 9:22 AM
Unknown Object (File)
Oct 1 2024, 5:11 AM
Unknown Object (File)
Sep 24 2024, 9:15 AM
Unknown Object (File)
Sep 24 2024, 7:23 AM
Unknown Object (File)
Sep 6 2024, 6:26 PM

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