parsing .pcap files

Astan Chee stanc at al.com.au
Fri Jun 6 10:41:54 CEST 2008


Hi,
Im using pyflag to parse .pcap files. Pyflag displays the data part of 
the .pcap file in binary and I was wondering what this means. How do I 
decode the 'data' part of the packet without using external libraries? 
What does these non-alpha numerical information mean? Is there a 
(python) dictionary/documentation somewhere that I can use to parse this 
data?
Thanks again.
Cheers
Astan
PS: I've attached the .pcap file that Im using to test and the python 
file as well.

-- 
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."



Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PCAP.py
Type: text/x-python
Size: 28968 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20080606/d6596f41/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcap_py.pcap
Type: application/octet-stream
Size: 1838 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20080606/d6596f41/attachment.obj>


More information about the Python-list mailing list