Reputation: 13
the latest tcpreplay still only support to replay a file(files).
for example the command is tcpreplay -i eth0 sample.pcap sample1.pcap
I have over 100 pcaps that need to replay. they r all under folder is there a way to let tcpreplay plays all files under one directory ( including files from all sub-directories)
Upvotes: 0
Views: 1134
Reputation: 11
You can use regex:
In case there are other files:
tcpreplay -i eth0 *pcap
Or in case only pcaps are there:
tcpreplay -i eth0 *
Upvotes: 1