gvisor/pkg/tcpip/transport/tcp
Kevin Krakauer fb8be7e627 make connect(2) fail when dest is unreachable
Previously, ICMP destination unreachable datagrams were ignored by TCP
endpoints. This caused connect to hang when an intermediate router
couldn't find a route to the host.

This manifested as a Kokoro error when Docker IPv6 was enabled. The Ruby
image test would try to install the sinatra gem and hang indefinitely
attempting to use an IPv6 address.

Fixes #3079.
2020-07-22 16:51:42 -07:00
..
testing/context Add support for Stack level options. 2020-06-24 10:24:20 -07:00
BUILD Shard some slow tests. 2020-07-06 12:14:08 -07:00
accept.go Add support for SO_REUSEADDR to TCP sockets/endpoints. 2020-06-23 19:15:38 -07:00
connect.go make connect(2) fail when dest is unreachable 2020-07-22 16:51:42 -07:00
connect_unsafe.go Use a pool of arrays to avoid slice headers from escaping in TCP options pool. 2020-03-05 15:56:42 -08:00
cubic.go Add support for TCP_CONGESTION socket option. 2019-06-12 13:35:50 -07:00
cubic_state.go
dispatcher.go Remove dependency on pkg/binary 2020-07-06 06:48:04 -07:00
dual_stack_test.go Fix data race in tcp_test. 2020-04-16 16:49:18 -07:00
endpoint.go make connect(2) fail when dest is unreachable 2020-07-22 16:51:42 -07:00
endpoint_state.go Add support for Stack level options. 2020-06-24 10:24:20 -07:00
forwarder.go Pass PacketBuffer as pointer. 2020-06-03 15:00:42 -07:00
protocol.go Add wakers synchronously 2020-07-05 06:10:21 -07:00
rcv.go Send ACK to OTW SEQs/unacc ACKs in CLOSE_WAIT 2020-05-08 11:23:24 -07:00
rcv_state.go Add support for TCP_USER_TIMEOUT option. 2019-12-11 17:52:53 -08:00
rcv_test.go Send ACK to OTW SEQs/unacc ACKs in CLOSE_WAIT 2020-05-08 11:23:24 -07:00
reno.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sack.go
sack_scoreboard.go
sack_scoreboard_test.go Update canonical repository. 2019-06-13 16:50:15 -07:00
segment.go netstack: parse incoming packet headers up-front 2020-06-07 13:38:43 -07:00
segment_heap.go Implement heap.Interface on pointer receiver 2020-03-11 20:38:05 -07:00
segment_queue.go Remove workMu from tcpip.Endpoint. 2020-03-19 07:19:58 -07:00
segment_state.go
snd.go Fix two bugs in TCP sender. 2020-06-30 23:56:34 -07:00
snd_state.go Add support for TCP_USER_TIMEOUT option. 2019-12-11 17:52:53 -08:00
tcp_noracedetector_test.go Replace use of %v in tcp tests 2020-06-16 15:18:05 -07:00
tcp_sack_test.go Add support for Stack level options. 2020-06-24 10:24:20 -07:00
tcp_test.go Set IPv4 ID on all non-atomic datagrams 2020-07-07 16:14:49 -07:00
tcp_timestamp_test.go Fix data race in tcp_test. 2020-04-16 16:49:18 -07:00
timer.go Cleanup tcp.timer and tcpip.Route 2020-06-18 00:10:05 -07:00
timer_test.go Cleanup tcp.timer and tcpip.Route 2020-06-18 00:10:05 -07:00