Getting mqtt data from wifi
Need to look at mqtt packets from various devices. Packets come in as 802.11 and I have seen two examples of them being broken down into regular packets that can be filtered, but can't figure out how. One example is https://medium.com/@alexharasic/hijac..., the other one is https://iotbytes.wordpress.com/captur.... Must be something in the configuration I'm missing, but don't know what
Are you capturing on the device transmitting and receiving the MQTT data or are you capturing on another device and attempting to sniff the WiFi transmissions?
Ultimate goal is to decode LG HVAC communication. Right now I'm using a Raspberry Pi3 with Kali Linux and modified kernel for monitor mode. Home network is Mosquitto talking to other Pis and Wemos temperature sensors and Sonoff switches running Tasmota firmware. Used Wireshark about 5 years ago, but never for 802.11.
To confirm, "for monitor mode" means you're sniffing transmissions on other devices.
If that's the case then you should look at the Wiki page on WLAN capturing.
Sharing a capture on a public fileshare, e.g. Google Drive, DropBox etc.), and posting a link to it back here will help others to analyse your issue.
Had to make another network for sending a trace....
Devices:
Trace was captured while I cycled power to the Sonoff 5 times. Temperature from Wemos then was raised from 68.3 to 69.2 F, (TelePeriod sends data every 15 seconds), then the trace was terminated.
Terminal command:
tcpdump -1 wlan0mon -w tcdump
Trace run from Raspberry Pi3+ Kali Linux with patched kernel for monitor mode on internal wifi controller.
https://www.dropbox.com/s/bp7s3z9u155...