summaryrefslogtreecommitdiffhomepage
path: root/test/image/ruby.sh
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-09 22:33:53 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-09 22:35:42 -0700
commit5df3a8fedef7e54550d4c6b7172e25216600ee9f (patch)
treeaa2cf2c00315018049f4f09b0e966678b3804337 /test/image/ruby.sh
parent5946f111827fa4e342a2e6e9c043c198d2e5cb03 (diff)
Discard multicast UDP source address.
RFC-1122 (and others) specify that UDP should not receive datagrams that have a source address that is a multicast address. Packets should never be received FROM a multicast address. See also, RFC 768: 'User Datagram Protocol' J. Postel, ISI, 28 August 1980 A UDP datagram received with an invalid IP source address (e.g., a broadcast or multicast address) must be discarded by UDP or by the IP layer (see rfc 1122 Section 3.2.1.3). This CL does not address TCP or broadcast which is more complicated. Also adds a test for both ipv6 and ipv4 UDP. Fixes #3154 PiperOrigin-RevId: 320547674
Diffstat (limited to 'test/image/ruby.sh')
0 files changed, 0 insertions, 0 deletions