The Tcpreplay suite includes the following tools:
- - multi-pass pcap file pre-processor which determines packets as client or server and creates cache files used by tcpreplay and tcprewrite
- - pcap file editor which rewrites TCP/IP and Layer 2 packet headers
- - replays pcap files at arbitrary speeds onto the network
- - Replays network traffic stored in a pcap file on live networks using new TCP connections
- - replays & edits pcap files at arbitrary speeds onto the network
- - bridge two network segments with the power of tcprewrite
- - raw pcap file decoder and debugger
除了tcpliveplay以外,其他工具都只是单纯的发包,不会建立TCP连接,也不会维护SEQ/ACK,tcpliveplay测试了一下也没有成功?
tcpliveplay eth0 52716.pcap 10.125.52.26 fa:16:3e:f1:5c:28 random
tcpreplay --intf1=eth0 52716.pcap
参考链接: