NetGlobe is a command-line tool that visualizes the foreign countries your computer is connected to on a 3D globe. It leverages a Python server, an HTTP server, and geolocation data to display your network connections.
-
Python Server:
- Starts a backend server that runs the
netstat -ancommand to gather foreign IPs your computer is connected to. - Parses the foreign IPs and retrieves the corresponding countries using the IPGeolocation API.
- Starts a backend server that runs the
-
HTTP Server:
- Sends requests to the Python server to retrieve processed data about the foreign connections.
- Serves a 3D globe visualization in your browser.
-
Visualization:
- Opens your browser to display a 3D globe.
- Shows arcs from your IP location to the countries you're connected to.
- Visualization of foreign network connections.
- Interactive 3D globe rendered in your browser.
- Uses geolocation API to map IPs to their respective countries.
Make sure you have the following installed:
- Python3 with modules "requests", "flask" and "flask-cors"
- A modern web browser (e.g., Chrome, Firefox, Safari)
- Access to the IPGeolocation API (API key required)
-
Clone the repository:
git clone https://github.com/ppazosp/netglobe.git cd netglobe -
Set up your IPGeolocation API key:
- Obtain an API key from IPGeolocation.
- Add the key to the python server/netglobe.py file.
-
Run the application:
./bin/netglobe
- Author: ppazosp
- GitHub: ppazosp
- Mentions: nenadV91