SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.
Reverse proxy WAF with a web console, rate limiting and bot challenges, in front of your own sites.
alternatives to
Web application firewall that filters traffic at Cloudflare's edge in front of a site. A closed product from Cloudflare.
SafeLine, Anubis, BunkerWeb and more. 7 alternatives to Cloudflare WAF, in Go, Python, C++. Compare fit, licence, stars and the latest signed release.
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| SafeLine | Full replacement | 23k | GPL-3.0 | Open source | Yes | Go | v9.4.7 | 2026-11-23 |
| Anubis | Partial | 24k | MIT | Open source | Yes | Go | v1.28.2 | 2026-11-23 |
| BunkerWeb | Partial | 11k | AGPL-3.0 | Open source | Yes | Python | v1.6.18 | 2026-11-20 |
| ModSecurity | Partial | 9.9k | Apache-2.0 | Open source | Yes | C++ | v3.0.17 | 2026-11-18 |
| Coraza | Partial | 4k | Apache-2.0 | Open source | Yes | Go | v3.8.1 | 2026-11-22 |
| OWASP CRS | Partial | 3.4k | Apache-2.0 | Open source | Yes | Python | v4.30.0 | 2026-11-23 |
| open-appsec | Partial | 1.8k | Apache-2.0 | Open source | Yes | C++ | 1.1.36 | 2026-09-06 |
7 alternatives
SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.
Reverse proxy WAF with a web console, rate limiting and bot challenges, in front of your own sites.
Weighs the soul of incoming HTTP requests to stop AI crawlers
Only the bot challenge: a proof-of-work check in front of a site to keep scrapers out.
🛡️ Open-source and cloud-native Web Application Firewall (WAF)
Web application firewall in front of your own sites, without the CDN.
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.
WAF engine for nginx, Apache and IIS on your own servers, used with a rule set such as the OWASP CRS.
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library
WAF library in Go, compatible with ModSecurity rules, embedded in Caddy, Envoy or your own proxy.
OWASP CRS (Official Repository)
Open rule set of generic attack detection that runs on ModSecurity or Coraza, with no managed rule updates.
open-appsec is a machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. This repo include the main code and logic.
Machine-learning WAF for NGINX, Kubernetes ingress and API gateways, without a CDN.