- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当类型为 11 时,即超出时间,ICMP 数据包负载的大小是多少?
由于它包含一个 IP header 和生成 ICMP 消息的 IP 数据包有效载荷的前 8 个字节,我认为它的大小是 20 + 8 = 28。
我正在使用 TTL=1 重放一些常见的用户流量。在我转储的 ICMP 消息中,我注意到:
最佳答案
问题是您引用了来自 RFC 792, Page 4 的 8 字节 header 负载。 ,但要求已被 RFC 1812 更改...
Time Exceeded Message (in RFC 792)
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| unused |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Internet Header + 64 bits of Original Data Datagram |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
RFC 1812, Section 4.3.2.3显着增加 ICMP 错误消息中允许的有效负载(强调我的):
4.3.2.3 Original Message Header
Historically, every ICMP error message has included the Internetheader and at least the first 8 data bytes of the datagram thattriggered the error. This is no longer adequate, due to the use ofIP-in-IP tunneling and other technologies. Therefore, the ICMPdatagram SHOULD contain as much of the original datagram as possiblewithout the length of the ICMP datagram exceeding 576 bytes. Thereturned IP header (and user data) MUST be identical to that whichwas received, except that the router is not required to undo anymodifications to the IP header that are normally performed inforwarding that were performed before the error was detected (e.g.,decrementing the TTL, or updating options).
关于ICMP 类型 11 数据包有效载荷的大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11798250/
我正在尝试计算 GFP(通用成帧过程)帧的有效负载 FCS (pFCS),但无法获得正确的值。 我所做的是对有效载荷进行解扰,并对从有效载荷报头(4 字节 PTI、PFI、EXI、UPI、eHEC)开
我研究了我的问题并尝试了很多解决方案,但还没有解决。 出于某种原因,Angular 似乎没有在 plunker 中加载。 我的头不确定在更高的 Angular 版本中不再支持,但我尝试加载旧版本但仍然
我是一名优秀的程序员,十分优秀!