On Mon, Mar 9, 2009 at 2:22 PM, <n.s.but...@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 <learningpyt...@aol.com> wrote: >> >> Hello >> 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@python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -Anand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers