Python Network Sniffer This project is a simple Python-based network sniffer that captures and analyzes network traffic. It uses the Scapy library to craft, send, and receive packets. The sniffer is capable of filtering and displaying specific types of network traffic, making it a useful tool for network analysis and troubleshooting.
Features Packet Sniffing: Capture network packets in real-time from a specified network interface. Packet Filtering: Filter captured packets based on protocol types, such as TCP, UDP, and ICMP. Detailed Packet Analysis: Provides detailed information about captured packets, including source and destination IPs, ports, and protocol-specific data.
Requirements Scapy: The packet manipulation library used for capturing and analyzing packets.
Install Scapy with pip: pip install scapy
Run the Sniffer:
python3 main.py