tcpreplay
tcpreplay copied to clipboard
[Feature] add options to send n-th packet
I want to send n-th packet or n-th to m-th packets. But ' −−limit m' option send only 1-th to m-th packets.
If I send only 2-th packet, commands are like this.
tshark -r original.pcap -w selected.pcap -Y "frame.number == 2"
sudo tcpreply selected.pcap
I want like this
sudo tcpreply original.pcap -n 2
# sudo tcpreply original.pcap -n 2-3,5