Ethereal

Re: [Ethereal-users] libPCAP file Format
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-users: July 2005


LEGO wrote:
If you need to capture use Net::Pcap.

Even if he *doesn't* need to capture he should consider using Net::Pcap, because...


the file has a header like

...that might not remain true forever:

	http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html

and (at least for pcap-NG files with only one link-layer type), libpcap will be updated to support reading those files with the existing APIs. (New APIs will be needed to fully support pcap-NG; those APIs will also support existing libpcap format.)

Also, using Net::Pcap might be easier than writing your own code to read libpcap files.


Powered by MHonArc 2.6.10