[BangPypers] Implementing Protocol Sniffer in Python.

2009-03-09 Thread learningpython
Hello I am very new to Python and looking forward to implement in Python the ASN.1 protocol sniffer. I need two helps here. 1. Functions to extract the bytes and bits from received from network in a serial input and performing decoding based on the input. 2. How to define the structure, like ASN.

Re: [BangPypers] Implementing Protocol Sniffer in Python.

2009-03-12 Thread learningpython
H > > On Mon, Mar 9, 2009 at 3:50 PM, Radhakrishna Rao wrote: > >> i dont know about ASN.1 but there is a very good network tool >> available in python called scapy. you can check it out at >> http://www.secdev.org/projects/scapy/ >> >> On Mon, Mar 9,

[BangPypers] calling instance of the other class.

2009-06-22 Thread learningpython
Dear Python experts, Please can you help in a following scenario.. I have some classes each for a Protocol Data Unit which you could consider as a structures of elements example class ex1: class usr_mac(MAC_PDU): ''' Group Voice Channel User ''' def __init__(self): self.p

Re: [BangPypers] calling instance of the other class.

2009-06-22 Thread learningpython
ertize in giving me tips so that i have to declare and keep sending above this message over serial port, but each time with different class. I hope i made it bit more clear. Sorry for the confusion. Senthil Kumaran-6 wrote: > > On Mon, Jun 22, 2009 at 04:35:35AM -0700, learningpython wro

Re: [BangPypers] calling instance of the other class.

2009-06-23 Thread learningpython
very similar to concatenation actually. Like i was explained example: "11100" +"" = 11100 will be sent on serial. Please can you confirm me, python sends the big endian model. I mean MSB first. Thank you again Jeff. Jeff Rush wrote: > > learningpython wrote: >

Re: [BangPypers] calling instance of the other class.

2009-06-23 Thread learningpython
un 23, 2009 at 03:50:42AM -0500, Jeff Rush wrote: >> > just pass the & of the another structure in the structure element, some >> > thing close. >> >> The equivalent to the & operator in C is just an object reference in >> Python. >> >

Re: [BangPypers] calling instance of the other class.

2009-06-23 Thread learningpython
say reserve memory . The only idea i get is to have a function within the class of this definition where, i read the ADESC and then allocate value in address. Any other good ideas, please can you let me know. I really appreciate your links. Jeff Rush wrote: > > learningpython wrote: &g

Re: [BangPypers] calling instance of the other class.

2009-06-24 Thread learningpython
bangpyper wrote: > > On Wed, Jun 24, 2009 at 7:42 AM, Jeff Rush wrote: > >> learningpython wrote: >> > Hi Jeff, >> > Can i ask you a related question. Long shot .. >> > but since you have good idea of area i am working ( which is >> communicati

[BangPypers] Python Maintainence code: Debugging, Tracing and Profiling help

2010-01-23 Thread learningpython
Hi Experts, I am back to python after a while of just formal introduction. Thistime i have to manage a huge files with numerous functions, i amdebugging a issue right now and would require to understand the flow ofthe code. Please can you help me on what can i do to have better understandi

Re: [BangPypers] BangPypers Digest, Vol 29, Issue 31

2010-01-29 Thread learningpython
Hi Jeff, Apologies for the delay, Unfortunately this email has gone to my spam folder and could only see fortunately. I am really thankful for the response. What is the website i could log in to see the responses please i have forgotten over the period of time. python.org from there i am t

Re: [BangPypers] BangPypers Digest, Vol 29, Issue 31

2010-01-29 Thread learningpython
Hi Jeff, I am successful in debugging pdb.set_trace() but sys.settrace(), not sure how to add, i am trying in various function with argument as the function name as per ref: http://www.dalkescientific.com/writings/diary/archive/2005/04/20/tracing_python_code.html I work in multifile environ

[BangPypers] (10054, 'Connection reset by peer')

2010-02-11 Thread learningpython
Hello Gurus, I am troubled suddenly with (10054, 'Connection reset by peer') error with same settings, which was working earlier in the day. data,addr = self.mysock.recvfrom(buf) after this step eclipse dies with (10054, 'Connection reset by peer') error. Have tried after restarting

Re: [BangPypers] BangPypers Digest, Vol 30, Issue 25

2010-02-12 Thread learningpython
Hi Gurus, Thank you Kaushiik and Anand The settings i mean are the IP address i am interacting, they remain the same. I am just running my test initiation as usual. What i mean, is there is no change either in the environment where i am running and environment at the remote machine both i

Re: [BangPypers] (10054, 'Connection reset by peer')

2010-02-13 Thread learningpython
Hi Gurus, Thank you Kaushiik and Anand The settings i mean are the IP address i am interacting, they remain the same. I am just running my test initiation as usual. What i mean, is there is no change either in the environment where i amrunning and environment at the remote machine both in m

Re: [BangPypers] (10054, 'Connection reset by peer')

2010-02-14 Thread learningpython
Hi Anand Balachandran, I have posted the file, i have issues to your email account. Let me know if missed something. Thanks -- Anand ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] (10054, 'Connection reset by peer')

2010-02-14 Thread learningpython
Hi Anand Balachandran, It is resolved so don't worry about it.. Reason: The remte host was in stand by mode and i just learned that PING works in standby as it is ICMP message. Cheers .. - Anand -Original Message- From: learningpyt...@aol.com To: bangpypers@python.org Sent

[BangPypers] waiting for Third Party Applications in python

2010-11-18 Thread learningpython
Hi Experts, Step 1: I am using batch file/ Dos commands currently to call a third party appplication to publish a document. Step 2: As of now, i scheduled to run a second set of batch file leaving a long approximate time to allow third party to complete the above task where i get a dialog