TrafficWatch - TrafficWatch, A Packet Sniffer Tool, Allows You To Monitor And Analyze Network Traffic From PCAP Files

 Mr robot
Asalamu alaikum guys mr robot back again with new tutorial today I will going to show you how to install and use TrafficWatch, a packet sniff er tool.


TrafficWatch, a packet sniffer tool, allows you to monitor and analyze network traffic from PCAP files. It provides insights into various network protocols and can help with network troubleshooting, security analysis, and more.


  • Protocol-specific packet analysis for ARP, ICMP, TCP, UDP, DNS, DHCP, HTTP, SNMP, LLMNR, and NetBIOS.
  • Packet filtering based on protocol, source IP, destination IP, source port, destination port, and more.
  • Summary statistics on captured packets.
  • Interactive mode for in-depth packet inspection.
  • Timestamps for each captured packet.
  • User-friendly colored output for improved readability.


  • Python 3.x
  • scapy
  • argparse
  • pyshark
  • colorama


1'Clone the repository:

$ git clone

2 Navigate to the project directory:

$ cd cd TrafficWatch

Install the required dependencies:

$ pip install -r requirements.txt


$  python3 --help                                    

Packet Sniffer Tool

-h, --help            show this help message and exit
-f FILE, --file FILE  Path to the .pcap file to analyze
                     Filter by specific protocol
-c COUNT, --count COUNT
                     Number of packets to display
-w WRITE, --write WRITE
                     Path to the .pcap file to write

To specify a protocol filter (e.g., HTTP) and limit the number of displayed packets (e.g., 10), use:

$ python -f path/to/your.pcap -p HTTP -c 10


  • -f or --file: Path to the PCAP file for analysis.
  • -p or --protocol: Filter packets by protocol (ARP, ICMP, TCP, UDP, DNS, DHCP, HTTP, SNMP, LLMNR, NetBIOS).
  • -c or --count: Limit the number of displayed packets.
  • -w or --write: Path to the .pcap file to write.

Post a Comment

Post a Comment (0)