mdserver-web/plugins/op_waf/waf/config.json

67 lines
1.6 KiB
JSON
Executable File

{
"reqfile_path": "{$WAF_PATH}/html",
"retry": {
"retry_time": 180,
"is_open_global": 0,
"retry": 6,
"retry_cycle": 60
},
"log": true,
"scan": {
"status": 444,
"ps": "过滤常见扫描测试工具的渗透测试",
"open": true,
"reqfile": ""
},
"cc": {
"status": 444,
"ps": "过虑CC攻击",
"limit": 120,
"endtime": 300,
"open": true,
"cycle": 60
},
"safe_verify": {
"status": 200,
"ps": "强制安全校验",
"reqfile": "safe_js.html",
"open": false,
"mode":"local",
"cpu": 50,
"auto": true,
"time": 86400
},
"get": {
"status": 200,
"ps": "过滤uri、uri参数中常见sql注入、xss等攻击",
"open": true,
"reqfile": "get.html"
},
"log_save": 30,
"user-agent": {
"status": 200,
"ps": "通常用于过滤浏览器、蜘蛛及一些自动扫描器",
"open": true,
"reqfile": "user_agent.html"
},
"other": {
"status": 200,
"ps": "其它非通用过滤",
"reqfile": "other.html"
},
"cookie": {
"status": 200,
"ps": "过滤利用Cookie发起的渗透攻击",
"open": true,
"reqfile": "cookie.html"
},
"logs_path": "/www/wwwlogs/waf",
"post": {
"status": 200,
"ps": "过滤POST参数中常见sql注入、xss等攻击",
"open": true,
"reqfile": "post.html"
},
"area_limit":false,
"open": true
}