gvisor/pkg/tcpip
Arthur Sfez 6c1237da03 Reply to invalid ACKs even when accept queue is full
Before checking if there is space in the accept queue, the listener
should verify that the cookie is valid. If it is not, instead of
silently dropping the packet, reply with an RST.

Fixes #6683

PiperOrigin-RevId: 400807346
2021-10-04 13:57:27 -07:00
..
adapters/gonet Pass address properties in a single struct 2021-09-15 15:00:01 -07:00
buffer Make dedicated methods for data operations in PacketBuffer 2021-03-03 16:05:16 -08:00
checker Support IPV6_RECVPKTINFO on UDP sockets 2021-09-19 13:15:28 -07:00
faketime Use opaque types to represent time 2021-05-25 13:00:29 -07:00
hash/jenkins Use the SecureRNG to generate listener nonces 2021-04-10 14:53:55 -07:00
header Add loopback interface as an ethernet-based device 2021-08-19 13:54:53 -07:00
internal/tcp Avoid pseudo endpoint for TSVal generation 2021-08-30 10:59:45 -07:00
link Fix bug in RecvMMsgDispatcher. 2021-09-14 14:09:09 -07:00
network Support naive Masquerade NAT target 2021-09-28 14:07:35 -07:00
ports Fix bug with TCP bind w/ SO_REUSEADDR. 2021-07-01 14:42:00 -07:00
sample Pass address properties in a single struct 2021-09-15 15:00:01 -07:00
seqnum Don't accept segments outside the receive window 2020-04-19 22:16:14 -07:00
stack Read lock when getting connections 2021-10-01 17:03:41 -07:00
tests Support naive Masquerade NAT target 2021-09-28 14:07:35 -07:00
testutil Send ICMP errors when link address resolution fails 2021-05-19 12:13:09 -07:00
transport Reply to invalid ACKs even when accept queue is full 2021-10-04 13:57:27 -07:00
BUILD Remove link/packetsocket 2021-09-09 12:34:54 -07:00
errors.go Implement /proc/sys/net/ipv4/ip_local_port_range 2021-03-08 20:40:34 -08:00
socketops.go Support IPV6_RECVPKTINFO on UDP sockets 2021-09-19 13:15:28 -07:00
stdclock.go Use opaque types to represent time 2021-05-25 13:00:29 -07:00
stdclock_state.go Implement standard clock safely 2021-05-03 16:45:48 -07:00
tcpip.go Implement S/R for TransportEndpointStats 2021-09-23 13:12:32 -07:00
tcpip_test.go Add aggregated NIC stats 2021-05-21 04:27:41 -07:00
timer.go Add AfterFunc to tcpip.Clock 2020-07-23 18:00:43 -07:00
timer_test.go Use fake clocks in all tests 2021-05-27 05:06:04 -07:00