Module pcap_to_object1
[hide private]
[frames] | no frames]

Module pcap_to_object1

source code

pcap_to_object1

Generate a serialized graph object from the pcap file.

This script uses Pylibpcap which is faster than pcapy. So it is recommended to use this script instead of using pcap_to_object.py

http://sourceforge.net/projects/pylibpcap/

http://sourceforge.net/projects/pylibpcap/


Version: $Revision: 0.1 $

Date: $Date: 2009/02/20 $

Author: Jerome Hussenet, Cedric Bonhomme

Copyright: Copyright (c) 2009 Jerome Hussenet, Copyright (c) 2009 Cedric Bonhomme

License: Python

Functions [hide private]
 
decode_ip_packet(s)
Decode IP packets
source code
 
pcap_to_object(pcap_file, obj_file)
Create a Python serialized graph object.
source code
Function Details [hide private]

pcap_to_object(pcap_file, obj_file)

source code 

Create a Python serialized graph object.

Read the pcap file given in parameter, extracts source and destination IP and write a serialized graph object.