2

在 Linux 下使用 Wireshark 捕获数据包时,是否有某种方法可以从以太网帧中获取帧校验序列 (FCS)?

4

2 回答 2

2

The FCS is generated by the sender's ethernet device and decoded by the recipients ethernet device. If the FCS is correct, the payload is passed up to higher layers. If it's not, then the potential frame is discarded.

Because it's added for the exclusive use of the ethernet layer, there's no reason to pass the data up to the operating system. There's no reason for the hardware to include additional capabilities of moving that data out of the card. All modern ethernet devices do onboard FCS processing (and often much more). The only exception would be devices intended to analyze ethernet performance and function.

于 2009-06-13T14:25:52.173 回答
1

Wireshark上的以太网维基页面指出:

大多数以太网接口也不向 Wireshark 或其他应用程序提供 FCS

所以我认为答案是否定的。

于 2009-04-29T23:29:14.517 回答