Thousands of websites get hacked every day due to misconfiguration or vulnerable code. Web Application Firewall (WAF) is one of the best ways to protect your website from online threats. If your website is available on the Internet, then you can use online tools to scan a website for vulnerability to get an idea of how secure your website is. Don’t worry if it’s an intranet website; you can use Nikto web scanner open source. Commercial WAF can be expensive, and if you are looking for a free solution to protect your website using WAF, then the following open-source Web Application Firewall can be helpful.

ModSecurity

ModSecurity by TrustWave is one of the most popular web application firewalls, and it supports Apache HTTP, Microsoft IIS & Nginx. ModSecurity free rules will be helpful if you are looking for the following protection.

Cross-site scriptingTrojanInformation leakageSQL injectionCommon web attacksMalicious activity

ModSecurity doesn’t have a graphical interface, and if you are looking for the one, then you may consider using WAF-FLE. It let you store, search, and view the event in a console.

NAXSI

NAXSI is Nginx Anti-XSS & SQL Injection. So as you can guess, this is only for the Nginx web server and mainly target to protect from cross-site scripting & SQL injection attacks. NAXSI filter only GET and PUT request, and default configuration will act as a DROP-by-default firewall, so you got to add the ACCEPT rule to work correctly.

WebKnight

WebKnight WAF is for Microsoft IIS. It’s an ISAPI filter that secures your web server by blocking bad requests. WebKnight is useful for securing the following.

Buffer overflowDirectory transversalCharacter encodingSQL injectionBlocking bad robotsHotlinkingBrute forceAnd much more…

In a default configuration, all blocked requests are logged, and you can customize based on your needs. WebKnight 3.0 got an admin web interface where you can customize the rules and perform administration tasks, including statistics.

Shadow Daemon

Shadow Daemon detect, record, and prevent web attacks by filtering request from malicious parameters. It comes with an own interface where you can perform administration and manage this WAF. It supports PHP, Perl & Python language framework. It can detect the following attacks.

SQL injectionXML injectionCode injectionCommand injectionXSSBackdoor accessLocal/remote file inclusion

Open source is free, but you don’t get support means you need to rely on your expertise and community support. So if you are looking for the commercial WAF, then you may refer the following one.

Cloudflare (cloud-based)Incapsula (cloud-based)F5 ASMTrustWave ModSecurity commercial rulesStackPathSUCURI (cloud-based)

I hope this helps you with an idea about open source web application firewalls for the various platform.

4 Open Source Web Application Firewall for Better Security - 834 Open Source Web Application Firewall for Better Security - 114 Open Source Web Application Firewall for Better Security - 454 Open Source Web Application Firewall for Better Security - 964 Open Source Web Application Firewall for Better Security - 974 Open Source Web Application Firewall for Better Security - 554 Open Source Web Application Firewall for Better Security - 24 Open Source Web Application Firewall for Better Security - 544 Open Source Web Application Firewall for Better Security - 584 Open Source Web Application Firewall for Better Security - 274 Open Source Web Application Firewall for Better Security - 414 Open Source Web Application Firewall for Better Security - 644 Open Source Web Application Firewall for Better Security - 324 Open Source Web Application Firewall for Better Security - 954 Open Source Web Application Firewall for Better Security - 34 Open Source Web Application Firewall for Better Security - 794 Open Source Web Application Firewall for Better Security - 974 Open Source Web Application Firewall for Better Security - 404 Open Source Web Application Firewall for Better Security - 334 Open Source Web Application Firewall for Better Security - 924 Open Source Web Application Firewall for Better Security - 464 Open Source Web Application Firewall for Better Security - 744 Open Source Web Application Firewall for Better Security - 634 Open Source Web Application Firewall for Better Security - 744 Open Source Web Application Firewall for Better Security - 72