A tool for capturing and analyzing network traffic using Python and Scapy.
-
Clone the repository:
git clone https://github.com/your-username/network-traffic-analysis-tool.git
-
Install dependencies:
pip install -r requirements.txt
To start capturing and analyzing network traffic:
- Ensure you have Python installed.
- Navigate to the project directory.
- Run the main script:
python main.py
- Follow the on-screen instructions to capture and analyze traffic.
- Capture network packets from specified interfaces.
- Analyze packet data to display total traffic, protocol distribution, and top source/destination IPs.
- Visualize traffic data using built-in methods.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.