Page MenuHomeFreeBSD

pf tests: Verify (tcp) checksum modification on unaligned options
AbandonedPublic

Authored by kp on Dec 20 2020, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 19 2024, 8:16 PM
Unknown Object (File)
Sep 5 2024, 6:29 PM
Unknown Object (File)
Aug 31 2024, 10:50 PM
Unknown Object (File)
Aug 27 2024, 3:28 PM
Unknown Object (File)
Aug 24 2024, 3:03 AM
Unknown Object (File)
Aug 19 2024, 7:47 AM
Unknown Object (File)
Aug 18 2024, 12:32 PM
Unknown Object (File)
Aug 13 2024, 6:10 PM

Details

Summary

It turns out pf incorrectly updates the TCP checksum if the TCP option
we're modifying is not 2-byte algined with respect to the start of the
packet.

Create a TCP packet with such an option and throw it through a scrub
rule, which will update timestamps and modify the packet.

PR: 240416

Diff Detail

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