Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.52 KB

ReadMe.md

File metadata and controls

26 lines (23 loc) · 1.52 KB

Packet Sniffer

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.

Usage

sudo python3 sniffer.py interface Press Ctrl + C to stop the application.

Format of Output

Format of packets captured:

Source IP:
Destination IP:
IP Protocol used:
If protocol is TCP or UDP
   Source Port Number:
   Destination Port Number

Format of counts of each packet transmitted between the two unique sources:

Source IP <---> Destination IP : Protocol, Number of packets exchanged

References