gvisor/pkg/tcpip
Bhasker Hariharan 3933dd5c04 Fixes to listen backlog handling.
Changes netstack to confirm to current linux behaviour where if the backlog is
full then we drop the SYN and do not send a SYN-ACK. Similarly we allow upto
backlog connections to be in SYN-RCVD state as long as the backlog is not full.

We also now drop a SYN if syn cookies are in use and the backlog for the
listening endpoint is full.

Added new tests to confirm the behaviour.

Also reverted the change to increase the backlog in TcpPortReuseMultiThread
syscall test.

Fixes #236

PiperOrigin-RevId: 252500462
2019-06-10 15:40:44 -07:00
..
adapters/gonet Add gonet.DialContextTCP. 2019-05-07 14:27:36 -07:00
buffer Support IPv4 fragmentation in netstack 2019-05-03 13:30:35 -07:00
checker Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
hash/jenkins Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
header Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
link Add multi-fd support to fdbased endpoint. 2019-06-06 08:07:02 -07:00
network Adjust route when looping multicast packets 2019-06-05 16:08:29 -07:00
ports Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sample Add multi-fd support to fdbased endpoint. 2019-06-06 08:07:02 -07:00
seqnum Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
stack Track and export socket state. 2019-06-06 15:04:47 -07:00
transport Fixes to listen backlog handling. 2019-06-10 15:40:44 -07:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
tcpip.go Track and export socket state. 2019-06-06 15:04:47 -07:00
tcpip_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Add build guard to files using go:linkname 2019-05-30 12:09:39 -07:00