UDP

  1. UDP
    1. Header
  2. Ports

UDP

  • port ranges
    • well-known: 0-1023
    • registered (ICANN): 1024-49151
    • dynamic: 49152-65535
  • no fragmentation and reassembly ⇒ upper-level protocol must determine data block itself
  • no reordering
  • pseudoheader IP for CRC calculation: src IP, dst IP, protocol, UDP length
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           Source port         |        Destination port       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              Length           |         CRC (optional)        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\                                                               \
/                              Data                             /
\                                                               \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Ports

  • 53: DNS
  • 123: NTP
  • 143: IMAP
  • 161: SNMP
  • 162: SNMP trap
  • 500: IKE
  • 514: Syslog
  • 520: RIP
  • 521: RIPng
  • 546: DHCPv6 client
  • 547: DHCPv6 server/relay
  • 848: GDOI
  • 1645: old RADIUS (1812)
  • 1646: old RADIUS (1813)
  • 1718: H.323 gatekeeper discovery
  • 1719: H.323 gatekeeper registration and status (RAS)
  • 1812: RADIUS authC + authZ
  • 1813: RADIUS accounting
  • 1967: SLA control
  • 1985: HSRP
  • 2029: HSRP IPv6
  • 2048: WCCP
  • 2404: IEC 60870-5-104
  • 2738: CTIQBE
  • 3200: vPC keepalive
  • 3222: GLBP
  • 3784: BFD control
  • 3785: BFD echo
  • 4059: DLMS User Association
  • 4343: EIGRP OTP
  • 4789: VXLAN
  • 4791: RoCEv2
  • 5060: SIP
  • 5061: SIPS
  • 5246: CAPWAP control
  • 5247: CAPWAP data
  • 5683: CoAP
  • 5684: DTLS CoAP
  • 8472: OTV
  • 20000: DNP3/IP