What will happen if an IPv4 packet’s total length field exceeds the packet’s actual length? [closed]
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).
Seem that is is an empirical test(s) that you'll have to run yourself, and as such isn't really a Wireshark question but one for OS and router support forums.