diff options
author | Kristof Provost <kp@FreeBSD.org> | 2020-12-19 15:06:03 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2020-12-23 11:03:20 +0000 |
commit | 2d3fda5fa1dc99aa8788e5f8d8bb71e682101063 (patch) | |
tree | 643c05976846e8a54d0c3743c2430c8ed75be885 /sys | |
parent | e1f6571a12ed7acba428357b67f6b34df1971605 (diff) | |
download | src-test-2d3fda5fa1dc99aa8788e5f8d8bb71e682101063.tar.gz src-test-2d3fda5fa1dc99aa8788e5f8d8bb71e682101063.zip |
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
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions