…guys in range of your wireless network with laptop stickers like this (click for full resolution):

The above shot was taken of me at last night’s Linux users’ group meeting, and Gimp’d up this afternoon (slow day). I was mostly ignoring the presentation (because it was “What is Linux”, not because of bad presentation skills. Greg did a great job.). Instead I was trying to figure out libpcap-ruby. I’m new to Ruby, so I just sort of skimmed the pickaxe book and dove right into writing a sniffer. Personally I don’t really understand why a packet’s .raw_data member wouldn’t contain the headers, but not the TCP payload, but I’m not too concerned with it since I finally noticed the .tcp_data member.

I think it’s going take some tweaking and getting-used-to before I really dig irb as much as I like ipython. I often use ipython as my interface when I’m using python code I’ve written. Rather than having a set of scripts that I edit to do whatever I need, I tend to write python functions for tasks, load them up in ipython, and use them interactively. That way I can shuffle the data around in a more ad-hoc manner, stuff it out to a file when I need to, and basically just play the part of a script myself. It looks like irb is what I’ll be doing the same activities in with Ruby, but I’m just not as good at it yet :) .

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
© 2012 McGrew Security Suffusion theme by Sayontan Sinha