I noticed two bugs:
1) Monitor mode hangs the system randomly, and what is interesting that this
bug disappears if I patch the driver with packet injection patch from G?bor Stefanik.
I noticed this bug, after I removed his patch to see if it caused some problems.
Always reproducible, usually hangs just after airodump launch.
2) If I enable monitor mode regardless of injection patch, the scanning results got garbaged,
iwlist scan reports > 100 quality on most APs, or 0% quality on my router, shows extremely low and hi power levels, like
-127dBm or 160 dBm, and those levels change rapidly.
This why I removed the injection patch, I suspected it, but this bug appears to be not related to it.
Injection patch from G?bor Stefanik <[email protected]> attached
(I modified the patch to apply on latest wireless -git, but patch is the same)
I use iw to create new monitor interface and use it.
Best regards,
Maxim Levitsky
On Mon, Jun 23, 2008 at 11:10 AM, Maxim Levitsky
<[email protected]> wrote:
> I noticed two bugs:
>
> 1) Monitor mode hangs the system randomly, and what is interesting th=
at this
> bug disappears if I patch the driver with packet injection patch from=
G=E1bor
> Stefanik.
> I noticed this bug, after I removed his patch to see if it caused som=
e
> problems.
> Always reproducible, usually hangs just after airodump launch.
Something tries to transmit on the monitor interface, which is
impossible without the injection patch. However, the method used for
preventing TX in monitor mode is incorrect (it just drops the packet
silently, without notifying mac80211, which, in the absence of an ACK,
tries to retransmit the packet - an obvious infinite loop). This is
what causes the freeze. (Do you have networkmanager running? That
often tends to interfere with monitor interfaces.)
>
> 2) If I enable monitor mode regardless of injection patch, the scanni=
ng
> results got garbaged,
> iwlist scan reports > 100 quality on most APs, or 0% quality on my ro=
uter,
> shows extremely low and hi power levels, like
> -127dBm or 160 dBm, and those levels change rapidly.
> This why I removed the injection patch, I suspected it, but this bug =
appears
> to be not related to it.
Does this also happen if you create an extra managed or AP (AP
requires a patch to mac80211) interface, or is it specific to monitor
interfaces?
>
>
> Injection patch from G=E1bor Stefanik <[email protected]> attac=
hed
> (I modified the patch to apply on latest wireless -git, but patch is =
the
> same)
>
> I use iw to create new monitor interface and use it.
>
> Best regards,
> Maxim Levitsky
>
--=20
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
Stefanik G=E1bor wrote:
> On Mon, Jun 23, 2008 at 11:10 AM, Maxim Levitsky
> <[email protected]> wrote:
>> I noticed two bugs:
>>
>> 1) Monitor mode hangs the system randomly, and what is interesting t=
hat this
>> bug disappears if I patch the driver with packet injection patch fro=
m G=E1bor
>> Stefanik.
>> I noticed this bug, after I removed his patch to see if it caused so=
me
>> problems.
>> Always reproducible, usually hangs just after airodump launch.
>=20
> Something tries to transmit on the monitor interface, which is
> impossible without the injection patch. However, the method used for
> preventing TX in monitor mode is incorrect (it just drops the packet
> silently, without notifying mac80211, which, in the absence of an ACK=
,
> tries to retransmit the packet - an obvious infinite loop). This is
> what causes the freeze. (Do you have networkmanager running? That
> often tends to interfere with monitor interfaces.)
I have it running, I will test without it.
>=20
>> 2) If I enable monitor mode regardless of injection patch, the scann=
ing
>> results got garbaged,
>> iwlist scan reports > 100 quality on most APs, or 0% quality on my r=
outer,
>> shows extremely low and hi power levels, like
>> -127dBm or 160 dBm, and those levels change rapidly.
>> This why I removed the injection patch, I suspected it, but this bug=
appears
>> to be not related to it.
>=20
> Does this also happen if you create an extra managed or AP (AP
> requires a patch to mac80211) interface, or is it specific to monitor
> interfaces?
If I create any interface, managed/ibss/monitor nothing bad happens.
But when I turn the mon0 up (ifconfig mon0 up), this happens.
I can't turn on other interfaces (managed/ibss), ifconfig complains tha=
t interface is busy
I think that it isn't allowed to run two managed interfaces in same tim=
e, don't know why.
Best regards,
Maxim Levitsky
Maxim Levitsky wrote:
> I noticed two bugs:
>=20
> 1) Monitor mode hangs the system randomly, and what is interesting th=
at=20
> this
> bug disappears if I patch the driver with packet injection patch from=
=20
> G=E1bor Stefanik.
> I noticed this bug, after I removed his patch to see if it caused som=
e=20
> problems.
> Always reproducible, usually hangs just after airodump launch.
>=20
> 2) If I enable monitor mode regardless of injection patch, the scanni=
ng=20
> results got garbaged,
> iwlist scan reports > 100 quality on most APs, or 0% quality on my=20
> router, shows extremely low and hi power levels, like
> -127dBm or 160 dBm, and those levels change rapidly.
> This why I removed the injection patch, I suspected it, but this bug=20
> appears to be not related to it.
I noticed that exactly same bug happens if I enable promisc mode on the=
=20
wlan0. Does this give any additional clue why this bug happens?
Best regards,
Maxim levitsky
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've observed that (often?) if you ifconfig wlan0 down before enabling =
=20
monitor/promisc mode, then it seems to not hang the system.
- -Dan
On Jul 9, 2008, at 9:25 AM, Maxim Levitsky wrote:
> Maxim Levitsky wrote:
>> I noticed two bugs:
>>
>> 1) Monitor mode hangs the system randomly, and what is interesting =20
>> that
>> this
>> bug disappears if I patch the driver with packet injection patch fro=
m
>> G=E1bor Stefanik.
>> I noticed this bug, after I removed his patch to see if it caused =20
>> some
>> problems.
>> Always reproducible, usually hangs just after airodump launch.
>>
>> 2) If I enable monitor mode regardless of injection patch, the =20
>> scanning
>> results got garbaged,
>> iwlist scan reports > 100 quality on most APs, or 0% quality on my
>> router, shows extremely low and hi power levels, like
>> -127dBm or 160 dBm, and those levels change rapidly.
>> This why I removed the injection patch, I suspected it, but this bug
>> appears to be not related to it.
> I noticed that exactly same bug happens if I enable promisc mode on =20
> the
> wlan0. Does this give any additional clue why this bug happens?
>
> Best regards,
> Maxim levitsky
>
> ---------------------------------------------------------------------=
----
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lamenes=
s
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Ipw3945-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipw3945-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAkh077UACgkQy9GYuuMoUJ4dHwCfUMQxWYvXEHTtna7YYZoAHLYw
m4MAoMMjySqqdA8K5UmiwqE83Sr5K+L9
=3Dkx/b
-----END PGP SIGNATURE-----