[Bug 242492] TCP fat open observability

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 6 22:31:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242492

            Bug ID: 242492
           Summary: TCP fat open observability
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: j2465 at wizmail.org

A TCP connection made by sendto() with TCP_FASTOPEN set always sets the
TCP_FASTOPEN readback getsockopt.  It would be (possibly more) useful to the
client application to know if a supposedly valid TFO cookie was sent on the SYN
(as opposed to the current possibilty of only having sent a TFO request) and/or
whether the server agreed that the cookie was acceptable.

TCP_INFO TCPOPT_FAST_OPEN appears to match getsockopt/TCP_FASTOPEN, for a
client.

I'm not sure that we really want to go so far as knowing whether client
data-on-SYN was actually accepted with the SYN, but it's another item in the
bucket.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list