GitHub Repos intermediate 3 min read May 26, 2026 · Updated Jun 1, 2026
Public Preview Sign in free for the full digest →

CrowdSec: free blocklist costs your attack data

“The fail2ban upgrade 13.6k developers recommend — except the top HN comment is about the attack data you send to a third party by default.”

CrowdSec: free blocklist costs your attack data
2 Views
0 Likes
0 Bookmarks
Source · github.com

“"I'm not sold on the idea of sending information to a third party... Fail2ban works. I don't need or want communication with a 3rd party right now." — justin_oaks, https://news.ycombinator.com/item?id=24826792”

You know that feeling when fail2ban blocks an IP on your server that has been hammering public infrastructure for days and every peer's blocklist already has it? Your server is always the last to know. Managing detection rules, firewall blocks, and nginx bans separately on each host in a cluster means triple the configuration with no shared state between nodes. Attackers rotate IPs faster than any single server's local blocklist can track independently.

securityopen-sourcegolangidsipswafself-hosted

CrowdSec runs as a daemon with four components wired together. The Log Processor reads your system logs and HTTP traffic, matching activity against behavior-based scenarios — patterns like 50 SSH failures in 60 seconds, port scan signatures, or web scraper fingerprints. When a match fires, it records the attacker IP, scenario name, and timestamp. The Local API receives those decisions and routes them two ways: to local Remediation Components called 'bouncers' that block the IP at your firewall or nginx config, and to CrowdSec's Central API cloud service. The Central API aggregates signals from all participating deployments, filters them through a weighted trust-rank system where new nodes' reports must be confirmed by established nodes and canary IPs catch false-positive submissions, then pushes a curated blocklist back down. Your node preemptively blocks IPs already caught attacking other deployments, even ones you have never encountered.

01
Crowdsourced IP blocklist — your node blocks IPs already caught attacking other CrowdSec deployments; detection events from your server flow to the Central API, which redistributes curated blocklists back to all participants, giving you pr...
02
Pluggable bouncers at any enforcement layer — Remediation Components deploy independently at iptables, nginx, Cloudflare, Kubernetes ingress, or HAProxy; detection produces decisions and enforcement consumes them without coupling the two, ...
03
WAF with OpenAPI schema validation (v1.7.8) — the AppSec component inspects HTTP requests against behavior scenarios and validates against OpenAPI schemas, blocking malformed or out-of-spec requests before they reach your application code
04
MIT-licensed scenario hub — community-published detection rules for SSH brute force, port scans, web crawls, and application-specific attacks update independently of the engine version; add new detection patterns without upgrading CrowdSec...
05
Trust-rank anti-poisoning defense — new participant reports require confirmation from established Trust Rank 1 nodes before entering the shared blocklist; CrowdSec maintains canary IPs (known-clean addresses) to detect and reject false-pos...
06
Multi-environment deployment — runs on a single Linux server, Docker containers, Kubernetes with kustomization configs, Windows, and OPNsense using the same scenario and bouncer model across all environments
07
cscli management CLI — inspect alerts, manage bouncers and scenarios, control allowlists, import configurations, and view metrics from the terminal; v1.7.8 adds a --quick flag for faster output on large datasets
Who it’s for

If you manage Linux servers, VPS instances, or Kubernetes clusters and currently use fail2ban or nothing for brute-force and intrusion detection, CrowdSec extends that with multi-layer enforcement and network-wide threat sharing. It fits best on self-hosted or cloud infrastructure where you control the OS and want coordinated blocking across multiple nodes. Not the right fit if your compliance requirements prohibit outbound data sharing to third parties by default — opt-out via deleting CAPI credentials reduces the community blocklist to ~3,000 IPs, and paid tiers start at $49/month.

Worth exploring

CrowdSec has production deployments at ButanGas, ScaleCommerce, and Upsun (per the official blog, verified 2026-05-26) and maintains a consistent release cadence through v1.7.8 in May 2026, placing it firmly in stable territory for most use cases. However, three open issues against the current release matter before deploying on high-traffic servers: high CPU regression (GitHub issue #4464), unbounded memory growth causing OOMKilled (#3641), and 1-hour alert latency at 1,000 log events/second (#2669) — cross-reference your traffic volume against these before committing.

Developer playbook
Tech stack, code snippet, sentiment, alternatives.
PM playbook
Adoption angles, user fit, positioning.
CEO playbook
Traction signals, ROI, build vs buy.
Deep-dive insight
Full long-form analysis, no fluff.
Easy mode
Core idea, fast — when you need the gist.
Pro mode
Technical nuance, edge cases, tradeoffs.
Read the full digest
Go beyond the preview

Deep-dive insight, Easy and Pro modes, plus action playbooks — the full breakdown is one tap away.

Underrated tools. Unfiltered takes.

Read the full digest in the Snaplyze app for deep-dive insight, Easy and Pro modes, and the playbooks you can actually use.

Install Snaplyze →