HomeFreeBSD

tcp: improve SEG.ACK validation

Description

tcp: improve SEG.ACK validation

Implement the improved SEG.ACK validation described in RFC 5961.
In addition to that, also detect ghost ACKs, which are ACKs for data
that has never been sent.
The additional checks are enabled by default, but can be disabled
by setting the sysctl-variable net.inet.tcp.insecure_ack to a
non-zero value.

PR: 250357
Reviewed by: Peter Lei, rscheff (older version)
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D45894

Details

Provenance
tuexenAuthored on Jul 21 2024, 9:37 AM
Reviewer
peter
Differential Revision
D45894: tcp: improve SEG.ACK validation
Parents
rG1cbd613f3343: db_pprint: Properly handle complex pointer types
Branches
Unknown
Tags
Unknown