我有一个用Wireshark捕获的pcap文件,其中包含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 发布于 2017-05-03 19:25:32
它可能是Tcpreplay中的一个bug,也可能是您捕获的一个问题。我建议记录这个问题的这里。包括tcpreplay -V的输出。另外,将数据包捕获重命名为.txt后缀,您将能够将其上传到该问题上。
https://stackoverflow.com/questions/43753735
复制相似问题