tcpreplay

Replay saved tcpdump files at arbitrary speeds for network testing

brewmacoslinux
Try with needOr install directly
Source

About

Replay saved tcpdump files at arbitrary speeds

Commands

tcpreplaytcpcapinfotcppreptcprewrite

Examples

Replay a tcpdump capture file at normal speed on eth0$ tcpreplay -i eth0 capture.pcap
Replay capture file at 2x speed with multiplier option$ tcpreplay -i eth0 -m 2.0 capture.pcap
Analyze and prepare a capture file for replay with tcpprep$ tcpprep -i capture.pcap -o capture.cache -a client/server