p0pr0ck5 / lua-resty-waf

High-performance WAF built on the OpenResty stack
GNU General Public License v3.0
1.28k stars 305 forks source link

Default rules not available in opm package #252

Closed akaegi closed 7 years ago

akaegi commented 7 years ago

Tried to install lua-resty-waf from the latest opm package via opm get p0pr0ck5/lua-resty-waf However, the default rules are not installed it seems. A "find" reveals nothing and the event log says:

2017/01/19 17:27:33 [error] 1#1: [lua] waf.lua:586: init(): could not find 11000_whitelist

p0pr0ck5 commented 7 years ago

Hi,

Sorry for the delayed response. Yeah, OPM support is not great right now (well, it's really not supported at all) because OPM only wants to distribute Lua files, and doesn't really have support for installation hooks (see https://github.com/openresty/opm/issues/30). Honestly we'll probably end up removing lua-resty-waf from OPM for now, or at least documenting some limitations.