2015-02-17 21:41:50

by Mark Gannon

[permalink] [raw]
Subject: Proper Method for Accessing Radiotap Functionality


Since I'm new to this domain, let me start by thanking you for your patience.

I've noticed that libpcap based packet injection software (packetspammer and
reaver) are transmitting packets twice with different radiotap headers between
the original and the duplicate on my box (ath9k). In order to troubleshoot,
I'd like to improve control over the radiotap headers. Packetspammer
includes its own version of the relevant files (e.g ieee80211_radiotap.h) and
reaver does the least possible. While the relevant header files are included
with the kernel, they aren't in the linux-headers package on Gentoo or
included anywhere under /usr/include. I do have nl80211.h file that will let
me query settings, but doesn't understand anything about radiotap.

What is the proper way to include querying and generating radiotap headers?

Thanks in advance for your help.

Regards,

Mark Gannon

--
You have to accept whatever comes, and the only important thing is that you
meet it with the best you have to give.

— Eleanor Roosevelt


Attachments:
signature.asc (181.00 B)
This is a digitally signed message part.

2015-02-17 22:09:12

by Bruno Randolf

[permalink] [raw]
Subject: Re: Proper Method for Accessing Radiotap Functionality

On 02/17/2015 09:32 PM, Mark Gannon wrote:
>
> Since I'm new to this domain, let me start by thanking you for your patience.
>
> I've noticed that libpcap based packet injection software (packetspammer and
> reaver) are transmitting packets twice with different radiotap headers between
> the original and the duplicate on my box (ath9k). In order to troubleshoot,
> I'd like to improve control over the radiotap headers. Packetspammer
> includes its own version of the relevant files (e.g ieee80211_radiotap.h) and
> reaver does the least possible. While the relevant header files are included
> with the kernel, they aren't in the linux-headers package on Gentoo or
> included anywhere under /usr/include. I do have nl80211.h file that will let
> me query settings, but doesn't understand anything about radiotap.
>
> What is the proper way to include querying and generating radiotap headers?

http://git.sipsolutions.net/?p=radiotap.git

http://www.radiotap.org/

bruno