want to export some of the packets from a big pacp file to another file.

Anders Wegge Keller wegge at wegge.dk
Thu Apr 5 13:59:50 EDT 2018


På Thu, 5 Apr 2018 08:06:10 -0700 (PDT)
supswain at gmail.com skrev:
> Hi,
> 
> I am using dpkt python package to parse .pcap file and I am able to do
> successfully.
> 
> My requirement is to filter some of the traffic from the big .pcap file
> and to export the result to another file.
> 
> I don't know how to do this.

 What kind of filtering do you need? In many cases it would be faster and
more convenient to use wireshark or other similar tools as a pass-through
filter, rather than rolling your own. 

-- 
//Wegge


More information about the Python-list mailing list