Skip to content

v2.0.0

Compare
Choose a tag to compare
@ADD-SP ADD-SP released this 29 Sep 06:49
· 386 commits to master since this release

[2.0.0] - 2020-09-29

Added

  • We can compile the module with --add-dynamic-module. Thanks for dvershinin's work(#4)。

Changed

  • Remove a default User-Agent rule that is (?i)(? :Sogou web spider), as it will block non-malicious web spider(827d4e5).
  • Merge directives(ba92cfd). These directives will be merged: waf_check_ipv4, waf_check_url, waf_check_args, waf_check_ua, waf_check_referer, waf_check_cookie, waf_check_post, waf_check_cookie, waf_cc_deny. The merged new directive is waf_mode, see README.

Fixed

  • The blank lines in the rules can now be read correctly(955cf2d).

[2.0.0] - 2020-09-29

新增

改动

  • 配置指令合并 (ba92cfd)。这些配置指令将被合并:waf_check_ipv4waf_check_urlwaf_check_argswaf_check_uawaf_check_refererwaf_check_cookiewaf_check_postwaf_check_cookiewaf_cc_deny。合并后的新指令为waf_mode,详情见README

修复

  • 删除一个默认的 User-Agent 规则,规则内容为(?i)(?:Sogou web spider),原因是会拦截非恶意的网络爬虫(827d4e5)。
  • 现在可以正确处理规则文件中的空行了(955cf2d)。