【发布时间】:2017-05-04 03:25:32
【问题描述】:
我有一个 pcap 文件,用 Wireshark 捕获,包含 2690 个数据包
我使用 tcpreplay 在接口上重放它,
但问题是 tcpreplay 中尝试的数据包数量与 Wireshark 中显示的数据包数量不同(更少)
#tcpreplay -i eth1 test.pcap
sending out eth1
processing file: /tmp/reloadtest4.pcap
Actual: 1826 packets (1634597 bytes) sent in 58.06 seconds.
Rated: 28153.6 bps, 0.21 Mbps, 31.45 pps
Statistics for network device: eth1
Attempted packets: 1826
Successful packets: 1826
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
【问题讨论】: