gvisor/pkg/tcpip/transport/tcp
Ghanan Gowripalan 3f51bef8cd Do not handle TCP packets that include a non-unicast IP address
This change drops TCP packets with a non-unicast IP address as the source or
destination address as TCP is meant for communication between two endpoints.

Test: Make sure that if the source or destination address contains a non-unicast
address, no TCP packet is sent in response and the packet is dropped.
PiperOrigin-RevId: 280073731
2019-11-12 15:50:02 -08:00
..
testing/context Do not handle TCP packets that include a non-unicast IP address 2019-11-12 15:50:02 -08:00
BUILD Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
accept.go Make `connect` on socket returned by `accept` correctly error out with EISCONN 2019-11-11 14:15:06 -08:00
connect.go Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
cubic.go
cubic_state.go Add support for TCP_CONGESTION socket option. 2019-06-12 13:35:50 -07:00
dual_stack_test.go Internal change. 2019-10-14 17:46:52 -07:00
endpoint.go Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
endpoint_state.go Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
forwarder.go Use PacketBuffers, rather than VectorisedViews, in netstack. 2019-11-06 14:25:59 -08:00
protocol.go Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
rcv.go Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08: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 Use PacketBuffers, rather than VectorisedViews, in netstack. 2019-11-06 14:25:59 -08:00
segment_heap.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
segment_queue.go
segment_state.go Update canonical repository. 2019-06-13 16:50:15 -07:00
snd.go netstack: add counters for tcp CurrEstab and EstabResets 2019-10-15 16:38:40 +00:00
snd_state.go
tcp_noracedetector_test.go Internal change. 2019-10-09 17:56:05 -07:00
tcp_sack_test.go Internal change. 2019-10-09 17:56:05 -07:00
tcp_test.go Do not handle TCP packets that include a non-unicast IP address 2019-11-12 15:50:02 -08:00
tcp_timestamp_test.go Add support for TCP receive buffer auto tuning. 2019-06-13 22:28:01 -07:00
timer.go