开发者

How to restore data from a pcap file?

I have foll开发者_开发知识库owing file: test_network.pcap: tcpdump capture file (little-endian) - version 2.4 (Ethernet, capture length 65535)

I know that in this file are few video streams. How do I extract them?

[The file is ~180 GB]


  1. Use a Pcap library (libpcap, WinPcap, Pcap.Net)
  2. Extract the TCP over IP over Ethernet.
  3. Reconstruct the TCP stream (see Reconstructing data from PCAP sniff).
  4. Save the TCP stream data to a file.

Try some Pcap TCP reconstruction tools:

http://www.codeproject.com/KB/IP/TcpRecon.aspx

http://code.google.com/p/pcap-reconst/


There are tools developed to achieve your goal, some of these are open source, for example:

  • Xplico : Linux and big pcaps files
  • NetworkMiner: Windows and Linux


You can check following link for understad pcap specification: PCAP especification

This website could be useful for you: tcpdump.org

Also you can use c++ library: libpcap++

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜