radiotap.netbsd.org archive mirror
 help / color / mirror / Atom feed
* radiotap header used in packet injection on monitor mode
@ 2014-01-28  9:51 krama
       [not found] ` <loom.20140128T105036-85-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: krama @ 2014-01-28  9:51 UTC (permalink / raw)
  To: radiotap-sUITvd46vNxg9hUCZPvPmw

Hi,

In our internal tests we make use of monitor mode (on wireshark) for all the
debugging, especially with security related issues (as packets are
already decrypted).

As i am "injecting the packet on to the network" using a "simulator" built
by own (very similar to the file2air) with the help of lorcon library, there
we are setting the radiotap header as 14 bytes and writing the buffer on to
the sockets and sending the frame.

But when the same frame is captured in wireshark is having different header
length. Why is it happening so ?

Is it the problem in setting the radiotap header arguments in lorcon or what.

Thanks & Regards
Krama

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: radiotap header used in packet injection on monitor mode
       [not found] ` <loom.20140128T105036-85-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2014-01-28 10:10   ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2014-01-28 10:10 UTC (permalink / raw)
  To: krama; +Cc: radiotap-sUITvd46vNxg9hUCZPvPmw

On Tue, 2014-01-28 at 09:51 +0000, krama wrote:

> As i am "injecting the packet on to the network" using a "simulator" built
> by own (very similar to the file2air) with the help of lorcon library, there
> we are setting the radiotap header as 14 bytes and writing the buffer on to
> the sockets and sending the frame.
> 
> But when the same frame is captured in wireshark is having different header
> length. Why is it happening so ?

This is not the right list for such questions, and I see you've already
posted to the Linux list(s) anyway.

johannes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-28 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-28  9:51 radiotap header used in packet injection on monitor mode krama
     [not found] ` <loom.20140128T105036-85-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2014-01-28 10:10   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).