我需要发送格式错误的以太网帧以进行测试.我已禁用Rx和Tx校验和的卸载:
root@T60:~# ethtool --show-offload eth0
Features for eth0:
rx-checksumming: off
tx-checksumming: off
tx-checksum-ipv4: off [fixed]
tx-checksum-unneeded: off [fixed]
tx-checksum-ip-generic: off
tx-checksum-ipv6: off [fixed]
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
Run Code Online (Sandbox Code Playgroud)
但是,这种卸载只涉及IP,TCP和UDP校验和吗?是否可以使用Scapy在以太网页脚中发送格式错误的帧序列检查帧?我在此非常怀疑计算以太网FSC可能是在NIC硬件中实现的吗?