tcpreplay icon indicating copy to clipboard operation
tcpreplay copied to clipboard

[Feature] add options to send n-th packet

Open terurin opened this issue 3 years ago • 0 comments

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

terurin avatar Oct 19 '21 11:10 terurin