Network Traffic Analyzer is a Python-based tool that analyzes network traffic captured in PCAP files. It provides valuable insights into the communication between different IP addresses, the distribution of network protocols, and potential port scanning activities. The application aims to aid network administrators and security experts in identifying network-related issues and security vulnerabilities.
- Analyze network traffic from PCAP files
- Calculate total bandwidth used
- Display protocol distribution
- Identify top IP address communications
- Detect potential port scanning activities
In the future, the Network Traffic Analyzer will include the following features:
- Plotting graphs w.r.t IP
- Calculating latency, packet loss, throughput, jitter, network utilization, and error rates
-
Clone the repository:
-
Navigate to the project directory: cd network-traffic-analyzer
-
Install the required dependencies: pip install -r requirements.txt
To analyze a PCAP file, run the following command:
python Network_traffic_analyzer.py <path_to_pcap_file> <port_scan_threshold>
Replace <path_to_pcap_file>
with the path to your PCAP file, and <port_scan_threshold>
with the desired threshold for detecting port scanning activities.
We welcome contributions from the community! If you'd like to contribute, please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/my-feature
) - Commit your changes (
git commit -m 'Add my feature'
) - Push to the branch (
git push origin feature/my-feature
) - Open a Pull Request
This project is licensed under the MIT License.
- Scapy for packet processing capabilities
- Pandas for data manipulation and analysis
- Matplotlib for creating graphs and visualizations