Downloads count unique GitHub accounts only, most installs go through package managers.
📚 Documentation 💠 Hub 💬 Discourse
A lua bouncer for OpenResty.
This bouncer leverages OpenResty lua's API, namely access_by_lua_file.
New/unknown IP are checked against crowdsec API, and if request should be blocked, a 403 is returned to the user, and put in cache.
Please follow the official documentation.
Pure-Lua dependencies (currently lua-resty-http) are vendored under vendor/, pinned by tag and commit in vendor/vendor.conf, and installed with the bouncer in /usr/local/openresty/lualib/plugins/crowdsec/, not in OpenResty's shared lualib/. lua-cjson is bundled with OpenResty, so opm is no longer needed.
1./scripts/vendor.sh list # pinned versions2./scripts/vendor.sh outdated # newer upstream tags3./scripts/vendor.sh update lua-resty-http [tag] # bump (default: latest tag)4./scripts/vendor.sh verify # vendor/ matches upstream5./scripts/vendor.sh advisories # upstream security advisories (needs gh)
The vendored-dependencies workflow runs weekly, opens a PR for each outdated dependency and reports upstream security advisories.
Packages and binaries published on GitHub for this version.