If you are sniffing traffic on the same system that is producing the traffic, then you might be encountering a common issue: if the IP driver has been set to offload checksum calculations to the ethernet card, then packets that gets sniffed before being submitted to the cards will not have had their checksum updated yet.
如果你地抓包工具和你的发包程序在一台机器上的话,你可能会碰到这种IP校验和错误。原因是:IP校验和是在网卡中进行计算的。但是你的抓包程序是在数据进入网卡前抓到的,这个时候的IP包校验和肯定是出于没有设置的状态的。(通常情况下是0x0000)
如果你地抓包工具和你的发包程序在一台机器上的话,你可能会碰到这种IP校验和错误。原因是:IP校验和是在网卡中进行计算的。但是你的抓包程序是在数据进入网卡前抓到的,这个时候的IP包校验和肯定是出于没有设置的状态的。(通常情况下是0x0000)