Skip to main content

No project description provided

Project description

JustServer

JustServer is a FastAPI-based service designed to manage multiple justniffer network sniffing instances in a concurrent, secure, and efficient manner. It exposes a simple RESTful interface for starting, stopping, listing, and restarting sniffers across network interfaces.

🚀 Features

  • 🔐 API key protection on all operational routes
  • 🧵 Parallel instance handling
  • ⚙️ Dynamic justniffer process spawning with configurable filters and encodings

📦 API Endpoints

All operational endpoints are secured via the X-API-Key header.

  • POST /start: Launch a new justniffer process
  • POST /stop/{uuid}: Stop a specific sniffer instance
  • POST /stop-all: Stop all running instances
  • POST /restart: Restart with new settings
  • GET /list: List active sniffer processes
  • GET /health: Health check (unauthenticated)

🛠️ Configuration

JustServer uses environment-based configuration via justserver.daemon.settings. Key settings:

  • JUSTSERVER_API_KEY: API key for authentication
  • JUSTSERVER_MAX_INSTANCES: Maximum concurrent sniffer processes
  • JUSTSERVER_JUSTNIFFER_CMD: Base justniffer executable command

🧪 Example Usage

curl -X POST http://localhost:8000/start \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"interface": "eth0", "filter": "tcp port 80"}'

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

justserver-0.1.44.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

justserver-0.1.44-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file justserver-0.1.44.tar.gz.

File metadata

  • Download URL: justserver-0.1.44.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-60-generic

File hashes

Hashes for justserver-0.1.44.tar.gz
Algorithm Hash digest
SHA256 5379281126930c2c59f13ad7622896213ad843b816e264b5f0b400717a825910
MD5 64d5cc563a21859280f5b4a950513cb8
BLAKE2b-256 1d9f7101567a7632247d477e101e974083eac13089ebfd53b2b83ba03e5ad019

See more details on using hashes here.

File details

Details for the file justserver-0.1.44-py3-none-any.whl.

File metadata

  • Download URL: justserver-0.1.44-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-60-generic

File hashes

Hashes for justserver-0.1.44-py3-none-any.whl
Algorithm Hash digest
SHA256 7c780ee28cc43ed8b446b461786aad24e2e055f427aa81e6b7ad7d1c9bc2fae2
MD5 94a59ae77d83b31f233c33778b9ec476
BLAKE2b-256 d933a901366abf00fa4e88f9ae6d0b5be0cb2e89f003440958e380e7329fc000

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