Write a Linux packet sniffer from scratch: part one- PF_PACKET socket and promiscuous mode
BackgroundWhen we refer to network packet sniffer, some famous and popular tools come to your mind, like tcpdump. I have shown you how to capture network packets with such tools in my previous article
Chris Bao's Blog