https://github.com/ADD-SP/ngx_waf Skip to content Sign up Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Project management - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] [search-key] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up Sign up {{ message }} ADD-SP / ngx_waf * Notifications * Star 483 * Fork 66 A web application firewall module for nginx without complex configuration. & Shi Yong Jian Dan De nginx Fang Huo Qiang Mo Kuai docs.addesp.com/ngx_waf/ BSD-3-Clause License 483 stars 66 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Discussions * Actions * Projects 1 * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Projects * Security * Insights master Switch branches/tags [ ] Branches Tags Nothing to show {{ refName }} default View all branches Nothing to show {{ refName }} default View all tags 3 branches 42 tags Go to file Code Clone HTTPS GitHub CLI [https://github.com/A] Use Git or checkout with SVN using the web URL. [gh repo clone ADD-SP] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio If nothing happens, download the GitHub extension for Visual Studio and try again. Go back Latest commit @ADD-SP ADD-SP Update docs. ... c4dd394 Apr 7, 2021 Update docs. c4dd394 Git stats * 219 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Add parameters to some configuration items. Mar 8, 2021 docker [?] Cache regular match results to improve performance. Mar 31, 2021 docs Update docs. Apr 6, 2021 inc IP black and white list is not working. Apr 6, 2021 rules Merge changes from the v3.1.0. Jan 17, 2021 src IP black and white list is not working. Apr 6, 2021 test Use the directive `waf_priority` to change the rule priority. Apr 4, 2021 .dockerignore Fix security issues & Update CI & Improve code quality (#26) Mar 2, 2021 .gitignore Fixed some bugs. Mar 21, 2021 CHANGES-ZH-CN.md Update docs. Apr 6, 2021 CHANGES.md Update docs. Apr 6, 2021 LICENSE Initial commit Aug 8, 2020 README-ZH-CN.md [?] Cache regular match results to improve performance. Mar 31, 2021 README.md [?] Cache regular match results to improve performance. Mar 31, 2021 config [?] Cache regular match results to improve performance. Mar 31, 2021 package.json Update docs. Mar 1, 2021 View code ngx_waf Function Docs License Thanks README.md ngx_waf ngx_waf test docs docker Codacy Badge GitHub release (latest by date including pre-releases) Semantic Versioning 2.0.0 English | Jian Ti Zhong Wen A web application firewall module for nginx without complex configuration. Function * IPV4 and IPV6 support. * Anti Challenge Collapsar, it can automatically block malicious IP. * Exceptional allow on specific IP address. * Block the specified IP address. * Block the specified request body. * Exceptional allow on specific URL. * Block the specified URL. * Block the specified request args. * Block the specified UserAgent. * Block the specified Cookie. * Exceptional allow on specific Referer. * Block the specified Referer. Docs * Recommended link: https://docs.addesp.com/ngx_waf/ * Alternate link 1: https://add-sp.github.io/ngx_waf/ * Alternate link 2: https://ngx-waf.pages.dev/ License BSD 3-Clause License Thanks * uthash: This project uses two data structures, uthash and utlist. * ngx_lua_waf: Most of the default rules of this module come from this. * nginx-book: Thanks for the tutorial provided by the author. * nginx-development-guide: Thanks for the tutorial provided by the author. About A web application firewall module for nginx without complex configuration. & Shi Yong Jian Dan De nginx Fang Huo Qiang Mo Kuai docs.addesp.com/ngx_waf/ Topics nginx web-application-firewall nginx-modules ngx-waf Resources Readme License BSD-3-Clause License Releases 42 v5.0.0 Latest Apr 6, 2021 + 41 releases Contributors 2 * @ADD-SP ADD-SP ADD-SP * @dvershinin dvershinin Danila Vershinin Languages * C 91.0% * C++ 6.7% * Objective-C 1.3% * Shell 1.0% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.