[Tutor] Getting singal strength of the received packet

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Jul 20 08:30:30 CEST 2005

On Tue, 19 Jul 2005, sunny sunny wrote:

> In C I have seen some programs such as kismet etc where c programs could
> be written to get the SS from the card. The idea probably is to read the
> prism 2 header from the driver. This I guess is a bit more lower than
> the "raw socket" where we can get the MAC layer frame.


John Leach did mention starting to write a GNOME client for Kismet in


I don't know how far his work as gone into making Kismet's data available
from Python, but at least it looks like it's possible in theory.  It looks
like Kismet provides a server architecture that we might be able to take
advantage of.  In fact, there's already a project in Perl for this called


and there's nothing really tricky in there (most of the stuff in
Connection.pm and PacketWindow.pm look pretty straightforward).

gkismet reads very well --- they've abstracted things cleanly --- and
their source code makes it pretty clear how things work.  Once Kismet's up
and running, they open a regular socket to Kismet (looks like Kismet's
server runs on port 2501, perhaps?), and then start doing regular socket

There's a good Python socket HOWTO here:


There's probably not much (except for human motivation) that stops one
from using Kismet from Python.  It would make an interesting project for
someone with time.  *grin*

Hope this helps!

More information about the Tutor mailing list