Vespid Documentation¶
Vespid is a lightweight, high-performance security platform for Linux
systems running nftables. It consists of two components:
| Component | Purpose |
|---|---|
| Vespid Agent | Node-level daemon — tails local logs, detects brute-force and reconnaissance activity, manages nftables blocklists, syncs external threat feeds, and communicates with the server for fleet-wide sharing. |
| Vespid Server | Centralized dashboard — receives events from agents, provides real-time SSE streaming, fleet blocklist propagation, centralized rule/config management, threat intelligence orchestration, and a web UI with HTMX and Chart.js. |
Getting started¶
New to Vespid? Start with the Quickstart Guide to get a single agent and server running in under 10 minutes.
Quick links¶
Agent¶
- Agent Guide — installation, configuration, detection rules, fleet sharing, management modes
- Agent CLI Reference — all
vespid-clicommands with examples
Server¶
- Server Guide — installation, configuration, dashboard pages, enrollment, centralized rules
- Server API Reference — REST API endpoints (ingestion, heartbeat, commands, SSE, fleet, intel)
- Fleet Blocklist Sharing — propagation engine, corroboration, SSE, offline queuing, recidive
- Auto-Enrollment — zero-touch agent credential provisioning
- Detection Rule Packs — built-in and Sigma-converted detection rules
- Noise Suppression — reducing false positives in host threat detection
- Inventory (CMDB) — asset tracking, entity resolution, relationships
- Deployment — MySQL backend, Gunicorn sizing, database backup, troubleshooting
Security features¶
- Host Threat Detection — auditd-based process monitoring, kill chain timeline, threat scoring
- Alert Manager — PromQL and check-based alerting with Slack, email, webhook, and PagerDuty
- Intelligence Pipeline — IP reputation scoring, multi-vector detection, block lifecycle tracking
Reference¶
- Architecture — how the agent and server fit together
- Building & Packaging — Debian/RPM packaging and Nuitka compilation
- Sigma Rule Integration — converting Sigma rules into Vespid detection packs
- Centralized Config Management — profiles, rollouts, conflict resolution
- HAProxy Logging — HAProxy log parsing and detection
- Allowlist Convergence — how allowlists sync across agent and server
- Threading Architecture — agent threading model
- Connection Debug Monitor — server connection diagnostics
Supported platforms¶
- Linux distros: AlmaLinux, RHEL, Rocky, Debian, Ubuntu, SUSE, openSUSE (automatic distro detection with correct default log paths)
- Python: 3.10+
- Database (server): SQLite (zero-config) or MySQL/MariaDB 8.0+
- Firewall: nftables (firewalld coexistence supported)
Project layout¶
vespid/
├── vespid/ # Agent source
├── vespid-server/ # Server source (Flask + HTMX)
├── docs/ # Documentation (you are here)
├── config/ # Example config files
├── data/ # Shared data (country codes)
├── debian/ # Debian packaging
├── rpmbuild/ # RPM build artifacts
├── tests/ # Agent test suite
└── mkdocs.yml # This doc site config