-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passive Mode for Monitor Mode-only Devices #197
Comments
It doesn't matter if the device support packet injection or not, because we send packets to be injected via a RAW socket. But it is mandatory that kernel and driver support ioctl() system calls!!!
#192 (comment) There is also an option "force" to ignore ioctl() system call related warnings:
It is mandatory that hcxdumptool has direct access to the device. It will not work on NETLINK, emulators or wrappers! BTW: I think we can close this feature request, because it depend on the kernel configuration and the capabilities of the driver. |
After compiling my kernel (based on LineageOS 18.1) with WEXT and CRDA enabled, airmon-ng simply crashes my device and a hard reboot occurs, whereas before without the extensions it actually put the chipset into monitor mode and was usable with airodump-ng and other tools. Thanks for clarifying. |
That is very interesting. airmon-ng use iw to set monitor mode and iw use NETLINK. What happens (kernel compiled without WEXT) if you set monitor mode as mentioned here: |
The output of iw will give us more information. Please try:
Now set monitor by iw (replace wlp39s0f3u1u6 with your interface name):
Next step is to restart the device and set monitor mode as mentioned here: Activating CRDA is mandatory only if you need injecting capabilities on 5GHz band, which is not allowed by a standard kernel. BTW: |
@s00se what device are you using? |
@strasharo Currently testing this with a Pixel 5 on persona build of LineageOS 18.1 |
Presence of Wireless Extensions is mandatory. |
I have removed identifying information:
After issuing
The interface is actually put in RFMON, as I can see packets just fine using
|
Do note, I am calling Setting monitor mode using |
There is no mac80211 stack hcxdumptool can work on: Please also notice that airodump-ng and iw are running NETLINK and hcxdumptoll not. |
To clarify it: |
Is it possible to include an override to only allow passive mode collection for devices that do not have packet injection but do support RFMON, like many Android devices running qcacld-3.0
The text was updated successfully, but these errors were encountered: