diff --git a/src/main/java/com/nis/web/controller/report/NtcLwhhReportController.java b/src/main/java/com/nis/web/controller/report/NtcLwhhReportController.java index 742839279..09b9d092a 100644 --- a/src/main/java/com/nis/web/controller/report/NtcLwhhReportController.java +++ b/src/main/java/com/nis/web/controller/report/NtcLwhhReportController.java @@ -34,7 +34,7 @@ public class NtcLwhhReportController extends BaseController { @RequestMapping("/ajaxNtcLwhhReport") public String list(@ModelAttribute("bean") SearchReport bean,Model model, HttpServletRequest request, HttpServletResponse response) { List serviceList = DictUtils.getFunctionServiceDictList(bean.getFunctionId()); - List requestInfos=requestInfoService.getAllRequestInfo(); + List requestInfos=requestInfoService.getAllLwhhRequestInfo(); model.addAttribute("requestInfos", requestInfos); if(bean.getServiceId()!=null){ bean.setServices(bean.getServiceId().toString()); diff --git a/src/main/java/com/nis/web/dao/configuration/IpAddrPoolCfgDao.xml b/src/main/java/com/nis/web/dao/configuration/IpAddrPoolCfgDao.xml index dd2a81609..1111b97c8 100644 --- a/src/main/java/com/nis/web/dao/configuration/IpAddrPoolCfgDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/IpAddrPoolCfgDao.xml @@ -379,6 +379,9 @@ ip_total = #{ipTotal,jdbcType=INTEGER}, + + addr_pool_name = #{addrPoolName,jdbcType=VARCHAR}, + is_valid = #{isValid,jdbcType=INTEGER}, diff --git a/src/main/java/com/nis/web/dao/configuration/IpMultiplexDao.xml b/src/main/java/com/nis/web/dao/configuration/IpMultiplexDao.xml index 2f4972b93..c4cfc7cbb 100644 --- a/src/main/java/com/nis/web/dao/configuration/IpMultiplexDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/IpMultiplexDao.xml @@ -252,6 +252,9 @@ user_type = #{userType,jdbcType=VARCHAR}, + + cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, + addr_pool_id = #{addrPoolId,jdbcType=INTEGER}, diff --git a/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.java b/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.java index 205854335..3259fb23f 100644 --- a/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.java +++ b/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.java @@ -26,6 +26,8 @@ public interface RequestInfoDao extends CrudDao { void delete(@Param("id") Long id); String getRequestTitleById(@Param("id")Long id); + + List findAllLwhhList(); } \ No newline at end of file diff --git a/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.xml b/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.xml index 875a2d6f4..ad9f2afbf 100644 --- a/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.xml +++ b/src/main/java/com/nis/web/dao/configuration/RequestInfoDao.xml @@ -218,6 +218,13 @@ from request_info + + diff --git a/src/main/java/com/nis/web/service/configuration/RequestInfoService.java b/src/main/java/com/nis/web/service/configuration/RequestInfoService.java index c922de8f1..e2c27fb67 100644 --- a/src/main/java/com/nis/web/service/configuration/RequestInfoService.java +++ b/src/main/java/com/nis/web/service/configuration/RequestInfoService.java @@ -114,6 +114,11 @@ public class RequestInfoService extends BaseService{ RequestInfo requestInfo=new RequestInfo(); return requestInfoDao.findAllList(requestInfo); } + + public List getAllLwhhRequestInfo(){ + return requestInfoDao.findAllLwhhList(); + } + public List showTask(TaskInfo taskInfo) { return taskInfoDao.findList(taskInfo); diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 253507778..9fafde797 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1018,7 +1018,7 @@ domain_intercepter_ratelimit=Domain Intercept Rate Limit app_built_in_features_config=APP Built-in Features PXY_INTERCEPT_PKT_BIN=Packet Payload certificate=Certificate -do_log=Unstructured Log Option +do_log=Log Option file_strategy=File Strategy file_desc=File Desc content_type=Content Type @@ -1335,4 +1335,5 @@ log_to_cfg=Config address_pool_is_used=Address pool is used and cannot perform this operation! cgi_service_failed=Request CGI server failed available_ip=Available IP -config_sync=Configuration Synchronization \ No newline at end of file +config_sync=Configuration Synchronization +info_failed=Information Acquisition Failure \ No newline at end of file diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index b3088d4bf..7923f5fcc 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1333,4 +1333,5 @@ log_to_cfg=\u914D\u7F6E address_pool_is_used=\u5730\u5740\u6C60\u5DF2\u88AB\u4F7F\u7528\uFF0C\u65E0\u6CD5\u6267\u884C\u8BE5\u64CD\u4F5C\uFF01 cgi_service_failed=\u8BF7\u6C42CGI\u670D\u52A1\u63A5\u53E3\u5931\u8D25 available_ip=\u53EF\u7528IP\u5730\u5740 -config_sync=\u914D\u7F6E\u540C\u6B65 \ No newline at end of file +config_sync=\u914D\u7F6E\u540C\u6B65 +info_failed=\u4FE1\u606F\u83B7\u53D6\u5931\u8D25 \ No newline at end of file diff --git a/src/main/resources/service/service_config.xml b/src/main/resources/service/service_config.xml index 0c6a1d8a5..dfb941c41 100644 --- a/src/main/resources/service/service_config.xml +++ b/src/main/resources/service/service_config.xml @@ -18,7 +18,7 @@ - + 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 25d24bc5a..48049f571 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appPolicyCfgList.jsp @@ -378,7 +378,7 @@ - <%-- --%> + @@ -446,7 +446,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/av/contIp/contIpList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/contIp/contIpList.jsp index 75459f4e9..5d3041fca 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/contIp/contIpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/contIp/contIpList.jsp @@ -357,7 +357,7 @@ - <%-- --%> + @@ -500,7 +500,7 @@ - <%--
--%> +
${cfg.creatorName } ${cfg.editorName } diff --git a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlList.jsp index 068286321..e33e926a0 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlList.jsp @@ -373,7 +373,7 @@ - <%-- --%> + @@ -421,7 +421,7 @@
- <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/av/picIp/picIpList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/picIp/picIpList.jsp index c7ae209ab..a703de5dd 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/picIp/picIpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/picIp/picIpList.jsp @@ -358,7 +358,7 @@ - <%-- --%> + @@ -502,7 +502,7 @@ - <%--
--%> +
${cfg.creatorName } ${cfg.editorName } diff --git a/src/main/webapp/WEB-INF/views/cfg/av/picUrl/picUrlList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/picUrl/picUrlList.jsp index 1cbe481ff..7c3a31cda 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/picUrl/picUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/picUrl/picUrlList.jsp @@ -345,7 +345,7 @@ - <%-- --%> + @@ -419,7 +419,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/av/signSampleList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/signSampleList.jsp index 4d2517bb8..ffbe3d1db 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/signSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/signSampleList.jsp @@ -305,7 +305,7 @@ - <%-- --%> + @@ -416,7 +416,7 @@ - <%--
--%> +
${cfg.creatorName } ${cfg.editorName } diff --git a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipList.jsp index e0655254d..b5b1f88a7 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipList.jsp @@ -365,7 +365,7 @@ - <%-- --%> + @@ -412,7 +412,7 @@
- <%--
--%> +
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 d8db05b85..4159ea057 100644 --- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp @@ -380,7 +380,7 @@ - <%-- --%> + @@ -439,7 +439,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp index 33cec2e14..2489c421a 100644 --- a/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/ddosIpCfgList.jsp @@ -324,7 +324,7 @@ - <%-- --%> + @@ -383,7 +383,7 @@ - <%--
--%> +
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 8a7f9a980..693e6c40f 100644 --- a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp @@ -377,7 +377,7 @@ - <%-- --%> + @@ -434,7 +434,7 @@
- <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp index f249645aa..851adad36 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/ftpList.jsp @@ -345,7 +345,7 @@ - <%-- --%> + @@ -391,7 +391,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp index 3d248887e..278924e28 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/p2pList.jsp @@ -359,7 +359,7 @@ - <%-- --%> + @@ -405,7 +405,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp b/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp index 89fc883a1..ef929dfbe 100644 --- a/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/mail/mailList.jsp @@ -360,7 +360,7 @@ - <%-- --%> + @@ -407,7 +407,7 @@ - <%--
--%> +
diff --git a/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/snatlist2.jsp b/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/snatlist2.jsp index a5856584c..838eaed0d 100644 --- a/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/snatlist2.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/maintenance/ipMultiplexPool/snatlist2.jsp @@ -84,7 +84,7 @@ success:function(data,status){ var dataArr = data.candidate_ip; var html = "" - html = "

" + html = "

" html+=""; html+=""; if(dataArr.length == 0){ @@ -179,20 +179,13 @@ -
- - - - - - - + @@ -364,11 +357,11 @@
- - - + + + - + <%-- --%> <%-- --%> @@ -376,7 +369,7 @@ - + <%-- --%> @@ -391,21 +384,21 @@ - + --%> - + --%> diff --git a/src/main/webapp/WEB-INF/views/cfg/maintenance/userManage/list.jsp b/src/main/webapp/WEB-INF/views/cfg/maintenance/userManage/list.jsp index df3a6faba..3e777d5a2 100644 --- a/src/main/webapp/WEB-INF/views/cfg/maintenance/userManage/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/maintenance/userManage/list.jsp @@ -67,30 +67,31 @@ /* html+=""; */ html+=""; html+=""; - for(i=0;i"+userName; + html+=""; } - html+=""; - html+=""; + html+=""; - html+=""; - html+=""; - html+=""; - html+=""; /* html+=""; html+=""; */ - html+=""; - html+=""; /* html+=""; @@ -102,6 +103,10 @@ html+="
${cfg.cfgId } - + ${fns:abbr(cfg.addrPoolName,20)} ${cfg.ipTotal }
+ <%-- - @@ -485,11 +478,11 @@ ${fns:abbr(lableInfo,20)} + <%-- - ${cfg.creatorName } ${cfg.editorName }
"+userName; html+=""+data[i].serverIp+""+(data[i].Create_on==null?"":data[i].Create_on); + html+=""+user[i].serverIp+""+(user[i].Create_on==null?"":user[i].Create_on); html+=""+(data[i].Updated_on==null?"":data[i].Updated_on); + html+=""+(user[i].Updated_on==null?"":user[i].Updated_on); html+=""+(data[i].Number_of_Logins==null?"":data[i].Number_of_Logins); + html+=""+(user[i].Number_of_Logins==null?"":user[i].Number_of_Logins); html+=""+(data[i].Outgoing_Unicast_Packets==null?"":data[i].Outgoing_Unicast_Packets); + html+=""+(user[i].Outgoing_Unicast_Packets==null?"":user[i].Outgoing_Unicast_Packets); html+=""+(data[i].Outgoing_Unicast_Total_Size==null?"":data[i].Outgoing_Unicast_Total_Size); + html+=""+(user[i].Outgoing_Unicast_Total_Size==null?"":user[i].Outgoing_Unicast_Total_Size); html+=""+(data[i].Outgoing_Broadcast_Packets==null?"":data[i].Outgoing_Broadcast_Packets); html+=""+(data[i].Outgoing_Broadcast_Total_Size==null?"":data[i].Outgoing_Broadcast_Total_Size); html+=""+(data[i].Incoming_Unicast_Packets==null?"":data[i].Incoming_Unicast_Packets); + html+=""+(user[i].Incoming_Unicast_Packets==null?"":user[i].Incoming_Unicast_Packets); html+=""+(data[i].Incoming_Unicast_Total_Size==null?"":data[i].Incoming_Unicast_Total_Size); + html+=""+(user[i].Incoming_Unicast_Total_Size==null?"":user[i].Incoming_Unicast_Total_Size); html+=""+(data[i].Incoming_Broadcast_Packets==null?"":data[i].Incoming_Broadcast_Packets); html+="
"; html+="
"; top.$.jBox(html,{width: $(document).width()*0.6,height: 480,title:"", buttons:{"":true}}); + if(data.message !=null && data.message !=""){ + var mes=" "+userName+" "+data.message+" "; + top.$.jBox.tip(mes); + } } }); } diff --git a/src/main/webapp/WEB-INF/views/cfg/manipulation/ipmulitiplex/snatPolicyForm2.jsp b/src/main/webapp/WEB-INF/views/cfg/manipulation/ipmulitiplex/snatPolicyForm2.jsp index 950d2617e..7249c070c 100644 --- a/src/main/webapp/WEB-INF/views/cfg/manipulation/ipmulitiplex/snatPolicyForm2.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/manipulation/ipmulitiplex/snatPolicyForm2.jsp @@ -87,7 +87,7 @@ $(function(){
-
+