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)
Feb 15 2024, 3:27 AM
Unknown Object (File)
Jan 31 2024, 1:40 PM
Unknown Object (File)
Dec 20 2023, 6:56 AM
Unknown Object (File)
Dec 14 2023, 8:22 PM
Unknown Object (File)
Dec 3 2023, 9:10 AM
Unknown Object (File)
Nov 10 2023, 4:07 PM
Unknown Object (File)
Oct 19 2023, 7:38 AM
Unknown Object (File)
Oct 9 2023, 3:04 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