Wireshark_UDP

使用下载的Wireshark捕获的数据包文件http-ethereal-trace-5

  1. Frame 1: 92 bytes on wire (736 bits), 92 bytes captured (736 bits)
  2. Ethernet II, Src: Dell_4f:36:23 (00:08:74:4f:36:23), Dst: HewlettP_61:eb:ed (00:30:c1:61:eb:ed)
  3. Internet Protocol Version 4, Src: 192.168.1.102, Dst: 192.168.1.104
  4. User Datagram Protocol, Src Port: 4334, Dst Port: 161
  5. Source Port: 4334
  6. Destination Port: 161
  7. Length: 58
  8. Checksum: 0x65f8 [unverified]
  9. [Checksum Status: Unverified]
  10. [Stream index: 0]
  11. [Timestamps]
  12. Simple Network Management Protocol
  1. 字段有:Sources Port, Destination Port, Length, Checksum

  2. 8字节

  3. 长度字段中的值是指的是 UDP头部+应用数据的字节数。

  4. 2 - 8 字节

  5. 4334

  6. 十六进制 0x11,十进制 17

  7. 源端口号变为了目的端口号,目的端口号变为了源端口号