diff --git a/plugins/op_waf/index.html b/plugins/op_waf/index.html
index 28e84949e..8c4273738 100755
--- a/plugins/op_waf/index.html
+++ b/plugins/op_waf/index.html
@@ -231,6 +231,8 @@
防火墙首页
全局配置
站点配置
+ 封锁历史
+ 操作日志
diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py
index 4fbd5bd58..0e4d1ea34 100755
--- a/plugins/op_waf/index.py
+++ b/plugins/op_waf/index.py
@@ -128,7 +128,8 @@ def reload():
return 'ok'
-
+def getWafConf():
+ return public.getJson([])
if __name__ == "__main__":
@@ -145,5 +146,7 @@ if __name__ == "__main__":
print reload()
elif func == 'conf':
print getConf()
+ elif func == 'waf_conf':
+ print getWafConf()
else:
print 'error'
diff --git a/plugins/op_waf/js/op_waf.js b/plugins/op_waf/js/op_waf.js
index 2d42556d0..c3595e7bf 100755
--- a/plugins/op_waf/js/op_waf.js
+++ b/plugins/op_waf/js/op_waf.js
@@ -57,6 +57,11 @@ function wafGloabl(){
\
\
';
+
+ con += '\
+ - 继承: 全局设置将在站点配置中自动继承为默认值
\
+ - 优先级: IP白名单 > IP黑名单 > URL白名单 > URL黑名单 > CC防御 > 禁止国外IP访问 > User-Agent > URI过滤 > URL参数 > Cookie > POST
\
+
';
$(".soft-man-con").html(con);
}
@@ -74,3 +79,22 @@ function wafSite(){
';
$(".soft-man-con").html(con);
}
+
+
+
+function wafLogs(){
+ var con = '\
+
\
+ | 名称 | \
+ 描述 | \
+ 响应 | \
+ 状态 | \
+ 操作 |
\
+ \
+
\
+
';
+
+
+
+ $(".soft-man-con").html(con);
+}