Page 1 of 1

Decode Promiscuous WiFi Packet

Posted: Mon May 25, 2015 11:43 am
by bonchenko
Hello, I am using ESP8266 to act as a logger to find devices that are using my LAN network. I can get this module to sniff wifi packets promiscuously, but now I need to decode the raw packets so that I know the IP and MAC address that are using my network.

My question is, is there any method to decode this packet offline? I want to make sure that these packets do contain IP and MAC address. I will work on how to implement the decoder once I am sure its available in the packet. I tried to use Wireshark -> Import Hex Dump -> use encapsulation type ranging from Ethernet, 802.11 Wireless LAN, 802.11 Wireless LAN with radio information.

I also attached the hex dump log here:
Image
Image

Also, does anybody knows whether if I can get IP address and MAC address of the packet sender from the packet that i get? I am afraid that the packet is not the full OSI layer packet.

Re: Decode Promiscuous WiFi Packet

Posted: Wed May 27, 2015 11:16 am
by ESP_Faye
Hi,

We only return the head of packet now, it doesn't contain the IP address.

Sorry for the inconvenience.

Re: Decode Promiscuous WiFi Packet

Posted: Wed Jun 17, 2015 11:29 am
by bonchenko
What do you mean by head of packet? How can I get MAC and IP address from the sniffed packets? Any plan to include this or maybe what should I do so I can get the IP and MAC address?

Re: Decode Promiscuous WiFi Packet

Posted: Thu Jun 18, 2015 11:03 am
by ESP_Faye
Hi,

Thanks for your interest in ESP8266 !

We don't get MAC and IP address in sniffer now ,so sorry for the inconvenience.