/Network-Packet-Sniffer

A network packet sniffer built with the help of 'scapy', a python based module which is built entirely dedicated to capturing, handling and analyzing network traffic.

Primary LanguagePythonMIT LicenseMIT

Network-Packet-Sniffer

A network packet sniffer built with the help of 'scapy' module which is entirely dedicated to capturing, handling and analyzing network traffic. User has the flexibility to enter the interface to capture the traffic from, the number of packets to sniff, the time interval to the sniffer to be running(time interval to capture the packets in). The application will log the traffic information it captures in a text file and hence user enters the name of the file. The 'packet_log' function filters the packets based on the protocol that user has chosen and saves the packets of that protocol in the log file. This data stored in the file will have every detail of the traffic that is flowing through the interface.

Logical Flow Diagram:

Logical Flow Diagram

Application Execution: Running The Application1

Generating ARP and ICMP Traffic: Generating ICMP and ARP packets