Vespid Nest

Centralized fleet management & threat intelligence

A Flask/HTMX-powered web dashboard that gives you complete visibility into your entire server fleet. Real-time event monitoring via SSE, live node health dashboards, intelligent alerting, geographic threat visualization, IP intelligence search, and centralized configuration management — all powered by a lightweight server with SQLite or MySQL.

24 nodesConnected
3 SSEReal-time streams
94k IPsIntel DB
~147 MBServer RAM
vespid-nest status
────────────────── Vespid Nest ──────────────────

  dashboard  online
  version    1.1.0
  nodes      connected=24  active=22  degraded=2
  sse        events=1,847  fleet=12  config=8
  geo db    maxmind  synced 3h ago

  Today's Activity
    Events ingested  12,847
    Blocks triggered  429
    Fleet propagations  87
    Unique attackers  312

  Threat Intelligence
    IPs in database  94,281
    Threat feeds  12 (6 categories)
    Repeat offenders  43
    Multi-vector IPs  28

  Top Attack Vectors
    ▸ SSH brute force      (47%)
    ▸ HTTP path scanning   (22%)
    ▸ HAProxy probes       (16%)
    ▸ SMTP enumeration     (9%)
    ▸ Web app attacks      (6%)
Live Dashboard

Your entire fleet, one pane of glass

Real-time dashboards. Live event streams. Node-level drill-down. All updated via SSE — no page refreshes needed.

Fleet Health Overview

At-a-glance view of every node: connection status, daemon uptime, nftables set sizes, active blocks, feed sync age, CPU and memory usage. Color-coded health indicators with real-time SSE updates. Degraded and offline nodes are highlighted immediately.

Real-Time Event Stream

Every detection, block, unblock, feed sync, and config change streams to the browser in real time via Server-Sent Events. Filter by node, event type, severity, or time range. Sub-second propagation from kernel block to screen.

Node Performance Metrics

Per-node CPU, memory, disk, and nftables utilization. Track daemon health, log processor throughput, event bus queue depth, feed sync latency, and auditd event rates. Historical trend graphs with Chart.js.

Service Health Monitoring

Know which services are monitored per node — SSH, HTTP, SMTP, HAProxy — with log tailing health, parser error rates, and rule match counts. Detect log rotation failures and stalled processors instantly.

Geographic Visualization

Map-based view of attacker source locations using MaxMind GeoLite2 databases. Country-level and ASN-level aggregation. Filter by time range, event type, and threat score. Click any cluster for a detailed breakdown.

Trend Analytics

24-hour, 7-day, and 30-day trend charts for event volume, block rates, unique attackers, and top attack vectors. Identify patterns and seasonal attack variations across your fleet.

Event Pipeline

Event ingestion, streaming, and export

Every detection event flows through a pipeline designed for speed, reliability, and real-time visibility.

01

Ingest

Nodes POST events to /api/v1/events in batched JSON format. Each event carries node_id, timestamp, source_ip, event_type, action_taken, and geo_data. Rate-limited and validated at the API layer.

02

Persist

Events are written to SQLite (WAL mode for concurrent reads) or MySQL/MariaDB. The server maintains counters, aggregates, and materialized views for dashboard performance.

03

Stream

The SSE manager fans out events to all connected browser sessions. Three isolated SSE channels: dashboard events, fleet block propagation, and config push — each with its own fan-out manager and reconnection buffer.

04

Export

Events can be exported as CSV or JSON via the API. Saved queries allow you to bookmark and replay specific filtered views of event history.

Three dedicated SSE channels

Dashboard Events

Real-time detection and block events pushed to browser dashboards. Sub-second latency from kernel block to on-screen display.

Fleet Block Propagation

Corroborated fleet blocks pushed to all subscribed agents. Ensures attacker IPs are blocked fleet-wide within seconds of detection.

Config Push

Configuration profile changes streamed to server-managed agents. Atomic apply with rollback on failure. Canary rollouts supported.

Alerting

Intelligent alerting — know when it matters

Configurable alert rules, multiple delivery channels, escalation policies, and maintenance windows.

Critical

Node Offline

Triggered when a node's heartbeat is missing for more than the configured threshold. Includes last-known status, uptime before failure, and geolocation.

Default threshold: 90s
Warning

High Block Rate

Fires when a node's block rate exceeds the configured threshold over a sliding window. Could indicate an active attack targeting that specific server.

Default threshold: 50 blocks / 10m
Warning

Feed Sync Failure

Triggered when a threat feed subscription fails to sync after multiple retries. Ensures your blocklists stay current.

Default threshold: 3 consecutive failures
Info

Certificate Expiry

Warns when SSL/TLS certificates monitored by agents are approaching expiry. Configurable lead time for planning renewals.

Default lead: 14 days
Warning

Disk Usage

Alerts when disk usage on any monitored mount point exceeds the configured threshold. Prevents service outages from full disks.

Default threshold: 90%
Critical

Sigma Rule Match

High-severity auditd Sigma rule matches trigger immediate alerts. Includes full process tree context for incident response.

Configurable per rule set

Delivery channels

Email
Slack
PagerDuty
Webhooks

Escalation policies, maintenance windows, and per-rule silencing supported for all channels.

Threat Intelligence

Built-in IP intelligence database

Every IP your fleet encounters is tracked, scored, and searchable. Full sighting history, reputation scoring, and multi-vector detection.

IP Intelligence Search

Look up any IP address to see its complete history: times seen, times blocked, block episodes with timestamps, reporting nodes, geographic origin (country, city, ASN, ISP), six-signal reputation score, threat tags, and raw request volume.

Six-Signal Reputation Score

Each IP receives a reputation score from 0 (benign) to 100 (malicious) based on six signals: block ratio, fleet breadth (how many nodes reported it), request volume, recency of activity, threat tag diversity, and repeat-offender status. A multi-vector bonus amplifies scores for IPs attacking across 3+ distinct services.

Block Lifecycle Tracking

Every block event is tracked with full lifecycle: block, unblock, reblock cycles with episode counters. IPs are classified as Active (currently blocked), Inactive (previously blocked, now clear), or Repeat Offender (2+ block episodes). Cross-node correlation identifies IPs attacking multiple servers.

Multi-Vector Detection

Identifies IPs launching multiple distinct attack types across your fleet — SSH brute force + HTTP probing + SQLi + SMTP enumeration. Three or more distinct vectors trigger automatic "Multi-Vector" badging and escalation in search results.

Threat Feed Management

12 pre-seeded threat intelligence feeds across 6 categories (FireHOL Level 1-3, Spamhaus DROP/EDROP, abuse.ch SSL Blacklist, URLhaus, Zeus Tracker, etc.). Centrally deploy to your fleet, track IP counts per node, manage custom feeds from the catalog.

Threat Tagging & Policy Actions

Automatic and manual threat tags (brute_force, scanner, botnet, tor_exit, known_attacker, multi_vector). Tags inform reputation scoring and trigger fleet-wide policy actions. Manual override supported for incident response.

Configuration Management

Centralized config — define once, push everywhere

No more SSHing into every server to edit jail.local. Define config profiles on Nest and push them to your entire fleet atomically.

Configuration Profiles

Define complete configuration profiles on the Nest server covering log sources, brute force rules, custom rules, correlation rules, subscription feeds, allowlist, fleet blocklist settings, and telemetry settings. Profiles are versioned and support layered merging with per-node overrides.

  • Versioned profiles with audit trail
  • Layered merging: profile + per-node overrides
  • Server-managed mode for automatic push
  • Conflict resolution: server-wins, local-wins, or merge

Atomic Rollouts

Configuration changes are pushed to managed agents with automatic rollback on failure. Agents apply the new config, validate it, and report success. If validation fails or the agent crashes, the previous config is restored automatically.

  • Canary rollouts — test on a subset of nodes first
  • Per-node filtering — only relevant rules per service
  • Hot-reload — no daemon restart needed
  • ETag-based conditional polling — no wasted bandwidth

Rule distribution pipeline

01

Create

Admin creates/edits rules on Nest dashboard

02

Poll

Agents poll GET /api/v1/rules/distribution with ETag

03

Merge

Agent merges server rules with local config (layer or replace)

04

Hot-Reload

Detector atomically swaps — zero downtime, no restart

Auto-Enrollment

Nodes enroll themselves. No pre-distributed keys needed.

Eliminate the manual step of creating API keys, copying them to config files, and restarting daemons.

1

Agent starts

Agent has no API key (or the default placeholder). It sends POST /api/v1/enroll with its node_id and hostname.

2

Server processes

Based on the active mode: open (immediate approval), manual_approval (queued for admin), or restricted (requires pre-shared token).

3

Credentials issued

Agent receives credentials, persists to /var/lib/vespid/credentials.json (mode 0600), and begins normal operation.

4

Key rotation

On 401 responses, the agent automatically rotates credentials without re-enrollment. The server can revoke keys at any time via the admin panel.

Open

Credentials issued immediately, no approval needed. Ideal for labs, trusted networks, and rapid deployment.

Manual Approval

Request queued until an admin approves it. Default mode for production. Includes pending request dashboard in admin panel.

Restricted

Requires a pre-shared enrollment token. High-security environments with strict access control.

Technology

Built with Flask + HTMX + SQLite

No JavaScript build tooling, no external database required, no complex infrastructure.

Flask

Python web framework with blueprint-based route organization (auth, api, dashboard, fleet, intel, rules, config, enrollment, admin).

HTMX

Server-rendered HTML with partial-page updates. No SPA framework, no JSON API for dashboard views, no client-side state management.

Chart.js

Client-side charting for event trends, block rates, attack vector breakdowns, and node performance metrics.

SQLite / MySQL

SQLite WAL mode for development and small deployments. MySQL/MariaDB for production at scale. Transparent abstraction layer via db_compat.py.

Gevent Workers

Cooperative greenlets for massive I/O concurrency. Single worker multiplexes thousands of idle SSE connections with near-zero overhead.

RBAC

Role-based access control with three tiers: admin, analyst, viewer. Granular permission management via admin panel.

Get Started

Deploy Nest in minutes

SQLite for zero-config startup. MySQL for production scale.

Install Vespid Nest

# Add the Vespid package repository once:
# https://www.vespid.app/#get-started

# RHEL / AlmaLinux / Rocky
sudo dnf install vespid-server

# Debian / Ubuntu
sudo apt update
sudo apt install vespid-server

# Start the dashboard
sudo systemctl enable --now vespid-server

# The install creates the database and admin user.
# The generated admin password is printed during installation.
journalctl -u vespid-server -f

# Open http://your-server:5000 in your browser

Requirements

Python 3.11+ (installed automatically on EL9)
SQLite (default) or MySQL 8.0+
gunicorn + gevent for production
Optional: VictoriaMetrics + agents