Ask Your Question
0

UDP Checksum

asked 2025-02-25 11:43:00 +0000

Peps gravatar image

Hi,

May I please ask you to describe the meaning of the Checksum in UDP?

In particular I'd like to know when do we encounter the [unverified] and if it can have something to do with the fragmentation.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-02-25 13:37:43 +0000

SYN-bit gravatar image

The meaning of any checksum, whether it is at the UDP layer or any other layer is to detect errors in the data. When data is transported over a physical medium, some bits might get flipped creating invalid data. The checksum is a mechanism to detect that and to discard the data if it got corrupted.

[unverified] means Wireshark did not verify the UDP checksum. Which is the default preference in the UDP protocol preferences. This is because a lot of systems do checksum offloading which means the checksum of outgoing packets when captured on a system itself will have bad checksums (as they are not calculated yet).

edit flag offensive delete link more

Comments

Thanks for your reply!

Do you know how to check if there are any fragments in a TFTP transfer that were not received correctly and had to be retransmitted?

Thanks

Peps gravatar imagePeps ( 2025-02-25 14:06:23 +0000 )edit

Assuming there is timeout for retransmitting a block when no ACK is received, you could use a filter like tftp and udp.time_delta > 0.05 to list all TFTP packets that are more than 50ms apart. Use different values depending on the RTT in your network of course...

SYN-bit gravatar imageSYN-bit ( 2025-02-25 18:45:41 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-02-25 11:43:00 +0000

Seen: 52 times

Last updated: yesterday