Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Balachandran Sivakumar
Hi, On Fri, May 4, 2012 at 5:28 PM, Saager Mhatre wrote: > > Just realized that the PyPi links lead nowhere, so here's the link to some > better resources that I could google up => > http://www.secdev.org/projects/scapy/ > Thanks for the link. Will try it out today. Thanks -- Thank yo

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Balachandran Sivakumar
Hi, On Mon, May 7, 2012 at 12:21 PM, Vishal wrote: > Hi, > > is this some standard protocol, if yes, then use a tool like scapy. If this > is non-standard or proprietary packet...I would suggest you to read the > incoming bytes as strings and then use functions like below to extract data

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Vishal
On Mon, May 7, 2012 at 12:31 PM, Balachandran Sivakumar < benignb...@gmail.com> wrote: > Hi, > > On Mon, May 7, 2012 at 12:21 PM, Vishal wrote: > > Hi, > > > > is this some standard protocol, if yes, then use a tool like scapy. If > this > > is non-standard or proprietary packet...I would suggest

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Balachandran Sivakumar
Hi, On Mon, May 7, 2012 at 1:02 PM, Vishal wrote: > One more thing...once you read the incoming bytes as strings, you'll have > to convert them to numbers (using struct.unpack or array.tolist() or > something else) before using the code fragments !! > Yeah, got that part already :) Th

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Vishal
On Mon, May 7, 2012 at 1:34 PM, Balachandran Sivakumar wrote: > Hi, > > On Mon, May 7, 2012 at 1:02 PM, Vishal wrote: > > One more thing...once you read the incoming bytes as strings, you'll have > > to convert them to numbers (using struct.unpack or array.tolist() or > > something else) before

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-05-07 Thread Baiju M
(Reply to an old thread) On Sat, Mar 3, 2012 at 10:47 AM, Baiju M wrote: > On Sat, Mar 3, 2012 at 10:07 AM, Gora Mohanty wrote: > > On 3 March 2012 09:41, Baiju M wrote: > > [...] > >> Sometimes features are very important. I stared using requests for one > >> work, but later I found that it