Date: Sat, 9 Aug 2014 23:41:32 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: [rfc] INJECT mode for net80211 Message-ID: <CAJ-VmonhQwdQcTcEGrvwiTBDxiaOUAGYo=g%2BTaACR9oJaAh8Bw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi! I kinda got fed up with the lack of functioning inject. * monitor mode isn't inject mode; * ahdemo mode seems .. less useful. So I just created IEEE80211_M_INJECT and taught net80211 / ath about it. This is like monitor mode (straight to RUN, no need to set an SSID, no auto scanning by default) but it allows transmit and populates the node table with temporary node entries. So: http://people.freebsd.org/~adrian/ath/20140809-net80211-ath-inject-1.diff I'd like to commit this in the next couple of days. I've also tested this with aircrack-ng - the built port didn't work with monitor mode modified to inject frames. I don't know why. Rebuilt from source worked fine. I've just modified my local copy to set the IFM_IEEE80211_INJECT flag rather than monitor flag and it seems it's all okay. The only issue I've seen with packet injection is that aircrack-ng isn't waiting until the interface is up before trying to send frames, so some are rejected rather than buffered. -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonhQwdQcTcEGrvwiTBDxiaOUAGYo=g%2BTaACR9oJaAh8Bw>