[Bug 138046] [tcp] tcp sockets stay in SYN_SENT even after receiving RST. never time out as well.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 23 13:04:52 UTC 2016


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

Michael Tuexen <tuexen at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuexen at freebsd.org

--- Comment #4 from Michael Tuexen <tuexen at freebsd.org> ---
Hi Hiren,

if the response to the SYN is a pure RST (without an ACK bit set), it should be
ignored. If it is a RST-ACK, it should be accepted if and only if it acks the
SYN.

This is tested in
https://github.com/freebsd-net/tcp-testsuite/blob/master/state-event-engine/rcv-rst-syn-sent/README.md
and
https://github.com/freebsd-net/tcp-testsuite/blob/master/state-event-engine/rcv-rst-ack-syn-sent/README.md.

I found no issues using the test scripts.

Best regards
Michael

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


More information about the freebsd-net mailing list