gpt4 book ai didi

networking - 是否在路径中的每个路由器上检查 IP 校验和?

转载 作者:行者123 更新时间:2023-12-03 21:06:37 25 4
gpt4 key购买 nike

关闭。这个问题是off-topic .它目前不接受答案。












想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。

9年前关闭。




Improve this question




IP校验和必须在目的地进行明确检查。但是校验和是否由它经过的每个路由器验证?

如果路径中间的路由器发现校验和不正确,它是否会丢弃打包?

最佳答案

RFC 791说:

If the header checksum fails, the internet datagram is discarded at once by the entity which detects the error.



然后:
Header Checksum:  16 bits

A checksum on the header only. Since some header fields change
(e.g., time to live), this is recomputed and verified at each point
that the internet header is processed.

因此,必须检查网络层(第 3 层)的任何实体 IP header checksum在对收到的数据包采取任何行动之前。

关于networking - 是否在路径中的每个路由器上检查 IP 校验和?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12830003/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com