Decode Promiscuous WiFi Packet

bonchenko

Decode Promiscuous WiFi Packet

Postby bonchenko » Mon May 25, 2015 11:43 am

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.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Decode Promiscuous WiFi Packet

Postby ESP_Faye » Wed May 27, 2015 11:16 am

Hi,

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

Sorry for the inconvenience.

bonchenko

Re: Decode Promiscuous WiFi Packet

Postby bonchenko » Wed Jun 17, 2015 11:29 am

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?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Decode Promiscuous WiFi Packet

Postby ESP_Faye » Thu Jun 18, 2015 11:03 am

Hi,

Thanks for your interest in ESP8266 !

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

Who is online

Users browsing this forum: No registered users and 105 guests