Packet sniffer implemented in Python3 that allows users to monitor traffic runnning through the local network. After every 10 seconds, the application outputs the counts of each packet transmitted between the two unique sources in the session are printed to the stdout. When the user decides to close the session, the summary that includes information such as the total number of packets transmitted during the session and a list of all the packets exchanged between two unique sources are also printed.
sudo python3 sniffer.py interface
Press Ctrl + C
to stop the application.
Source IP:
Destination IP:
IP Protocol used:
If protocol is TCP or UDP
Source Port Number:
Destination Port Number
Source IP <---> Destination IP : Protocol, Number of packets exchanged