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

asked 2019-02-15 06:30:39 +0000

Jeason gravatar image

updated 2019-02-15 06:38:08 +0000

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).

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by grahamb
close date 2019-02-15 09:48:25.508572

Comments

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.

grahamb gravatar imagegrahamb ( 2019-02-15 09:48:18 +0000 )edit