According to the documentation, the length of the SEQ Number is 16 bits...65536; so, what will happen if I sent a 65536 ICMP Request (Ping)...?
What happens if the SEQ Number in the ARP protocol Packet is more than 65536?
378 Views Asked by ahmed deeb At
2

The only requirement is that the sequence number in the reply match the sequence number in the request. This is to aid in matching replies to requests.
In fact, I'm not sure it's even a requirement that the sequence numbers be consecutive(a). If they are consecutive, then the most likely case is that it will wrap from
65535to0(or possibly1if zero is to be avoided)(b).You may think that a sequence number mandates consecutive numbers but there exist sequences that do not have that property:
1, 5, 9, 13, 17, ...;1, 7, 49, 343, 2401, ...; or even3, 1, 4, 5, 9, 2, 6, ... (back to 3).(a) The RFC states (my emphasis):
Words, like "shall", "must", "may" and "might" have very specific meanings in standards documents, with the latter two being more advisory than mandated.
(b) Keep in mind the intent is to match replies to requests. The chances of cycling through 65000-odd ICMP packets and getting a reply from the previous cycle is pretty slim. At one ping a second (though that's also not strictly mandated rather it's just what most
pingprograms seem to do), that would be on the order of 18 hours.I would expect timeouts or TTL properties to kick in long before that point.