Miracle

Results 9 comments of Miracle

很抱歉,我并未用原生 nginx 搭建过 OpenWAF,都是基于OpenResty 运行的。 不过我可以提供协助,只希望搭建成功后,帮忙将搭建过程整理成文档,一起为开源做出点贡献

"Expected value but found invalid number at character 99" 这类问题是 json 格式错误导致的

再结合 'load_access_rule' ,说明是 twaf_access_rule.json 的 json 格式错误

修改configure文件即可 openwaf 是在 openresty 的 configure 中添加了几行代码,用于加载第三方模块 你将 openwaf 的 configure 和 openresty1.13.6.2 的 configure diff 一下,多出来的几行添加至 openresty1.15.8.1 即可 openresty1.15.8.1 在最终测试阶段,正式发布时,我也会同步更新 openwaf 的

在群里问,你的问题,可能性很多 群号:579790127 PS:10天前在群里没找到你

未使用https 时,是不是未使用 access_rule 模块?

试试修改,nginx配置文件,将listen 443; 改为 listen 443 default ssl;

有拦截,说明ssl通过了,试着将forward,forward_addr这些配置补全就好了

是否之前安装过nginx?确保启动OpenWAF是新编译的nginx 不支持pcre_jit,请编译 pcre 时携带 --enable-jit 参数 stub_status 有问题,请编译 openresty 时携带 --with-http_stub_status_module 参数