[5.3.0] - 2021-05-16 GMT+0800
Added
-
New directive:
waf_under_attack
, which can be used when the site is under attack. -
New directive:
waf_http_status
, which sets the HTTP status code returned when a request is blocked. -
New built-in variable:
$waf_blocking_log
, not an empty string when the request is intercepted for its value.
Changed
- Update default rules.
Fixed
-
CC protection sometimes not work.
-
Cookie inspection sometimes not work.
[5.3.0] - 2021-05-16 GMT+0800
新增
-
新的配置:
waf_under_attack
,当网站受到攻击时可以使用。 -
新的配置:
waf_http_status
,用于设置请求被拦截后返回的 HTTP 状态码。 -
新的内置变量:
$waf_blocking_log
,当请求被拦截其值时不为空字符串。
变动
- 更新了默认规则。
修复
-
CC 防护有时会失效。
-
Cookie 防护有时会失效。