Is there any easy way to create a pcap file for the packets related to a specific datetime range maybe using tshark
, tcpdump
or another commandline tool?
tshark -R
with frame.time
seems promising but I haven't been able to work that out yet...
EDIT
The final command:
editcap -F libpcap -A "2013-07-20 23:00:00" -B "2013-07-20 23:20:00" input.pcap output.pcap