
Python wtap module
------------------

this is a simplified object-oriented Python wrapper for libwiretap -
the packet trace file reading interface in Ethereal. this module
provides a simplified pcap-compatible interface to read various packet
trace files in the following formats: tcpdump (libpcap), NAI's Sniffer
(compressed and uncompressed), Sniffer Pro, NetXray, Sun snoop and
atmsnoop, Shomiti/Finisar Surveyor, AIX's iptrace, Microsoft's Network
Monitor, Novell's LANalyzer, RADCOM's WAN/LAN Analyzer, HP-UX nettl,
i4btrace from the ISDN4BSD project, Cisco Secure IDS iplog, the pppd
log (pppdump-format), the AG Group's / WildPacket's
EtherPeek/TokenPeek/AiroPeek, or Visual Networks' Visual UpTime. It
can also read traces made from Lucent/Ascend WAN routers and Toshiba
ISDN routers, as well as the text output from VMS's TCPIPtrace utility
and the DBS Etherwatch utility for VMS. Any of these files can be
compressed with gzip and wtap will decompress them on the fly.

if your libwiretap installation is somewhere else, edit the setup.py
appropriately. then just 'make' and 'make install'.

example use:

>>> import wtap
>>> for ts, pkt in wtap.wtap('/tmp/foo.pcap'):
...     print ts, `pkt`
... 

-d.

---
http://monkey.org/~dugsong
