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 processPOST /stop/{uuid}: Stop a specific sniffer instancePOST /stop-all: Stop all running instancesPOST /restart: Restart with new settingsGET /list: List active sniffer processesGET /health: Health check (unauthenticated)
🛠️ Configuration
JustServer uses environment-based configuration via justserver.daemon.settings. Key settings:
JUSTSERVER_API_KEY: API key for authenticationJUSTSERVER_MAX_INSTANCES: Maximum concurrent sniffer processesJUSTSERVER_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5379281126930c2c59f13ad7622896213ad843b816e264b5f0b400717a825910
|
|
| MD5 |
64d5cc563a21859280f5b4a950513cb8
|
|
| BLAKE2b-256 |
1d9f7101567a7632247d477e101e974083eac13089ebfd53b2b83ba03e5ad019
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c780ee28cc43ed8b446b461786aad24e2e055f427aa81e6b7ad7d1c9bc2fae2
|
|
| MD5 |
94a59ae77d83b31f233c33778b9ec476
|
|
| BLAKE2b-256 |
d933a901366abf00fa4e88f9ae6d0b5be0cb2e89f003440958e380e7329fc000
|