Skip to main content

Real-time network traffic visualization on a 2D map or 3D globe

Project description

SharkScope

Real-time network traffic visualization. See your connections flow across a 2D world map or 3D globe as they happen.

Features

  • Real-time visualization - Watch network traffic flow on a 2D world map or 3D globe
  • Geographic mapping - See where your connections are going with automatic IP geolocation
  • Process detection - Know which apps are making each connection (macOS/Linux)
  • Packet recording - Record traffic to pcap files for analysis in Wireshark
  • Auto-updating GeoIP - Database downloads automatically, no account required
  • Dark mode UI - Clean interface with real-time animations

Requirements

  • Python 3.9+
  • Wireshark/tshark - For packet capture

Installation

pip install sharkscope

Install Wireshark

SharkScope uses tshark (Wireshark's command-line tool) for packet capture.

macOS:

brew install --cask wireshark

Ubuntu/Debian:

sudo apt install tshark

Windows: Download from wireshark.org

Usage

# Start SharkScope (opens browser automatically)
sharkscope

# Specify port
sharkscope --port 9090

# Don't open browser
sharkscope --no-browser

# Update GeoIP database
sharkscope --update-geoip

# Run in demo mode (no tshark required)
sharkscope --demo

The GeoIP database downloads automatically on first run. Use --update-geoip to refresh it.

Command Line Options

Option Description
-p, --port PORT Port to run on (default: 5762)
--host HOST Host to bind to (default: 127.0.0.1)
--no-browser Don't auto-open browser
--no-geoip Run without geographic mapping
--update-geoip Download/update GeoIP database
--demo Demo mode with simulated data
-v, --version Show version

How It Works

  1. Packet Capture - Uses tshark to capture network packets
  2. GeoIP Lookup - Maps IP addresses to geographic locations using GeoLite2
  3. Process Detection - Uses lsof to identify which applications own connections
  4. Visualization - Renders connections on an interactive 3D globe or 2D map

License

MIT License - see LICENSE for details.

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sharkscope-0.1.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sharkscope-0.1.0-py3-none-any.whl (236.0 kB view details)

Uploaded Python 3

File details

Details for the file sharkscope-0.1.0.tar.gz.

File metadata

  • Download URL: sharkscope-0.1.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sharkscope-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f7cb03d0c4d343975cd942c7fb4ecfc754e27dc495ee1b07478fd55a80d903e
MD5 b9a276111458844df0d1e91bfa60f241
BLAKE2b-256 7437095e7246e4a03f49299f6cdc42534312ad82995ed28fb61b2d05b42a4586

See more details on using hashes here.

File details

Details for the file sharkscope-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sharkscope-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 236.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sharkscope-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b97930ae499169de6043b897eee3694006c11ee53f6f8b9c4fcc5d6ee42d6c8
MD5 280591fa66d999608c36af7961587c79
BLAKE2b-256 2dd456556aa304c07e082b8273846d0ceeeaa9b54266dc9d0b34962395d30ed8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page