v1.1.0 — Open Source

Autonomous threat detection and kernel-enforced blocking for your Linux fleet

Vespid is a lightweight security daemon that detects attacks in real time, blocks attackers at the kernel level via nftables, and shares intelligence across your entire fleet — with no cloud dependency.

<60 MBRAM per node
160+ rulesBuilt-in detections
0 cloudNo dependencies
8 packsService rule packs
vespid-cli status
────────────────── Vespid Shield ──────────────────

  node_id       web-01
  version       1.1.0
  nft table     inet shield  available
  shield_local  47 entries  (dynamic, per-element TTL)
  shield_subscribed  15,432 entries  (feed-driven)
  fleet blocks  23 fleet-wide  6 ingested locally

  Last 24h
    Observed  128  |  Blocks  94  |  Repeat offenders  12

  Fleet
    mode        report + subscribe
    block TTL   1h  |  queue pending  0

  Detection Packs
    ▸ apache-attacks    (14 rules)
    ▸ nginx-attacks     (10 rules)
    ▸ openssh-attacks   (9 rules)
    ▸ postfix-attacks   (9 rules)
    ▸ haproxy-attacks   (14 rules)
    ▸ sigma-web-attacks     (37 rules)
    ▸ sigma-ssh-attacks     (1 rule)
    ▸ sigma-host-threats    (70+ rules)
Three Modules, One Ecosystem

Use them together, or independently

Shield secures individual nodes. Agent collects telemetry and runs checks. Nest gives you centralized visibility, threat intelligence, and analytics.

Vespid Shield

Security Daemon

On-node log parser that detects brute force, reconnaissance, and multi-vector attacks with sliding-window analysis. Blocks at the kernel level via nftables. Supports Auditd + Sigma rules for advanced host threat detection.

<60 MB RAM 160+ rules 8 rule packs
Explore Monitor →

Vespid Agent

Telemetry Platform

Rust-based collector for CPU, memory, disk, network, systemd, PSI, and process metrics. Runs synthetic HTTP/TCP/ICMP/DNS/SSL checks from worker nodes. Custom exec scripts and logfile pattern watching.

~15 MB binary 12 collectors 5 check types
Explore Agent →

Vespid Nest

Fleet Dashboard

Centralized web dashboard with real-time SSE event streaming, live node health monitoring, intelligent alerting (email, Slack, PagerDuty), IP intelligence search, six-signal reputation scoring, and centralized config management.

Flask + HTMX 3 SSE channels RBAC
Explore Nest →
Features

Everything you need to secure your servers

Vespid combines real-time detection, kernel-level blocking, fleet-wide intelligence sharing, and centralized management in a single lightweight daemon.

Sliding-Window Detection

Three time windows catch every pace of attack: fast brute force (5 in 60s), medium (4 in 10m), and slow-and-low (5 in 6h). Configurable thresholds per rule.

Fleet Block Sharing

When one node detects an attacker, the block propagates across the fleet in seconds via SSE. Attackers can't pivot between servers. Offline queue with automatic replay.

Regex Detection Rules

Define custom detection rules with regex patterns. Built-in parsers for SSH, Apache, NGINX, Postfix, and HAProxy logs. Deploy YAML rules via config or push from the server.

Block Subscription Lists

Subscribe to external threat feeds (FireHOL, Spamhaus, abuse.ch). Automatic refresh, deduplication against allowlist, atomic sync to nftables sets.

Dual nftables Sets

shield_local for dynamic blocks with per-element TTL expiry, and shield_subscribed for feed-driven lists replaced atomically. No cron cleanup needed.

Repeat-Offender Escalation

Progressive bans: 24h → 3d → 7d → 30d. Strike counts decay after a clean period. Persistent attackers get longer bans automatically. Configurable tiers.

Multi-Vector Correlation

Catches attackers who spread activity across services — SSH banner grab + HTTP probe + SMTP check — each below threshold individually, but flagged when correlated.

Centralized Config Management

Profiles with layered merging. Feeds, rules, and whitelist entries layer on baselines. Atomic push with rollback on failure. Hot-reload, no restarts.

Auto-Enrollment

Nodes self-register without pre-distributed API keys. Open, manual-approval, or restricted modes. Credential rotation without re-enrollment.

HAProxy Log Analysis

Parse HAProxy HTTP and TCP log formats. Detect auth brute force, path probes, SQLi, RCE attempts, TLS probes, and scanner user agents. Custom log format support.

Event Telemetry Bus

Thread-safe DataBus batches events with canonical schema. Spools to disk when offline, replays on reconnect. Prometheus-format metrics for Grafana integration.

Distro Auto-Detection

Automatically detects Debian, RedHat, and SUSE families at startup. Correct default log paths for each — no manual config needed to get started.

Comparison

Why Vespid?

You could use fail2ban. You could use CrowdSec. Here is why Vespid is the better choice for fleet-scale security.

fail2ban CrowdSec Vespid
Fleet block sharing —Manual per-node only CentralBouncer pulls from LAPI Peer + centralSSE-based, offline queue, auto-replay
Slow brute-force Config hackLarge findtime + low maxretry = FP NativeSliding-window scenarios Native5 attempts over 6 hours, configurable
Multi-vector correlation — Central onlyRequires security engine On-nodeCorrelates SSH + HTTP + SMTP + FW
SSH recon detection —Auth failures only ScenariosManual scenario writing needed 5 parsersBanner grabs, negotiation failures, protocol errors
HAProxy / reverse proxy — PartialVia log collection 7 variantsHTTP, TCP, custom log-format templates
Distro auto-detection — — 3 familiesDebian, RedHat, SUSE auto-detected
Centralized config ManualSSH into each server ProfilesNo atomic rollback Atomic pushesRollback on failure, versioned, canary
Auto-enrollment — Yes 3 modesOpen, approval, restricted + credential rotation
Rule distribution — Via console Conditional pollingETag-based, per-node filtered, hot-reload
Offline resilience Full PartialDecisions cache, no telemetry backlog FullLocal detection + blocking + spooled telemetry
Kernel-level blocking iptables/nftablesRules with manual expiry nftablesVia bouncer, external process nftables TTLPer-element expiry in kernel. No cron
Memory footprint ~50 MB ~80 MB+ bouncer process < 60 MBSingle static Go process

Moving from fail2ban?

Stop SSHing into every server to check fail2ban-client status. Vespid gives you a centralized dashboard, fleet-wide block propagation, and detection that catches what fail2ban misses.

Moving from CrowdSec?

Drop the multi-process bouncer architecture. Vespid is a single daemon per node with native nftables management, no external bouncer, and full offline autonomy when the central server is unreachable.

Detection Engine

Built-in detection rules

Active out of the box. No config needed. Plus 8 curated rule packs — 5 service packs (Apache, NGINX, OpenSSH, Postfix, HAProxy) and 3 Sigma community rulesets for advanced threat detection.

ssh_fast_brute SSH

Rapid-fire SSH brute force attacks

5 attempts 1 min window
ssh_medium_brute SSH

Medium-speed brute force (~2 min intervals)

4 attempts 10 min window
ssh_slow_brute SSH

Low-and-slow brute force over hours

5 attempts 6 h window
ssh_negotiate_fail SSH

Deprecated algorithm probes (scanners)

3 attempts 24 h window
http_auth_brute HTTP

HTTP 401/403 brute force

20 attempts 10 min window
haproxy_auth_brute HAProxy

HAProxy HTTP auth brute force (401/403)

10 attempts 5 min window
postfix_sasl_fail Postfix

SASL LOGIN/PLAIN authentication failures

5 attempts 5 min window
nginx_sqli NGINX

SQL injection attempts in URI

2 attempts 2 min window

Curated Rule Packs

Enable entire packs with one click from the admin dashboard. Per-node filtering ensures relevant rules only.

A

Apache Pack

14 rules

RCE attempts, path traversal, credential scanning, IoT exploits, PHP attacks

N

NGINX Pack

10 rules

Auth brute force, SQLi, XSS, shellshock, scanner UAs, request smuggling

S

OpenSSH Pack

9 rules

Root brute force, user enumeration, pubkey probing, PAM failures

P

Postfix Pack

9 rules

SASL brute force, relay abuse, VRFY probing, command pipelining

H

HAProxy Pack

14 rules

Auth brute force, path probes, RCE, SQLi, TLS probes, script injection

Σ

Sigma Web Attacks

37 rules

SQL injection, XSS, path traversal, Log4Shell, SSTI, webshells, scanner tools

Σ

Sigma SSH Attacks

1 rule

Suspicious SSHD errors, crypto exploits, and SSH protocol anomalies

Σ

Sigma Host Threats

70+ rules

Reverse shells, privilege escalation, persistence, credential dumping, C2, lateral movement

How It Works

From log line to kernel block in milliseconds

Vespid's pipeline is designed for speed, reliability, and offline autonomy.

01

Tail Logs

Async processors tail /var/log/secure, /var/log/auth.log, Apache/NGINX access logs, and HAProxy logs. Automatic rotation detection.

02

Parse & Match

Built-in parsers and custom regex rules extract source IPs. Sliding-window counters track each IP across configurable time windows.

03

Correlate

Multi-signal correlation detects low-and-slow recon across services. Repeat-offender tracker escalates block severity.

04

Block at Kernel

IP added to shield_local nftables set with per-element TTL. Kernel drops all traffic immediately. No userspace polling.

05

Share Fleet-Wide

Block report ships to the Nest server via telemetry bus. Server corroborates and distributes to all subscribed nodes via SSE.

Fleet Management

Vespid Nest — Centralized fleet dashboard

Monitor every node's health, blocks, feeds, and events from a single pane of glass. Real-time SSE streaming, intelligent alerting, and complete audit trail.

Live Fleet Dashboard

Every node's connection status, daemon health, nftables set sizes, active blocks, feed sync age. Color-coded indicators, real-time SSE updates.

Real-Time Event Monitoring

Every detection, block, unblock, feed sync, and config change streams live via SSE. Filter by node, type, severity. Sub-second propagation.

Intelligent Alerting

Configurable rules: node offline, high block rate, feed sync failure, disk usage. Route via email, Slack, PagerDuty, or webhooks.

Threat Intelligence

IP lookup with full history, six-signal reputation score, multi-vector detection, geographic origin, ASN, and raw request volume tracking.

Centralized Config Profiles

Define config once, push to the fleet. Layered profiles, per-node filtering, canary rollouts. Atomic apply with automatic rollback on failure.

Node Performance Metrics

Per-node CPU, memory, disk, nftables utilization. Track daemon health, log processor throughput, event bus queue depth, and feed sync latency.

Get Started

Install from the Vespid package repository

Signed RPM and DEB packages for AlmaLinux/RHEL/Rocky, Debian and Ubuntu.

RPM — AlmaLinux / RHEL / Rocky

# Import the Vespid repository key
sudo curl -fsSL https://packages.vespid.app/keys/vespid-packages.asc \
  -o /etc/pki/rpm-gpg/RPM-GPG-KEY-vespid

sudo tee /etc/yum.repos.d/vespid.repo <<'REPO'
[vespid]
name=Vespid Packages
baseurl=https://packages.vespid.app/rpm/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-vespid
REPO

# Install Vespid Shield and Nest server
sudo dnf install vespid-shield vespid-server

# Optional: Rust metrics agent and Proxmox sync
sudo dnf install vespid-agent vespid-sync

DEB — Debian / Ubuntu

# Import the Vespid repository key
curl -fsSL https://packages.vespid.app/keys/vespid-packages.asc \
  | sudo gpg --dearmor -o /usr/share/keyrings/vespid-packages.gpg

echo 'deb [signed-by=/usr/share/keyrings/vespid-packages.gpg] https://packages.vespid.app/deb stable main' \
  | sudo tee /etc/apt/sources.list.d/vespid.list

sudo apt update
# Install Vespid Shield and Nest server
sudo apt install vespid-shield vespid-server

# Optional: Rust metrics agent and Proxmox sync
sudo apt install vespid-agent vespid-sync

Vespid Shield is a static Go binary with no Python runtime dependency. The Nest server requires Python 3.11+ (EL9 installs python3.11; EL10 and Ubuntu 24.04+ use the distro python3; Ubuntu 22.04 needs a Python 3.11 backport). The Rust vespid-agent has no Python runtime dependency.

Start the services

sudo systemctl enable --now vespid-shield
sudo systemctl enable --now vespid-server

# If installed
sudo systemctl enable --now vespid-agent
sudo systemctl enable --now vespid-sync-agent.timer

# Check the monitor
sudo vespid-cli status

Packages

vespid-shield — on-node security daemon + CLI
vespid-server — Nest dashboard and API
vespid-agent — Rust metrics collector
vespid-sync — Proxmox inventory sync

Requirements

Linux with nftables
Static Go monitor, Python 3.11+ Nest
EL9/EL10, Debian 12+, Ubuntu 24.04+
Root privileges
SQLite (default) or MySQL 8.0+