mbakholdina / lib-tcpdump-processing

Library designed to process .pcap(ng) tcpdump or Wireshark trace files and extract SRT packets of interest for further analysis
15 stars 3 forks source link

Handle pcap files #23

Closed maxsharabayko closed 4 years ago

maxsharabayko commented 4 years ago

Some capture files have *.pcap instead of *.pcapng. Scripts does not handle this extension. Renaming the pcap file helps.

  File "lib-tcpdump-processing/tcpdump_processing/convert.py", line 54, in convert_to_csv
    raise IsNotPcapngFile(
tcpdump_processing.convert.IsNotPcapngFile: srt-frametime-cest.pcap does not correspond to .pcapng file
mbakholdina commented 4 years ago

Hi @maxsharabayko, fixed by https://github.com/mbakholdina/lib-tcpdump-processing/commit/460a3a2b5559a10ae0f7763e6a8f101116c27d8b. Available in the latest master.