Parse a Wireshark pcap file

Grant Edwards grant.b.edwards at
Fri Dec 30 12:00:02 EST 2016

On 2016-12-27, 1991manish.kumar at <1991manish.kumar at> wrote:
> I have a pcap file, I want to parse that file & fetch some
> information like Timestamp, Packet Size, Source/Dest IP Address,
> Source/Dest Port, Source/ Dest MAC address.

I've been using pylibpcap for ages.  It's a bit old, but still works
fine for me:

There's also pypcap:

Grant Edwards               grant.b.edwards        Yow! Now KEN and BARBIE
                                  at               are PERMANENTLY ADDICTED to
                                MIND-ALTERING DRUGS ...

More information about the Python-list mailing list