Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 15:15:45 +0000
From:      Paul B Mahol <onemda@gmail.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Brandon Gooch <jamesbrandongooch@gmail.com>, Adrian Chadd <adrian@freebsd.org>, net@freebsd.org
Subject:   Re: Monitor mode not working for iwi(4) on 7.X
Message-ID:  <AANLkTi=7qqOAM7c_rH=GwzYf%2BqOePZ9dFixNpYmjm0kN@mail.gmail.com>
In-Reply-To: <20101008122939.GA52927@FreeBSD.org>
References:  <4763016D.7060100@janh.de> <20101006100335.GA26843@FreeBSD.org> <AANLkTimZD%2B8Ex2FL2cb_Z%2BTOpJV-87Z8xXhLSwtqYWmn@mail.gmail.com> <20101007094918.GA15399@FreeBSD.org> <AANLkTin08906BqMCJU2eEbpmfx=POO85c1D02EnSYLC8@mail.gmail.com> <AANLkTi=cq=WdMAFTra1BNjnmLGyw9Eja5szxHbZPK959@mail.gmail.com> <20101008091633.GA21612@FreeBSD.org> <AANLkTim6sgBZWwkRzzTA6sURzWa-x8LL6N0f=zOxt8f7@mail.gmail.com> <20101008122939.GA52927@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

On 10/8/10, Alexey Dokuchaev <danfe@freebsd.org> wrote:
> On Fri, Oct 08, 2010 at 11:48:57AM +0000, Paul B Mahol wrote:
>> On 10/8/10, Alexey Dokuchaev <danfe@freebsd.org> 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<IBSS,PMGT,SHPREAMBLE,MONITOR,WPA1,WPA2,WME,BGSCAN>

I'm talking about after VAP, not about 7.X, where that does not apply.

Support for AHDEMO is somehow similar to MONITOR, look how bwn(4) does it.
It is very straightforward.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=7qqOAM7c_rH=GwzYf%2BqOePZ9dFixNpYmjm0kN>