From owner-freebsd-net@FreeBSD.ORG Fri Oct 8 12:29:39 2010 Return-Path: Delivered-To: net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id CD05C1065670; Fri, 8 Oct 2010 12:29:39 +0000 (UTC) Date: Fri, 8 Oct 2010 12:29:39 +0000 From: Alexey Dokuchaev To: Paul B Mahol Message-ID: <20101008122939.GA52927@FreeBSD.org> References: <4763016D.7060100@janh.de> <20101006100335.GA26843@FreeBSD.org> <20101007094918.GA15399@FreeBSD.org> <20101008091633.GA21612@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Brandon Gooch , Adrian Chadd , net@freebsd.org Subject: Re: Monitor mode not working for iwi(4) on 7.X X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 12:29:39 -0000 On Fri, Oct 08, 2010 at 11:48:57AM +0000, Paul B Mahol wrote: > On 10/8/10, Alexey Dokuchaev wrote: > > On Thu, Oct 07, 2010 at 12:44:20PM +0000, Paul B Mahol wrote: > >> Monitor and injection work commpletly different after vap. > >> > >> I do not think that kismet and aircrack-ng from ports are patched at all. > > > > This is at least partially true; SVN trunk of aircrack-ng behaves better > > than 1.1 version from ports (WRT infamous wi_write() problem). I will > > work out patches for the port after kernel side will get fixed. > > Heh, you are wrong, svn trunk of aircrack-ng is broken versus > wi_write() "problem". > > Look at "famous" ticket number 666 Oh, that's right, I think I've been testing SVN trunk with this patch applied (maybe with =| MONITOR hunk, which I found in another version of similar patch). Without a patch injection test fails immediately, before wi_write() gets a chance to trigger. > Injection on FreeBSD (I forgot exact revision) will work only in AHDEMO mode. > Unlike before you can not inject in MONITOR mode. I've seen people say this, but I could not find more elaborative answer. I am also not sure about AHDEMO mode, since iwi(4) reports this for me: $ ifconfig iwi0 list caps iwi0=25818300 ./danfe