laikee99 / ngx_waf

Handy, High performance Nginx firewall module & 方便且高性能的 Nginx 防火墙模块

Home Page:https://docs.addesp.com/ngx_waf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx_waf

test docs docker Codacy Badge GitHub release (latest by date including pre-releases) Semantic Versioning 2.0.0

Notification Discussion EN Discussion CN

English | 简体中文

Handy, High performance Nginx firewall module.

Why ngx_waf

  • Full-featured: The basic functions of the web application firewall are available.
  • Easy to install: The solution is automatically provided when a dependency is missing.
  • Easy to use: directives are easy to understand and you can probably guess what they mean without reading the documentation.
  • High performance: In more extreme tests, QPS(Queries Per Second) is reduced by about 4% after starting this module. See the documentation for details of the tests.

Function

  • Anti SQL injection (powered by libinjection).
  • Anti XSS (powered by libinjection).
  • 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 query string.
  • Block the specified UserAgent.
  • Block the specified Cookie.
  • Exceptional allow on specific Referer.
  • Block the specified Referer.

Docs

Contact

License

BSD 3-Clause License

Thanks

  • uthash: C macros for hash tables and more.
  • libinjection: SQL / SQLI tokenizer parser analyzer.
  • libsodium: A modern, portable, easy to use crypto library.
  • lastversion: A command line tool that helps you download or install a specific version of a project.
  • ngx_lua_waf: A web application firewall based on the lua-nginx-module (openresty).
  • nginx-book: The Chinese language development guide for nginx.
  • nginx-development-guide: The Chinese language development guide for nginx.

About

Handy, High performance Nginx firewall module & 方便且高性能的 Nginx 防火墙模块

https://docs.addesp.com/ngx_waf/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 98.2%Language:Shell 0.9%Language:Python 0.4%Language:HTML 0.3%Language:Lua 0.2%