How to code a Packet Sniffer in C with Linux Sockets – Part 2
In the previous part we made a simple sniffer which created a raw socket and started receiving on it. But it had few drawbacks : 1. Could sniff only incoming data. 2. Could sniff only TCP or UDP or ICMP or any one protocol packets at a time. 3. Ethernet headers were not available. In… Read More »