An open API service indexing awesome lists of open source software.

https://github.com/betta-cyber/kwaf

lightweight web application firewall
https://github.com/betta-cyber/kwaf

firewall lightweight lua safe waf websafe

Last synced: about 1 year ago
JSON representation

lightweight web application firewall

Awesome Lists containing this project

README

          

# kwaf

this is a light waf depend on openresty

# require

Lua library for HTTP cookie

https://github.com/cloudflare/lua-resty-cookie

Lua CJSON is a fast JSON encoding/parsing module for Lua

https://github.com/openresty/lua-cjson

luafilesystem

https://github.com/keplerproject/luafilesystem

# install

install require by [luarocks](https://luarocks.org/)

add this in your nginx conf
```
lua_shared_dict rule_cache 128m;
```

```
access_by_lua_file 'lua/waf.lua';
```
```
body_filter_by_lua_file 'lua/body_filter.lua';
```

enable which protect you want in lua/config.lua