Crowdsec - Block hostile IPs with shared signals
Log files tell you someone tried to break in; a firewall decision made earlier is better. CrowdSec reads logs from services, detects patterns such as credential stuffing and scanning, then feeds IPs to a bouncer that blocks them at the firewall or reverse proxy. It also participates in a community signal network, so an address seen attacking elsewhere can be rejected before it knocks on your door. Local decisions remain adjustable, which matters when a shared signal causes false positives. The agent and bouncers are separate pieces, so plan for a little configuration. For exposed SSH, web apps, and mail services, it adds a useful layer without acting as a black box.
Links
- Website: https://www.crowdsec.net/
- GitHub: https://github.com/crowdsecurity/crowdsec
- Docs: https://docs.crowdsec.net/
Alternatives
- Fail2ban: Simpler log-based bans on one host, without shared intelligence.
- Suricata: Network IDS with deeper packet inspection, heavier to tune.
- OSSEC: Host intrusion detection with file integrity checks, different focus.
- Cloudflare WAF: Hosted and paid beyond basic tiers, protects traffic before it reaches you.