python-packet-sniffer python3 packetsniffer.py Points to be noted : Run the code with administrative priviledges to work smoothly. Use python 3 to execute without errors. It can detect TCP,UDP,ICMP packets and unpacks the headers and displays in User readable format