This repository contains a network analyzer and speed test application built using Python and Streamlit. The application provides two main functionalities: packet capture for network analysis and speed testing to measure the download and upload speeds of your network connection.
You can access the live demo of the application here.
- Packet Capture: Analyze network packets flowing through your chosen interface. View source and destination IP addresses, protocol, and packet length.
- Speed Test: Measure the download and upload speeds of your network connection using Speedtest.net.
Before running the application, make sure you have the following dependencies installed:
- Streamlit:
pip install streamlit - Psutil:
pip install psutil - Speedtest-cli:
pip install speedtest-cli
- Clone this repository to your local machine:
git clone https://github.com/deepankarvarma/network-analyzer.git - Install the required dependencies mentioned above.
- Navigate to the project directory:
cd network-analyzer - Run the application:
streamlit run app.py - Access the application in your web browser at
http://localhost:8501.
Once you launch the application, you will see a web interface with two options:
-
Packet Capture: Select this option to capture and analyze network packets.
- Choose an interface from the dropdown menu.
- Click the "Start Capture" button to begin capturing packets.
- The captured packet information will be displayed on the screen, including the source IP, destination IP, protocol, and packet length.
-
Speed Test: Select this option to measure your network's download and upload speeds.
- Click the "Run Speed Test" button.
- The application will perform a speed test using Speedtest.net and display the download and upload speeds in Mbps.