Date: Sun, 10 Aug 2014 01:28:22 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Rui Paulo <rpaulo@freebsd.org> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: [rfc] INJECT mode for net80211 Message-ID: <CAJ-Vmon9G8wVJOtJdnQpQr-JkDgs_LFwnfvqTB69%2BU0eT8m2=w@mail.gmail.com> In-Reply-To: <CAJ-Vmo=Z0JQfKzrngdtgMfwNs5CWczB5KXJdSe-wgz0beGy6Jw@mail.gmail.com> References: <CAJ-VmonhQwdQcTcEGrvwiTBDxiaOUAGYo=g%2BTaACR9oJaAh8Bw@mail.gmail.com> <80DB3DCF-496E-4596-B9F3-4D86AC82DEC5@FreeBSD.org> <CAJ-Vmom0OQtLvcCp5TS12ag5M65gsS8=gV8JOKJ%2B0Q_8AqypMA@mail.gmail.com> <CAJ-Vmo=Z0JQfKzrngdtgMfwNs5CWczB5KXJdSe-wgz0beGy6Jw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
... interesting. Ok, so: * if I just "remove" sam's patch there, monitor mode works to inject; * I've patched kismet so it reads the radiotap data using the example parser and added XCHANNEL support - so now it actually works nicely; * aircrack-ng from ports doensn't send - it's triggering on this in net80211: wh = mtod(m, struct ieee80211_frame *); if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != IEEE80211_FC0_VERSION_0) senderr(EIO); /* XXX */ .. I haven't looked into why yet. * but, aircrack-ng built from source works, save for when it tries to transmit too quickly after changing channels. Ok, so I'm going to just revert that change for now and see about figuring out some other way to enforce regulatory concerns on monitor mode transmit. (Likely by allowing receive, but failing transmit on non-regulatory channels.) I'll speak to the Kismet author here tomorrow and see about getting this replacement radiotap parser in so it works correctly again in FreeBSD. And as for aircrack-ng - guess I'll poke the port maintainer. -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmon9G8wVJOtJdnQpQr-JkDgs_LFwnfvqTB69%2BU0eT8m2=w>