From owner-freebsd-current@FreeBSD.ORG Tue May 19 13:52:32 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEDCD1065676 for ; Tue, 19 May 2009 13:52:32 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9E16E8FC22 for ; Tue, 19 May 2009 13:52:31 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id EC4BF3A581 for ; Tue, 19 May 2009 15:35:16 +0200 (CEST) Received: from i011-63.fin-nrw.de (i011-63.fin-nrw.de [193.109.238.130]) by 0x20.net (Horde MIME library) with HTTP; Tue, 19 May 2009 15:35:16 +0200 Message-ID: <20090519153516.yki2cyqpwg48sk04@0x20.net> X-Priority: 3 (Normal) Date: Tue, 19 May 2009 15:35:16 +0200 From: Lars Engels To: freebsd-current@freebsd.org References: <4A11A08B.6090309@errno.com> In-Reply-To: <4A11A08B.6090309@errno.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_6wapwxlldbks"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Subject: Re: 802.11 monitor mode changes coming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 13:52:33 -0000 This message is in MIME format and has been PGP signed. --=_6wapwxlldbks Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Sam Leffler : > The patch here: > > http://people.freebsd.org/~sam/monitor-20090518.patch > > has significant changes to monitor mode operation. Most importantly it > replaces DLT_IEEE802_11 support in net80211 by DLT_IEEE802_11_RADIO and > removes the latter from the underlying device. The upshot is that you > can no longer do: > > tcpdump -i ath0 > > instead you will now need a wlanX ifnet; e.g. > > ifconfig wlan create wlandev ath0 wlanmode monitor channel 6 up > tcpdump -i wlan0 -y IEEE802_11_RADIO > > This addresses the longstanding issue that applications like kismet > that want radiotap data needed to open two ifnets, one to receive data > and one to do channel changes. My main concern is whether losing > DLT_IEEE802_11 support will affect any apps. Those that depend on it > should be easy to change; you just request a different DLT and strip > the radiotap header from tap'd frames (or similar). > > In sweeping the drivers to do these changes I've made radiotap support > more consistent and improved some drivers. Drivers not tested so far: > malo, ipw, wpi, and upgt. I tested iwi and it appears broken in that > no frames are rx'd but I'm not sure I'll look at it before 8.0. > > I plan to commit these changes by the end of the week. > > Sam Thanks, this should improve operability of aircrack-ng, too. I will try this tomorrow. --=_6wapwxlldbks Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkoStZQACgkQKc512sD3afiKXQCgnXhbQxozDkONr1ORG2hJdl9S nwIAoLua4ceSQLHPB8bHT0esekXV/kZg =g65P -----END PGP SIGNATURE----- --=_6wapwxlldbks--