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)
Wed, Apr 16, 5:47 PM
Unknown Object (File)
Mar 10 2025, 11:43 PM
Unknown Object (File)
Mar 8 2025, 1:47 PM
Unknown Object (File)
Mar 4 2025, 3:09 PM
Unknown Object (File)
Feb 28 2025, 3:55 PM
Unknown Object (File)
Feb 26 2025, 2:02 AM
Unknown Object (File)
Feb 25 2025, 9:31 PM
Unknown Object (File)
Feb 16 2025, 9:13 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