How do we get the packets that are not sent to local device from the application layer through the promiscuous mode?
Posted: Thu Apr 19, 2018 1:39 am
I have read:
Can application layer get packets that are not sent to the local deviece? If application layer can,how to achive?The promiscuous model, also known as sniffer, is also called the sniffer model. It is to receive all packets that pass through the NIC, including the packets that are not sent to the local device. By default, the network card only transfers the packets sent to the local device(including broadcast packets) to the upper program, and the other packets are discarded. To put it simply, promiscuous mode means that NIC can accept all data flows through it, no matter what format and address. In fact, when the device receives a packet, it is judged by the network layer, determining whether to submit the upper (transport layer) or discarding or forwarding the lower layer (the data link layer, the MAC sublayer). ESP32 can provide a promiscuous mode to sniff the air message and process it.