diff --git a/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml
index 20ed830c1..038ecc035 100644
--- a/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml
+++ b/src/main/java/com/nis/web/dao/configuration/AppCfgDao.xml
@@ -788,13 +788,13 @@
and t.protocol_id=21
- and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
+ and t.src_ip_address =#{ipPort.srcIpAddress,jdbcType=VARCHAR}
and t.src_port =#{ipPort.srcPort,jdbcType=VARCHAR}
- and t.dest_ip_address =#{(ipPort.destIpAddress,jdbcType=VARCHAR}
+ and t.dest_ip_address =#{ipPort.destIpAddress,jdbcType=VARCHAR}
and t.dest_port =#{ipPort.destPort,jdbcType=VARCHAR}
diff --git a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml
index 4f150623e..6d2f62b2c 100644
--- a/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml
+++ b/src/main/java/com/nis/web/dao/configuration/IpCfgDao.xml
@@ -1046,6 +1046,18 @@
AND a.function_id=#{functionId,jdbcType=INTEGER}
+
+ AND a.compile_id in (select i.compile_id from ip_port_cfg i
+
+
+ i.src_ip_address = #{ipPort.srcIpAddress,jdbcType=VARCHAR}
+
+
+ i.dest_ip_address = #{ipPort.destIpAddress,jdbcType=VARCHAR}
+
+
+ )
+
${sqlMap.dsf}
diff --git a/src/main/java/com/nis/web/dao/configuration/WebsiteCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/WebsiteCfgDao.xml
index ee72eedfa..8eea1a49c 100644
--- a/src/main/java/com/nis/web/dao/configuration/WebsiteCfgDao.xml
+++ b/src/main/java/com/nis/web/dao/configuration/WebsiteCfgDao.xml
@@ -233,13 +233,13 @@
AND t.function_id=#{functionId,jdbcType=INTEGER}
- and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
+ and t.src_ip_address =#{ipPort.srcIpAddress,jdbcType=VARCHAR}
and t.src_port =#{ipPort.srcPort,jdbcType=VARCHAR}
- and t.dest_ip_address =#{(ipPort.destIpAddress,jdbcType=VARCHAR}
+ and t.dest_ip_address =#{ipPort.destIpAddress,jdbcType=VARCHAR}
and t.dest_port =#{ipPort.destPort,jdbcType=VARCHAR}
@@ -247,6 +247,15 @@
)
+
+ AND a.compile_id in (select i.compile_id from intercept_pkt_bin i
+
+
+ REPLACE(i.cfg_keywords,'***and***','|') like concat(concat('%',#{interceptPktBin.cfgKeywords,jdbcType=VARCHAR}),'%')
+
+
+ )
+
AND a.compile_id in (select f.compile_id from http_url_cfg f
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp
index 12d8e7459..55ebc4f67 100644
--- a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp
@@ -12,6 +12,10 @@
$("#intype").val("${cfg.cfgDesc}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -169,6 +173,8 @@
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp
index ee93f5e1b..f93f48ee7 100644
--- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp
@@ -10,10 +10,12 @@
//搜索框提示语初始化
if("${cfg.cfgDesc}"){
$("#intype").val("${cfg.cfgDesc}");
- }else if("${cfg.ntcSubscribeIdCfg.cfgKeywords}"){
- $("#intype").val("${cfg.ntcSubscribeIdCfg.cfgKeywords}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -174,8 +176,10 @@
+
+
-
+ <%-- --%>
diff --git a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp
index 2b1ec9a5b..d17bbb545 100644
--- a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp
@@ -10,10 +10,12 @@
//搜索框提示语初始化
if("${cfg.cfgDesc}"){
$("#intype").val("${cfg.cfgDesc}");
- }else if("${cfg.ntcSubscribeIdCfg.cfgKeywords}"){
- $("#intype").val("${cfg.ntcSubscribeIdCfg.cfgKeywords}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -171,7 +173,9 @@
-
+
+
+ <%-- --%>
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp
index 5fd497daf..bdbd46d63 100644
--- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptList.jsp
@@ -11,6 +11,12 @@
$("#intype").val("${cfg.cfgDesc}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
+ }else if("${cfg.interceptPktBin.cfgKeywords}"){
+ $("#intype").val("${cfg.interceptPktBin.cfgKeywords}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -159,8 +165,10 @@
<%--
-
--%>
+
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp
index b883dc897..6a6e86625 100644
--- a/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/ipaddr/ipList.jsp
@@ -11,6 +11,10 @@
$("#intype").val("${cfg.cfgDesc}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -149,6 +153,8 @@
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp b/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp
index 8d717bda9..f221b707a 100644
--- a/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/whitelist/ipList.jsp
@@ -11,6 +11,10 @@
$("#intype").val("${cfg.cfgDesc}");
}else if("${cfg.compileId}"){
$("#intype").val("${cfg.compileId}");
+ }else if("${cfg.ipPort.srcIpAddress}"){
+ $("#intype").val("${cfg.ipPort.srcIpAddress}");
+ }else if("${cfg.ipPort.destIpAddress}"){
+ $("#intype").val("${cfg.ipPort.destIpAddress}");
}else{
$("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text());
}
@@ -152,6 +156,8 @@
--%>
+
+