Ticket #364 (closed defect: wontfix)
Conflict by working with lorcon-lib on same Atheros device
| Reported by: | p0chk@… | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.9.2 |
| Component: | airodump-ng | Version: | 0.9.1 |
| Keywords: | dev_type lorcon arphdr prism radiotap | Cc: |
Description
Hi, guys, i've met some trubles by trying make airodump working on same device with my tool which uses lorcon lib (802.11ninja.net/lorcon/) to inject packets. As i've found out things are like that: lorcon sets dev_type (/proc/sys/net/athX/dev_type) to RADIOTAP and airodump-ng sets dev_type to PRISM (which was specially added after this ticket: trac.aircrack-ng.org/ticket/199)
So, what i have is: if my tool (any tool based on lorcon lib) starts first then when airodump-ng starts my tool is no more able to inject packets because dev-type has changed to PRISM
if airodump starts first then when my tool starts airodump stops processing incoming packets because dev_type gas changed to RADIOTAP and airodump waits for PRISM headers...
Meanwhile Airodump-ng understands RADIOTAP headers perfectly well. If i comment out the code in airodump which changes dev_type to PRISM everithing is OK. (maybe the power of signal is not displayed, but i don't care)
So what i suggest is
to add some option to implicitly change dev-type or to check periodicaly if dev_type has changed. if it has then to process headers of incoming packets accordingly.
