When looking at the ICMP (not IP) info from a PING conversation, what does the '[correct]' next to 'checksum' pertain to? It appears the checksum being displayed is with respect to the data being sent; if that's the case, how can the PING request say [correct] when it hasn't received anything? asked 05 Nov '12, 08:21 Jim Diesel |
2 Answers:
[correct] means that Wireshark calculated the value that the checksum field in the ICMP header should have, according to RFC 792, and it's equal to the value it does have. That's all it means. (And, yes, I'm familiar with the Wireshark code; this is the log entry for the checkin that added the code to check the checksum:
answered 05 Nov ‘12, 12:39 Guy Harris ♦♦ |
That's the ICMP checksum as defined in RFC 792. The checksum calculation is defined for each type/code combination.
Cite: Checksum for echo request/response.
So, to answer your question. The [correct] means that Wireshark calculated the value itself and found that it's the same as the one in the ICMP packet. Please also check the following question:
Regards answered 05 Nov '12, 08:49 Kurt Knochner ♦ edited 05 Nov '12, 12:20 Unfortunately, that's not what I was asking for; please reread my question. In Wireshark, what is the [correct] next to the checksum saying is correct? I've already seen the documentation on calculating the checksum, that's not what I'm asking about, I want to know what Wireshark is saying is correct. Consider your answer before posting, if you aren't familiar with the Wireshark code, please let someone who is answer the question. (05 Nov '12, 10:16) Jim Diesel |
Thank you.
If a supplied answer resolves your question can you please “accept” it by clicking the checkmark icon next to it. This highlights good answers for the benefit of subsequent users with the same or similar questions.