Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
inc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ngx_waf

ngx_waf

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

English | 简体中文

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

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.