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
F149826237: D27688.id81015.diff
Fri, Mar 27, 9:58 AM
Unknown Object (File)
Mon, Mar 23, 1:49 AM
Unknown Object (File)
Sun, Mar 22, 8:29 AM
Unknown Object (File)
Thu, Mar 19, 1:14 AM
Unknown Object (File)
Sun, Mar 15, 3:04 PM
Unknown Object (File)
Sun, Mar 15, 2:41 AM
Unknown Object (File)
Fri, Mar 13, 8:42 AM
Unknown Object (File)
Fri, Feb 27, 10:25 AM

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