Page MenuHomeFreeBSD

pf: Fix IP checksum on reassembly
ClosedPublic

Authored by kp on Apr 28 2021, 12:58 PM.
Tags
None
Referenced Files
F118624884: D30026.diff
Sat, May 31, 2:03 AM
Unknown Object (File)
Sun, May 25, 2:02 PM
Unknown Object (File)
Fri, May 23, 9:50 AM
Unknown Object (File)
Apr 29 2025, 5:21 AM
Unknown Object (File)
Apr 20 2025, 5:25 PM
Unknown Object (File)
Apr 20 2025, 5:03 PM
Unknown Object (File)
Apr 19 2025, 7:29 PM
Unknown Object (File)
Apr 17 2025, 9:06 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