|
发表于 2016-5-12 10:51:28
|
显示全部楼层
新发现。由于现在的ethernet 网卡的程序不支持捕捉Frame的所有内容,所以,没办法捕捉到CRC。
下面是国外网站上的说明,Wireshark的网站上也有类似的说明。
-------------------------------
Only if you have a network adapter that captures the entire frame and supplies it to the host, a driver for that adapter that sets up the adapter to do that, and a capture mechanism in the OS (or otherwise connected to libpcap/WinPcap) that allows that to be supplied.
I know of NO Ethernet adapters that supply the preamble and SFD.
At least some adapters might, however, supply the CRC/FCS. (The adapter on a Mac I used many years ago did; I don't think the adapters in current Macs do.) Wireshark attempts to guess whether an Ethernet packet has an FCS and, if it thinks it does, handles it as such. (I added the code to do that to Wireshark when I was using the Mac in question.)
-------------------------------
|
评分
-
查看全部评分
沙发
2016-5-12 10:51:28
回复(0)
收起回复
|