10 open-source alternatives ranked by real activity

Open-source DataDome alternatives

A curated, ranked list of the 10 best open-source alternatives to DataDome.

The best open-source alternative to DataDome is SafeLine. If that doesn't suit you, other good options are CrowdSec, NGINX, fail2ban and BunkerWeb.

Commercial alternatives to DataDome include HUMAN Security, hCaptcha, SecureNow AI and F5. See all 15.

DataDome alternatives are mainly security tools, but some are also networking & VPN tools and hosting & PaaS tools. 10 of them shipped code in the last 30 days, 10 can be self-hosted, and 4 use a permissive licence.

Last updated November 12, 2026 · ranked by GitHub stars, growth and recent commits

SafeLine

Self-hosted web application firewall and reverse proxy that filters HTTP traffic to block attacks such as SQL injection, XSS, and bot abuse.

GitHub stars
23k
Last commit
2 days ago
Latest release
v9.4.4
Licence
GPL-3.0
Self-hosted
Yes
ly.safepoint.cloudSafeLine homepage screenshot

SafeLine is a self-hosted web application firewall (WAF) from Chaitin, released under the GPL-3.0 license. It sits in front of a web application as a reverse proxy, so visitors' requests pass through it first. It filters, monitors, and blocks malicious HTTP and HTTPS traffic before that traffic reaches the origin server, and it is also meant to stop unauthorized data from leaving the application.

The firewall targets common web attack classes, including SQL injection, cross-site scripting, command and code injection, server-side request forgery, path traversal, XXE, and remote code execution, as well as brute-force attempts, HTTP floods, and abusive bots. Beyond rule-based filtering, its documented core capabilities include IP-based rate limiting, a web access control list, bot defense, and encryption of the HTML and JavaScript code served to clients.

Security and operations teams that run their own websites or APIs can use it to add a protective layer in front of existing applications. The project is written in Go and hosted on GitHub, and the maintainers provide documentation, a live demo, and a Discord community. Because it is self-hosted, traffic inspection stays on infrastructure you control.

Key features

  • Reverse-proxy WAF filtering HTTP and HTTPS traffic
  • Blocks SQL injection, XSS, and RCE attempts
  • Defense against bot abuse and brute force
  • IP-based rate limiting
  • Web access control list rules
  • HTML and JavaScript code encryption
  • Self-hosted deployment on your own infrastructure

Pricing: Personal is free forever for up to 10 apps. Lite costs $10 per month ($100 per year) and Pro $100 per month ($1000 per year); Ultimate is custom. A 7-day trial is offered.

CrowdSec

CrowdSec is an open-source IDS/IPS, WAF and bot detection engine that blocks malicious IPs using a crowdsourced community blocklist.

GitHub stars
16k
Last commit
yesterday
Latest release
v1.8.2
Licence
MIT
Self-hosted
Yes
docs.crowdsec.netCrowdSec homepage screenshot

CrowdSec is an open-source and participative security solution that detects and blocks malicious behavior on servers. Its Security Engine acts as an all-in-one intrusion detection and prevention system and web application firewall, analyzing log sources and HTTP requests and enforcing decisions through separate remediation components. It runs on Linux, Windows, Docker and Kubernetes.

A Community Blocklist of IP addresses identified as malicious is shared among users, so an address that attacks one participant can be blocked for others before it arrives. Detection and remediation are decoupled, which means logs can be parsed on one machine while blocking happens at a firewall, reverse proxy or CDN elsewhere. A web console supports monitoring and automation.

The README compares it with fail2ban, which reads similar logs, and with ModSecurity, Coraza and naxsi, since the AppSec component is a WAF built on Coraza that loads SecLang rules and the OWASP Core Rule Set. It can also answer suspicious requests with a JavaScript proof-of-work challenge to stop headless scrapers. CrowdSec is written in Go and licensed under MIT.

Key features

  • Log and HTTP request analysis for attack detection
  • Crowdsourced community blocklist of malicious IPs
  • WAF component built on Coraza
  • Remediation at firewall, proxy or CDN
  • Bot detection with proof-of-work challenges
  • Linux, Windows, Docker and Kubernetes support

Pricing: The Security Engine is free and open source under the MIT license.

NGINX

NGINX is a web server, reverse proxy, load balancer, API gateway and content cache, free under a BSD-style license.

GitHub stars
32k
Last commit
4 days ago
Latest release
release-1.31.8
Licence
BSD-2-Clause
Self-hosted
Yes
nginx.orgNGINX homepage screenshot

NGINX, pronounced engine x, is a web server that also serves as a reverse proxy, load balancer, API gateway and content cache. The official open source repository is written in C and distributed under a simplified two-clause BSD license. Enterprise distributions, commercial support and training are sold separately by F5, Inc.

NGINX is installed software with binary packages for the major operating systems and Linux distributions, in stable and mainline versions, plus Windows executables and dynamic modules. Typical tasks covered by the project's introduction include installing SSL certificates and enabling TLS, load balancing, rate limiting and content caching. Topics on the repository list TCP, UDP and mail proxying, HTTP/2, HTTP/3 and QUIC. You can also build from source, and the full documentation includes a beginners guide, development guide and directive reference.

Key features

  • Web server and reverse proxy
  • Load balancing across upstream servers
  • TLS termination, HTTP/2 and HTTP/3
  • Rate limiting and content caching
  • TCP, UDP and mail proxying
  • Stable and mainline release channels

Pricing: Free and open source under a two-clause BSD license; enterprise distributions and support are sold by F5, Inc.

Read more about NGINXWebsiteGitHub#3 DataDome alternative

fail2ban

A Python daemon that reads log files and temporarily bans IP addresses with too many failed login attempts by updating firewall rules.

GitHub stars
19k
Last commit
yesterday
Latest release
1.1.1
Self-hosted
Yes
fail2ban.orgfail2ban homepage screenshot

Fail2Ban is an intrusion prevention daemon that watches log files, such as the authentication log, for repeated failed login attempts. When an address crosses a configured threshold, it adds firewall rules to reject new connections from that IP for a set period, which reduces brute-force noise against services.

It works out of the box with many standard logs, including those of sshd and Apache, and can be configured to read any log file for any error pattern you choose. IPv6 address matching has been supported since version 0.10. The README is frank about the limits: banning reduces the rate of failed attempts but cannot remove the risk of weak authentication, so you should still use two-factor or key-based authentication for important services.

Fail2Ban is written in Python and runs on Linux, macOS and BSD systems. Its license is listed as 'Other' on GitHub, and topics mention GPLv2, so confirm the terms. Documentation includes a manpage, wiki and developer guides. It is a long-standing, lightweight tool on self-managed servers, favored by sysadmins protecting SSH, web and mail services.

Key features

  • Scans logs for repeated failed logins
  • Bans offending IPs through firewall rules
  • Ready-made filters for sshd and Apache
  • Configurable ban durations and patterns
  • IPv6 address support
  • Works with any log file you point it at

BunkerWeb

Open-source web application firewall built on NGINX that acts as a reverse proxy with a web UI and a plugin system.

GitHub stars
11k
Last commit
yesterday
Latest release
v1.6.17
Licence
AGPL-3.0
Self-hosted
Yes
bunkerweb.ioBunkerWeb homepage screenshot

BunkerWeb is an open-source web application firewall that protects web services and aims to make them secure by default. It is a complete web server based on NGINX that sits in front of your applications as a reverse proxy, filtering traffic before it reaches them.

It can be deployed in Linux, Docker, Swarm and Kubernetes environments and is configurable through a command line or a web user interface. Core security features ship in the box, and additional ones can be added with a plugin system. Related topics in the repository include ModSecurity, anti-bot protection, DNS blocklists and Let's Encrypt certificate handling.

The software is written mainly in Python and released under the AGPL-3.0 license. The project provides documentation, a demo, community templates, examples and a forum. Its goal is for administrators to get a reasonable level of protection with minimal configuration while keeping room to tune individual settings for their own use cases.

Key features

  • NGINX-based reverse proxy and WAF
  • Secure-by-default configuration
  • Web UI for managing settings
  • Plugin system for extra protections
  • Deploys on Linux, Docker, Swarm and Kubernetes
  • Anti-bot and DNS blocklist options

Pricing: A free open-source edition is available. Paid self-hosted plans are 49 euros (Shield) and 149 euros (Fortress) a month with a 30-day trial; managed Cloud starts from 639 euros a month and Sentinel is custom.

Suricata

Suricata is an open-source network intrusion detection, intrusion prevention and network security monitoring engine developed by OISF and its community.

GitHub stars
6.9k
Last commit
2 days ago
Latest release
suricata-8.0.8
Licence
GPL-2.0
Self-hosted
Yes
suricata.ioSuricata homepage screenshot

Suricata is an engine for network intrusion detection (IDS), intrusion prevention (IPS) and network security monitoring (NSM), developed by the Open Information Security Foundation and the Suricata community. It inspects network traffic to detect threats, can block them when run inline as an intrusion prevention system, and supports network security monitoring and threat hunting.

The README stresses why the software is built so carefully. It processes mostly untrusted input and often sits directly reachable by an attacker, so a crash in IPS mode could knock a network offline, a compromise in passive mode could expose confidential data, and missed detections could hide an intrusion. For that reason contributions go through a long QA process that includes GitHub CI checks, peer review and private QA runs with build tests, static analysis, runtime analysis with valgrind and sanitizers, and regression tests.

Suricata is written in C and licensed under GPL-2.0. The project provides a user guide, an installation guide, a developer guide, a bug tracker and a user support forum for administrators who deploy it on their own networks.

Key features

  • Network intrusion detection (IDS)
  • Inline intrusion prevention (IPS)
  • Network security monitoring
  • Extensive QA and regression testing
  • User, installation and developer guides

Pricing: Free and open source under the GPL-2.0 licence.

Openresty

Web platform that bundles an enhanced Nginx core with LuaJIT and Lua libraries so developers can build scalable web apps, services and gateways.

GitHub stars
14k
Last commit
6 days ago
Latest release
v1.27.1.2
openresty.orgOpenresty homepage screenshot

OpenResty is an open-source web platform from OpenResty Inc. that integrates an enhanced Nginx core with LuaJIT, a set of Lua libraries and many third-party Nginx modules, along with most of their external dependencies. It is designed to help developers build scalable web applications, web services and dynamic web gateways.

Developers script existing Nginx C modules and Lua modules in the Lua language, so server-side application logic runs inside Nginx and uses its event model for non-blocking I/O with HTTP clients and with remote backends such as MySQL, PostgreSQL, Memcached and Redis. The project says a single box can handle 10K to 1000K+ connections.

The project states that it is not an Nginx fork. Real-world uses it lists include dynamic web portals, web application firewalls, web service platforms for mobile apps, advertising, distributed storage and data analytics, and full dynamic sites. The company also offers OpenResty XRay for observability and OpenResty Edge for CDN use.

Key features

  • Enhanced Nginx core combined with LuaJIT
  • Lua scripting of Nginx C and Lua modules
  • Non-blocking I/O to MySQL, PostgreSQL, Memcached and Redis
  • Bundles Lua libraries and third-party Nginx modules
  • Handles very high connection counts on one machine

ModSecurity

Cross-platform web application firewall engine for Apache, IIS and Nginx that inspects HTTP traffic with SecRules-based rule sets.

GitHub stars
9.9k
Last commit
2 days ago
Latest release
v3.0.17
Licence
Apache-2.0
Self-hosted
Yes
modsecurity.orgModSecurity homepage screenshot

ModSecurity is an open-source, cross-platform web application firewall engine. It started as an Apache module and now serves Apache, IIS and Nginx, protecting web applications from a range of attacks while also allowing HTTP traffic monitoring, logging and real-time analysis through an event-based rule language.

This repository contains libmodsecurity, the ModSecurity v3 library. It acts as an interface to connectors that pass web traffic in, loads and interprets rules written in the SecRules format, and applies them to HTTP content from your application. Version 3 is a full rewrite that removes the Apache dependencies, aims for higher performance and a new architecture, and plans native JSON audit logs.

The older ModSecurity v2.x for Apache is still maintained in its own repository. The code is written in C++ and released under the Apache-2.0 license, under the OWASP organization. Rule sets such as the OWASP Core Rule Set are typically used alongside it.

Key features

  • WAF engine for Apache, IIS and Nginx
  • SecRules rule language
  • HTTP traffic monitoring and logging
  • Connector-based architecture in v3
  • Rewrite without Apache dependencies

Pricing: Free and open source under the Apache-2.0 license.

HAProxy

HAProxy is a free reverse proxy and load balancer for TCP and HTTP applications, offering high availability, written in C.

GitHub stars
7k
Last commit
yesterday
Self-hosted
Yes
git.haproxy.orgHAProxy homepage screenshot

HAProxy is a free reverse proxy offering load balancing, high availability and proxying for applications that use TCP or HTTP. It sits in front of servers, spreads incoming traffic between them and keeps services reachable when individual backends fail.

Repository topics point to features such as HTTP/2, TLS 1.3, caching, FastCGI, IPv6, the PROXY protocol and DDoS mitigation. The documentation is split across several files, including an introduction, a configuration manual, a Lua reference, notes on the SPOE engine, network namespaces under Linux, a management guide, the peers protocol and a regression testing suite, plus a wiki. Load generation utilities are described in separate documents.

HAProxy is written in C, and the repository is the development branch mirrored from git.haproxy.org. The project explains its life cycle in a BRANCHES file so you can choose the right version, offers a Discourse forum, mailing list, Slack and IRC for help, and reserves the issue tracker for bugs and feature requests.

Key features

  • Reverse proxy for TCP and HTTP
  • Load balancing and high availability
  • HTTP/2 and TLS 1.3 support
  • Caching and FastCGI
  • Lua scripting API
  • SPOE engine

Apache HTTP Server

The Apache HTTP Server, an open-source web server from the Apache Software Foundation with modules, virtual hosts, TLS, HTTP/2 and reverse proxy support.

GitHub stars
4k
Last commit
2 days ago
Licence
Apache-2.0
Self-hosted
Yes
httpd.apache.orgApache HTTP Server homepage screenshot

Apache HTTP Server, often called httpd, is an open-source web server developed by the Apache HTTP Server Project, which is part of The Apache Software Foundation. It serves websites ranging from personal sites to production infrastructure and runs on Linux, Windows, macOS and most Unix-like systems.

Configuration is flexible, with per-directory .htaccess files, virtual hosts and dynamically loaded modules. Security features include TLS/SSL, authentication modules and fine-grained access control, while performance features include multiple multi-processing modules, HTTP/2, content caching and reverse proxying. More than 100 modules cover URL rewriting, proxying, load balancing and scripting.

The code is written in C and licensed under Apache-2.0. The GitHub repository is a mirror of the project's main source repositories, with issues tracked at issues.apache.org. The project website offers downloads, documentation for the 2.4 stable branch, a wiki, mailing lists and security reports.

Key features

  • Per-directory configuration with .htaccess
  • Virtual hosts for multiple sites
  • Dynamic module loading
  • TLS/SSL and authentication modules
  • HTTP/2 and content caching
  • Reverse proxy and load balancing
  • Multi-processing modules

Pricing: Free and open source under the Apache-2.0 licence.

Commercial DataDome alternatives

Hosted, closed-source products that compete with DataDome. Showing 12 of 15.

See every DataDome alternative on its tool page

DataDome alternatives: questions

What is the best open-source alternative to DataDome?
SafeLine is the top-ranked open-source alternative to DataDome on Enlisted: Self-hosted web application firewall and reverse proxy that filters HTTP traffic to block attacks such as SQL injection, XSS, and bot abuse. Other strong options are CrowdSec, NGINX, fail2ban and BunkerWeb.
What are the best commercial alternatives to DataDome?
HUMAN Security, hCaptcha, SecureNow AI, F5 and Google reCAPTCHA are among the hosted, closed-source alternatives to DataDome listed on Enlisted, which lists 15 in total. Compare their pricing and features on each tool page.
Are these DataDome alternatives free?
All 10 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer.
How is this list of DataDome alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 10 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all