Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What will happen if an IPv4 packet’s total length field exceeds the packet’s actual length?

If a router or a host receives a packet, the value of "total length" field is larger than the packet's actual length, what will the router (or the host) do?

What will happen if an IPv4 packet’s total length field exceeds the packet’s actual length?

If a router or a host receives a packet, the value of "total length" field is larger than the packet's actual length, what will the router (or the host) do?

I did an experiment. I edited a packet, made the value of "total length" field is larger than the packet's actual length, then sent the packet. Wireshark captured the packet, said "IPv4 total length exceeds packet length". But, it seems it was only a local capture result. I want to know the actual situation when the packet arrives at a router (or host).