Date: Sat, 25 Oct 2014 19:54:18 -0700 From: Adrian Chadd <adrian@freebsd.org> To: clutton <clutton@zoho.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: pcap_inject() ruins my handmade packets Message-ID: <CAJ-Vmonv9t5UcVgNnyvKz5wqaxgOojLO_pYhaAkXaAGxRAvTuA@mail.gmail.com> In-Reply-To: <1414285536.12280.6.camel@eva02.mbsd> References: <1414110110.1395.14.camel@eva02.mbsd> <CAJ-Vmo=b7xgFHseZJbUpLYY%2B%2BFh2jt6D74dPw6BYtaKBHA=%2BUQ@mail.gmail.com> <1414285536.12280.6.camel@eva02.mbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25 October 2014 18:05, clutton <clutton@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmonv9t5UcVgNnyvKz5wqaxgOojLO_pYhaAkXaAGxRAvTuA>