Use this script to view distinct traffic from IPs and protocols in a running network. Operating with Pyshark, a Wireshark wrapper for Python.
Python v3.x+
pip install -r requirements.txt
Usage: python capture_traffic.py -i eth0 -p 100
Options:
-h, --help show this help message and exit
-i INTERFACE Capture Interface e.g. eth0
-p PACKET_COUNT Packet count for capture e.g. 100
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.