[Bug 250357] [tcp] RFC 5961 is not implemented completely

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250357

--- Comment #5 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=646c28ea80cb0f9258386626297495b5a0e56db5

commit 646c28ea80cb0f9258386626297495b5a0e56db5
Author:     Michael Tuexen <[email protected]>
AuthorDate: 2024-07-21 09:37:35 +0000
Commit:     Michael Tuexen <[email protected]>
CommitDate: 2024-07-21 09:37:35 +0000

    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

 share/man/man4/tcp.4          |  5 ++++-
 sys/netinet/in_kdtrace.c      |  2 ++
 sys/netinet/in_kdtrace.h      |  3 +++
 sys/netinet/tcp_input.c       | 44 +++++++++++++++++++++++++++++++++++++++++++
 sys/netinet/tcp_stacks/bbr.c  | 37 ++++++++++++++++++++++++++++++++++++
 sys/netinet/tcp_stacks/rack.c | 39 ++++++++++++++++++++++++++++++++++++++
 sys/netinet/tcp_var.h         |  9 ++++++++-
 usr.bin/netstat/inet.c        |  8 ++++++--
 8 files changed, 143 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.