[BangPypers] Implementing Protocol Sniffer in Python.
Anand Balachandran Pillai
abpillai at gmail.com
Mon Mar 9 09:57:40 CET 2009
On Mon, Mar 9, 2009 at 2:22 PM, <n.s.buttar at gmail.com> wrote:
>> 1. Functions to extract the bytes and bits from received from network in a
>> serial input and performing decoding based on the input.
> - libpcap (or WinPcap) is the library to sniff network traffic. There
> are couple of python wrappers over libpcap. I have used Pcapy
> (http://oss.coresecurity.com/projects/pcapy.html) and it does the job
> pretty well.
For any packet capture/inspection pypcap, dpkt is a good
combination. pycap is libpcap extension for capturing packets
and dpkt is for inspecting/parsing packets.
>> 2. How to define the structure, like ASN.1 where further messages are based
>> on the No which is processed dynamically ex length of messages definer
>> further Calling IDs, etc.
> -ASN1 tools for python http://pyasn1.sourceforge.net/
> On Mon, Mar 9, 2009 at 2:08 PM, learningpython <learningpython at aol.com> wrote:
>> I am very new to Python and looking forward to implement in Python the ASN.1
>> protocol sniffer.
>> I need two helps here.
>> Can someone help me..
>> learning python
>> View this message in context: http://www.nabble.com/Implementing-Protocol-Sniffer-in-Python.-tp22409023p22409023.html
>> Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com.
>> BangPypers mailing list
>> BangPypers at python.org
> BangPypers mailing list
> BangPypers at python.org
More information about the BangPypers