This script is designed to perform various network-related tests, including checking the public IP, running a speed test, checking ping status, conducting a trace route, verifying OpenVPN TLS configuration, checking for packet loss, and performing a DNS leak test.
- Get the public IP address using an external API.
- Run a speed test to measure download and upload speeds.
- Check the ping status to verify network connectivity.
- Perform a trace route to analyze the route to a destination.
- Verify OpenVPN TLS configuration and display the result.
- Check for packet loss using the ping command.
- Conduct a DNS leak test to identify potential leaks.
- Python 3.x installed.
- Required Python libraries installed (requests, speedtest, tkinter, json, os, subprocess, termcolor, cryptography, scapy, dotenv).
-
Clone this repository:
git clone https://github.com/Manoj-2702/SE-Project.git cd SE Project
-
Install the required Python libraries:
pip install -r requirements.txt
-
Create a
.env
file with the following variables:DESTINATION_HOST="google.com" CONFIG_PATH=path/to/openvpn/config.ovpn API_ENDPOINT=https://api.ipify.org?format=json
Adjust the values accordingly.
-
Run the script:
python main3.py
-
Follow the instructions in the Tkinter GUI to perform various network tests.
This project is licensed under the MIT License.
Feel free to contribute or report issues!