HomeFreeBSD

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

Description

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

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
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D27688

Details

Provenance
kpAuthored on Dec 19 2020, 3:06 PM
Parents
rGe1f6571a12ed: pf tests: Sort Makefile entries
Branches
Unknown
Tags
Unknown