UDP Example
Large UDP
Analyze a UDP packet carrying an ASCII payload. Examine how the length field accounts for header plus payload, and see source port, destination port, and checksum in action.
Hex Data
00 50 12 34 02 00 00 00 48 65 6C 6C 6F 20 57 6F 72 6C 64
Note: Contains Hello World ASCII payload, length 27 bytes
payload
Field Breakdown
Source Port
Source port number (0-65535)
80
HTTP
Destination Port
Destination port number (0-65535)
4660
Length
Length of UDP header and data in bytes (minimum 8)
512
Checksum
Checksum for error detection (optional in IPv4, mandatory in IPv6)
0x0000
About UDP
User Datagram Protocol (RFC 768)
Fields: 4
Endianness: big
Specification: RFC 768