So you think you understand IP fragmentation?
So you think you understand IP fragmentation?
Posted Feb 8, 2024 0:44 UTC (Thu) by pizza (subscriber, #46)In reply to: So you think you understand IP fragmentation? by jengelh
Parent article: So you think you understand IP fragmentation?
Unless you truncate the IPv6 packet smaller than its header length, truncating the IPv6 packet isn't going to cause processing problems.
Meanwhile, the IP payload (eg TCP or UDP) already provides its own checksum that will fail if it gets truncated.
Either way, truncating the packet isn't going to allow the application to receive garbage data.
Posted Feb 9, 2024 13:52 UTC (Fri)
by smurf (subscriber, #17840)
[Link] (1 responses)
However, the UDP header also contains … surprise … a length. As long as you don't send IPv6 jumbograms (length word: zero) you're thus still safe there.
Posted Feb 9, 2024 14:20 UTC (Fri)
by farnz (subscriber, #17727)
[Link]
Even IPv6 jumbograms have a length field, in the Jumbo Payload hop-by-hop header. This is a 32-bit number instead of a 16 bit number, but if you have the full IPv6 header, you'll get a length field to work with (either 16 bits, if not jumbo-sized, or 32 if jumbo-sized).
So you think you understand IP fragmentation?
So you think you understand IP fragmentation?