gvisor/pkg/tcpip
Bhasker Hariharan efe5e737d7 Do not drop packets w/ missing TCP timestamps.
RFC7323 recommends that if the timestamp option was negotiated
then all packets should carry a TCP Timestamp and any packets that
do not should be dropped.

Netstack implemented this behaviour. Linux OTOH does not and will
accept such packets. This change makes Netstack behaviour compatible
with Linux.

Also now that we allow such packets, we do need to update RTO calculations
based on these packets even if timestamp option is enabled.

PiperOrigin-RevId: 233432268
Change-Id: I9f4742ae6b63930ac3b5e37d8c238761e6a4b29f
2019-02-11 10:23:43 -08:00
..
adapters/gonet Remove license comments 2019-01-31 11:12:53 -08:00
buffer Remove license comments 2019-01-31 11:12:53 -08:00
checker Remove license comments 2019-01-31 11:12:53 -08:00
hash/jenkins Remove license comments 2019-01-31 11:12:53 -08:00
header Remove license comments 2019-01-31 11:12:53 -08:00
link Fix build error. 2019-02-08 15:37:20 -08:00
network Remove license comments 2019-01-31 11:12:53 -08:00
ports Remove license comments 2019-01-31 11:12:53 -08:00
sample Remove license comments 2019-01-31 11:12:53 -08:00
seqnum Remove license comments 2019-01-31 11:12:53 -08:00
stack Plumb IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP to netstack. 2019-02-07 23:15:23 -08:00
transport Do not drop packets w/ missing TCP timestamps. 2019-02-11 10:23:43 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
tcpip.go Implement Stringer for tcpip.StatCounter 2019-01-08 12:35:35 -08:00
tcpip_test.go Implement Stringer for tcpip.StatCounter 2019-01-08 12:35:35 -08:00
time.s Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
time_unsafe.go Whitelist Go 1.12 for tcpip/time_unsafe.go 2018-12-04 15:52:14 -08:00