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.46.tar.gz (8.6 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.46-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: justserver-0.1.46.tar.gz
  • Upload date:
  • Size: 8.6 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.46.tar.gz
Algorithm Hash digest
SHA256 3c3b374fa31f34447d9261b6aac5b0181e6c7fceafeeddc1b0da40f8bff5a474
MD5 aa4b49e775ddc7528dc89f2e84042fb7
BLAKE2b-256 3af1dc6957bea9286fc9cc75625a120a5f3dc7ff9ae5860d9a0a57eb60b75f31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: justserver-0.1.46-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.46-py3-none-any.whl
Algorithm Hash digest
SHA256 1758b88b8061a88eed09f152eb4a434885c6bea31af6be391d907805ad3c5e1d
MD5 b146df9b7fce5a00dee7760c68dc4ca1
BLAKE2b-256 5ffbe9bd53a4c1eaebdde63fc9cc17898d800689d0bc0411ccbfc85f39ccdf90

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