pcap_inject() ruins my handmade packets

Adrian Chadd adrian at freebsd.org
Sun Oct 26 02:54:21 UTC 2014


On 25 October 2014 18:05, clutton <clutton at zoho.com> wrote:
> On Thu, 2014-10-23 at 17:32 -0700, Adrian Chadd wrote:
>> Which version of FreeBSD are you using?
>>
>> I only recently fixed raw frame injection in monitor mode in
>> FreeBSD-11. How are you trying to do raw frame injection?
>>
>>
>> -adrian
>>
>
> Any ideas? Why this doesn't work for me using pcap and works using
> sockets?
> https://www.kernel.org/doc/Documentation/networking/mac80211-injection.txt
>
> As I understand monitor mode can be used for injections now, is it
> right?
>
> As I remember some discussion here (a long time ago) said that the
> monitor mode is for monitoring :) and people should use other modes for
> injections. But since new pcap API was introduced, we can see that the
> monitor mode is not only for monitoring.

It should be working. I haven't coded anything up recently to use
monitor mode and inject, but I do know it now works.



-adrian


More information about the freebsd-wireless mailing list