diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2019-11-06 10:42:00 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-06 10:44:20 -0800 |
commit | d0d89ceeddd21f1f22e818d78dc3b07d3669dbb5 (patch) | |
tree | 86cd1ee8da9365b358ff5e8a5392dcbadcf3544d /pkg/tcpip/stack/registration.go | |
parent | a824b48ceac4e2e3bacd23d63e72881c76d669c8 (diff) |
Send a TCP RST in response to a TCP SYN-ACK on a listening endpoint
This change better follows what is outlined in RFC 793 section 3.4 figure 12
where a listening socket should not accept a SYN-ACK segment in response to a
(potentially) old SYN segment.
Tests: Test that checks the TCP RST segment sent in response to a TCP SYN-ACK
segment received on a listening TCP endpoint.
PiperOrigin-RevId: 278893114
Diffstat (limited to 'pkg/tcpip/stack/registration.go')
0 files changed, 0 insertions, 0 deletions