Notes
1.0.0
1.0.0
  • Introduction
  • Commands
    • cd
    • df
    • du
    • fc-cahe
    • ifconfig
    • ip
    • ls
    • lsb_release
    • mkdir
    • mksquashfs
    • mount
    • ping
    • pwd
    • rm
    • sar
    • sudo
  • Linux C
    • Preprocessor
    • Keywords
    • Kernel
      • Ftrace
      • Watchdog
  • Python
    • general
      • Decorator
      • Generator
      • Iterator
      • Lambda
    • Download
    • NIC
  • Network
    • Protocol
      • Link layer
      • IP
      • ARP
      • ICMP
    • Proxy
      • Cntlm
      • Proxychains4
      • ShadowSocks
    • Tools
      • iperf
      • tc
      • Wireshark
    • Apps
      • samba
      • tftp
  • Software
    • Atom
    • Chrome
    • Docker
    • Git
    • Gitbook
    • Hexo
    • Nodejs
    • Teraterm
    • Tex
    • Tmux
    • VIM
    • VSCode
  • Database
    • MongoDB
  • Web
    • CSS
    • LNMP
  • Tools
    • common
    • programming
  • Ubuntu
    • Add user
    • AWS EC2
    • FAQ
    • Installer
    • Shell
    • Shell scripts
    • Themes
    • VPS
  • Windows
    • PowerShell
    • CMD
    • FAQ
  • Aphorisms
  • Book List
  • Favorites
  • Appendix
    • ASCII
    • GSM
Powered by GitBook
On this page
  • ICMP报文
  • ICMP地址掩码请求与应答
  • ICMP时间戳请求与应答

Was this helpful?

  1. Network
  2. Protocol

ICMP

ICMP报文

ICMP报文封装在IP数据报内部。

IP首部(20字节)

ICMP报文

其中ICMP报文格式如下:

0~7

8~15

16~31

类型

代码

校验和

不同类型和代码有不同的内容

ICMP地址掩码请求与应答

ICMP地址掩码请求用于无盘系统在引导过程中获取自己的子网掩码。系统广播ICMP请求报文,应答方以单播方式返回应答报文。其请求及应答报文格式如下:

0~7

8~15

16~31

类型(17,18)

代码(0)

校验和

标识符

序列号

32位子网掩码

ICMP时间戳请求与应答

ICMP时间戳请求允许系统向另一个系统查询当前时间,返回自午夜开始计算的毫秒数。其请求和应答报文格式如下:

0~7

8~15

16~31

类型(13,14)

代码(0)

校验和

标识符

序列号

发起时间戳

接收时间戳

传送时间戳

PreviousARPNextProxy

Last updated 5 years ago

Was this helpful?