ModSecurity
modsecurity.org
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What ModSecurity is
ModSecurity is a free, open-source web application firewall for inspecting HTTP(S) traffic and helping block malicious requests before they reach an application. It runs inside Apache, Nginx, or IIS as a module, rather than as a separate appliance or proxy. The cross-platform engine provides traffic visibility plus a rules language and API for implementing protections. It can operate alone or with the OWASP Core Rule Set, which covers common web attacks. Listed uses include real-time application security monitoring, access control, full HTTP traffic logging, passive security assessment, and web application hardening. The installation guidance recommends detection-only mode first, followed by event review, rule tuning, and then blocking. Inspecting every request can have a small performance impact. ModSecurity supports Linux, Unix-like systems, Windows, and macOS when paired with a compatible web server. OWASP maintains it with community contributions, and discussions use Slack and GitHub. The free plan costs nothing; managed rule sets are not included.
Who it suits
ModSecurity suits teams managing Apache, Nginx, or IIS servers that need rule-based traffic inspection and application protection. It is also suited to administrators who can review and tune detection events before enabling blocking.
Good to know, and what to watch
- Free, open-source WAF engine
- Works with Apache, Nginx, and IIS
- Supports OWASP Core Rule Set
- Provides logging and security monitoring
- Runs on major desktop and server systems
- Runs inside a web server, not standalone
- Rule tuning is needed before blocking
- Request inspection can affect performance slightly
- Managed rule sets are unavailable
Plans
Every plan and priceModSecurity
Free plan
The verdict
ModSecurity provides a flexible, server-integrated way to inspect and filter web traffic without a license fee. Its module deployment and tuning requirements make it most appropriate for administrators comfortable managing web-server rules.
What the maker publishes
- Community
- The project directs users to Slack and GitHub for community discussions and projects and says it welcomes contributors and developers. source
- Deployment
- The FAQ says ModSecurity runs inside a web server rather than as a standalone appliance or proxy. source
- Maintenance
- The FAQ says ModSecurity is maintained by OWASP with support from a wider community of contributors. source
- Performance
- The FAQ says inspecting every incoming request can have a small performance impact and that tuning rules can help keep the site running smoothly. source
- Purpose
- ModSecurity is an open-source, rule-based web application firewall that analyzes incoming traffic and helps block malicious requests before they reach an application. source
- Recent security fixes
- A September 2026 security update digest describes fixes in ModSecurity 2.9.15 and libmodsecurity 3.0.17 for multiple reported issues. source
- Rule sets
- ModSecurity can run on its own or with the OWASP Core Rule Set, which the FAQ says provides broad coverage against common web attacks. source
- Supported operating systems
- The FAQ lists Linux, Unix-like systems, Windows, and macOS when paired with a compatible web server. source
- Traffic inspection
- The project describes ModSecurity as a cross-platform WAF module that provides visibility into HTTP(S) traffic and a rules language and API for implementing protections. source
- Tuning
- The installation guide recommends starting in detection-only mode, reviewing and tuning events, and then enabling blocking. source
- Usage scenarios
- The project lists real-time application security monitoring and access control, full HTTP traffic logging, continuous passive security assessment, and web application hardening as usage scenarios. source
- Web server integrations
- ModSecurity can be installed as a module for Apache, Nginx, or IIS. source
Checked against the maker's pages on 4 Oct 2026.