Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 09:07:53 -0800 (PST)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        Sameh Ghane <sw@anthologeek.net>, "M. Warner Losh" <imp@village.org>, will@csociety.org, mobile@FreeBSD.ORG
Subject:   Re: bsd airtools for current, kernel patches
Message-ID:  <200204031707.g33H7sW53697@ambrisko.com>
In-Reply-To: <20020403084114.B6462@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis writes:
-- Start of PGP signed section.
| On Wed, Apr 03, 2002 at 05:13:00PM +0200, Sameh Ghane wrote:
| > Is there any chance to have this support for Aironet drivers too ? The only way
| > I can have similar tools for this card is to use Linux, at the moment, which is
| > sad.
| > 
| > Why is there no generic API for accessing wireless cards ? Are they all that
| > much different ?
| 
| You can snoop raw frames with the Aironet cards by setting the
| appropriate monitor mode in ancontrol.  Most of these tools should be
| fairly straight forward to modify to use libpcap to get frames.

The only caveat is that the Aironet card won't pass up WEP key information
so you can't do wep crack or decrypt raw packets with the card doing the
work.  Only the onboard hardware/firmware can do this.  This seems to be 
confirmed by the Linux users.  I had to do a slight patch to Ethereal/
tcpdump to ignore the WEP key part of the packet and then the disectors 
could follow the data in the packet and follow various streams.  Hmm I 
wonder if I should lie and fake up WEP part so it really looks more like 
a real 802.11 frame?  This is useful for seeing what strange clients
are doing.

I'd love for someone to show me code that proves me wrong so I could
implement it.  Also there is no AP code around for the Aironet cards 
that I've seen.  I've been working on some code to get signal quality
and signal strength from the card.  I know it is possible and have been
guessing at some parts of it.  I used PR kern/32880 as a basis.

I also hacked bsd-wscan2 to do a bit of a site-survey.  This was a
pain since it really has some assumptions based on wicontrol.

Doug A.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204031707.g33H7sW53697>