gvisor/pkg/tcpip/transport
Julian Elischer 798cc6b04d Fix IPv4 ICMP echo handler to copy options
The IPv4 RFCs are specific (though obtuse) that an echo response
packet needs to contain all the options from the echo request,
much as if it been routed back to the sender, though apparently
with a new TTL. They suggest copying the incoming packet header
to achieve this so that is what this patch does.

PiperOrigin-RevId: 335559176
2020-10-05 20:43:55 -07:00
..
icmp Trim Network/Transport Endpoint/Protocol 2020-09-29 02:05:50 -07:00
packet {Set,Get} SO_LINGER on all endpoints. 2020-09-17 20:00:33 -07:00
raw {Set,Get} SO_LINGER on all endpoints. 2020-09-17 20:00:33 -07:00
tcp Remove AssignableAddressEndpoint.NetworkEndpoint 2020-10-05 13:18:57 -07:00
tcpconntrack garbage collect connections 2020-07-13 12:00:46 -07:00
udp Fix IPv4 ICMP echo handler to copy options 2020-10-05 20:43:55 -07:00