作者: IT心雪
来自: Silic Group Hacker Army
转载请注明版权信息及原文链接
不同的消息首部长度和格式也是不同的,这里讨论的是ICMPv6 Echo Request Message消息格式,也适用于Echo Reply Message消息,就是常见的ping消息
Type. 8 bits. Set to 8. //类型,在Echo Request中设置为128,Echo Reply中设置为129,8位
Code. 8 bits. Cleared to 0. //设置为0,8位
ICMP Header Checksum. 16 bits. //ICMP数据报检验和,16位
Identifier. 16 bits. //用于在发送Reply消息时与原有Request消息进行匹配,一般设置为0
This field is used to help match echo requests to the associated reply. It may be cleared to zero.
Sequence number. 16 bits.//顺序号,作用同上
This field is used to help match echo requests to the associated reply. It may be cleared to zero.
Data. Variable length.//ICMP数据域
Implementation specific data.
如想了解其他详细格式,请参考RFC1885:http://www.faqs.org/rfcs/rfc1885.html
//blackbap.org