Packet Sniffer

Project screenshot

About this project

A lightweight Python-based packet sniffer that captures and analyzes network traffic. This tool allows you to inspect different types of network packets including Ethernet frames, IPv4, ICMP, TCP, UDP, and ARP packets.

I made this project to learn more about network protocols and how they are really structured at the lowest level. This project helped me understand how data is transmitted over the network and how to analyze it. I made it without scapy or any other library to understand how it works under the hood.

Technologies

  • Python
  • Socket
  • Struct module

Key Features

  • Capture raw network packets in real-time
  • Parse and analyze packets, segments, datagrams, and frames