gvisor/pkg/tcpip/network
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
..
arp Trim Network/Transport Endpoint/Protocol 2020-09-29 02:05:50 -07:00
fragmentation Discard IP fragments as soon as it expires 2020-09-29 11:29:50 -07:00
hash Handle IPv6 Fragment & Routing extension headers 2020-03-26 14:05:39 -07:00
ipv4 Fix IPv4 ICMP echo handler to copy options 2020-10-05 20:43:55 -07:00
ipv6 Count IP OutgoingPacketErrors in the NetworkEndpoint methods 2020-09-30 15:09:38 -07:00
testutil Refactor testutil.TestEndpoint and use it instead of limitedEP 2020-09-22 15:06:16 -07:00
BUILD Don't allow broadcast/multicast source address 2020-09-29 16:54:23 -07:00
ip_test.go Don't allow broadcast/multicast source address 2020-09-29 16:54:23 -07:00