|
|
@ -642,16 +642,15 @@ function waf() |
|
|
|
-- black ip |
|
|
|
-- black ip |
|
|
|
if waf_ip_black() then return true end |
|
|
|
if waf_ip_black() then return true end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- ua check |
|
|
|
|
|
|
|
if waf_user_agent() then return true end |
|
|
|
|
|
|
|
if waf_url() then return true end |
|
|
|
|
|
|
|
|
|
|
|
-- cc setting |
|
|
|
-- cc setting |
|
|
|
if waf_drop() then return true end |
|
|
|
if waf_drop() then return true end |
|
|
|
if waf_cc_increase() then return true end |
|
|
|
if waf_cc_increase() then return true end |
|
|
|
if waf_cc() then return true end |
|
|
|
if waf_cc() then return true end |
|
|
|
|
|
|
|
|
|
|
|
-- ua check |
|
|
|
|
|
|
|
if waf_user_agent() then return true end |
|
|
|
|
|
|
|
if waf_url() then return true end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- cookie检查 |
|
|
|
-- cookie检查 |
|
|
|
if waf_cookie() then return true end |
|
|
|
if waf_cookie() then return true end |
|
|
|
|
|
|
|
|
|
|
|