1.Protocol Identify 增加查询条件 Application。

2.App Identify 增加查询条件,L7 Protocol,Application,字段列 Protocol Identify 改名为
L7 Protocol,显示顺序behavior,放到APP后面。
3.Behavior Identify 改动同上。
4.BGP协议 查询条件,增加AS作为查询条件;显示顺序,code,AS, route 放在foudtime之后。
5.mail协议Recipient 改为 receiver。
6.FTP 查询条件,增加URL。
7.p2p协议里,查询条件里增加fielid,emule seach key,file marking 改为 fileid。   
8.stream 里面增加查询条件 url。
9.voip 里面增加两个账号的查询条件   Caller 和receiver,calling account 改为caller, called
account 改为reveriver
10.antiddos ,增加查询 attacktype
This commit is contained in:
zhangwei
2019-01-07 21:25:53 +06:00
parent 1d82fbc20c
commit 0bbb751020
20 changed files with 177 additions and 96 deletions

View File

@@ -70,7 +70,12 @@ public class DkBehaviorLogController extends BaseController{
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
//查询值判断 //查询值判断
initLogSearchValue(entry,params); initLogSearchValue(entry,params);
if(entry.getLabelAppId()!=null){
params.put("searchLabelAppId", entry.getLabelAppId());
}
if(entry.getLabelProtoId()!=null){
params.put("searchLabelProtoId", entry.getLabelProtoId());
}
//获取字典信息 //获取字典信息
List<CodeResult> protocolList=CodeDicUtils.getCodeList("protocolCode"); List<CodeResult> protocolList=CodeDicUtils.getCodeList("protocolCode");
List<CodeResult> behaviorList=CodeDicUtils.getCodeList("behaviorCode"); List<CodeResult> behaviorList=CodeDicUtils.getCodeList("behaviorCode");
@@ -137,7 +142,12 @@ public class DkBehaviorLogController extends BaseController{
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
//查询值判断 //查询值判断
initLogSearchValue(entry,params); initLogSearchValue(entry,params);
if(entry.getLabelAppId()!=null){
params.put("searchLabelAppId", entry.getLabelAppId());
}
if(entry.getLabelProtoId()!=null){
params.put("searchLabelProtoId", entry.getLabelProtoId());
}
//获取字典信息 //获取字典信息
List<CodeResult> protocolList=CodeDicUtils.getCodeList("protocolCode"); List<CodeResult> protocolList=CodeDicUtils.getCodeList("protocolCode");
List<CodeResult> behaviorList=CodeDicUtils.getCodeList("behaviorCode"); List<CodeResult> behaviorList=CodeDicUtils.getCodeList("behaviorCode");

View File

@@ -46,6 +46,9 @@ public class BgpLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(log.getAsNum()!=null){
params.put("searchAsNum", log.getAsNum());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -97,7 +100,9 @@ public class BgpLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(log.getAsNum()!=null){
params.put("searchAsNum", log.getAsNum());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -69,6 +69,9 @@ public class DdosLogController extends BaseController{
}*/ }*/
//查询值判断 //查询值判断
initLogSearchValue(entry,params); initLogSearchValue(entry,params);
if(entry.getAttackType()!=null){
params.put("searchAttackType", entry.getAttackType());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -128,7 +131,9 @@ public class DdosLogController extends BaseController{
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(log.getAttackType()!=null){
params.put("searchAttackType", log.getAttackType());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
System.out.print(log.getFunctionId()); System.out.print(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -61,6 +61,9 @@ public class FtpLogController extends BaseController {
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
// 查询值判断 // 查询值判断
initLogSearchValue(entry, params); initLogSearchValue(entry, params);
if(StringUtils.isNotBlank(entry.getFtpUrl())){
params.put("searchFtpUrl", entry.getFtpUrl());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -113,7 +116,9 @@ public class FtpLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(StringUtils.isNotBlank(log.getFtpUrl())){
params.put("searchFtpUrl", log.getFtpUrl());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -62,7 +62,9 @@ public class MmAvUrlLogController extends BaseController {
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
// 查询值判断 // 查询值判断
initLogSearchValue(entry, params); initLogSearchValue(entry, params);
if(StringUtils.isNotBlank(entry.getUrl())){
params.put("searchUrl", entry.getUrl());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -115,7 +117,9 @@ public class MmAvUrlLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(StringUtils.isNotBlank(log.getUrl())){
params.put("searchUrl", log.getUrl());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -8,6 +8,7 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.client.ClientProtocolException; import org.apache.http.client.ClientProtocolException;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
@@ -52,7 +53,12 @@ public class MmVoipAccountLogController extends BaseController{
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
//查询值判断 //查询值判断
initLogSearchValue(entry,params); initLogSearchValue(entry,params);
if(StringUtils.isNotBlank(entry.getCallingAccount())){
params.put("searchCallingAccount", entry.getCallingAccount());
}
if(StringUtils.isNotBlank(entry.getCalledAccount())){
params.put("searchCalledAccount", entry.getCalledAccount());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -59,7 +59,12 @@ public class MmVoipIpLogController extends BaseController {
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
// 查询值判断 // 查询值判断
initLogSearchValue(entry, params); initLogSearchValue(entry, params);
if(StringUtils.isNotBlank(entry.getCallingAccount())){
params.put("searchCallingAccount", entry.getCallingAccount());
}
if(StringUtils.isNotBlank(entry.getCalledAccount())){
params.put("searchCalledAccount", entry.getCalledAccount());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(entry.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -111,7 +116,12 @@ public class MmVoipIpLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(StringUtils.isNotBlank(log.getCallingAccount())){
params.put("searchCallingAccount", log.getCallingAccount());
}
if(StringUtils.isNotBlank(log.getCalledAccount())){
params.put("searchCalledAccount", log.getCalledAccount());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -46,7 +46,12 @@ public class P2pLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(StringUtils.isNotBlank(log.getP2pFileId())){
params.put("searchP2pFileId", log.getP2pFileId());
}
if(StringUtils.isNotBlank(log.getP2pKeyword())){
params.put("searchP2pKeyword", log.getP2pKeyword());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);
@@ -97,7 +102,12 @@ public class P2pLogController extends BaseController {
params.put("pageSize", page.getPageSize()); params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo()); params.put("pageNo", page.getPageNo());
initLogSearchValue(log, params); initLogSearchValue(log, params);
if(StringUtils.isNotBlank(log.getP2pFileId())){
params.put("searchP2pFileId", log.getP2pFileId());
}
if(StringUtils.isNotBlank(log.getP2pKeyword())){
params.put("searchP2pKeyword", log.getP2pKeyword());
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId()); List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(log.getFunctionId());
model.addAttribute("serviceList", serviceList); model.addAttribute("serviceList", serviceList);

View File

@@ -636,7 +636,7 @@ dns_response=Response
entrance=Entrance entrance=Entrance
mail_proto=Mail Protocol mail_proto=Mail Protocol
mail_from=Sender mail_from=Sender
mail_to=Recipient mail_to=Receiver
subject=Subject subject=Subject
eml_file=EML File eml_file=EML File
eml_key=EML File Key eml_key=EML File Key
@@ -664,8 +664,8 @@ voip_recv_time=VoIP Receive Time
voip_protocol=VoIP voip_protocol=VoIP
av_protocol=AV Protocol av_protocol=AV Protocol
duation=Duation(S) duation=Duation(S)
calling_account=Calling Account calling_account=Caller
called_account=Called Account called_account=Receiver
calling_number=Calling Number calling_number=Calling Number
called_number=Called Number called_number=Called Number
from_to_store_ip=Calling VoIP Voice File Server IP from_to_store_ip=Calling VoIP Voice File Server IP
@@ -719,7 +719,7 @@ app_features_config=APP Policy Object
cfg_type=Configuration Type cfg_type=Configuration Type
encrypted_tunnel_behavior=Behavior Identify encrypted_tunnel_behavior=Behavior Identify
behaviour_type=Behavior Type behaviour_type=Behavior Type
basic_protocol=Protocol Identify basic_protocol=L7 Protocol
ip_Reuse_pool_config=IP Reusing Pool ip_Reuse_pool_config=IP Reusing Pool
dns_res_strategy=DNS Response Profiles dns_res_strategy=DNS Response Profiles
policy_number=Policy No. policy_number=Policy No.
@@ -1080,7 +1080,7 @@ ip_must_select=IP Configuration must select
av_voip_account_reject=VoIP Account Block av_voip_account_reject=VoIP Account Block
av_voip_account_monit=VoIP Account Monitor av_voip_account_monit=VoIP Account Monitor
p2p_proto=P2P Protocol p2p_proto=P2P Protocol
p2p_file_id=File Marking p2p_file_id=File ID
p2p_keyword=Emule Search Keyword p2p_keyword=Emule Search Keyword
APP_PAYLOAD=App PayLoad Feature APP_PAYLOAD=App PayLoad Feature
APP_DNS=App Dns Feature APP_DNS=App Dns Feature

View File

@@ -717,7 +717,7 @@ app_features_config=APP\u7279\u5f81
cfg_type=\u914d\u7f6e\u7c7b\u578b cfg_type=\u914d\u7f6e\u7c7b\u578b
encrypted_tunnel_behavior=\u52a0\u5bc6\u96a7\u9053\u884c\u4e3a encrypted_tunnel_behavior=\u52a0\u5bc6\u96a7\u9053\u884c\u4e3a
behaviour_type=\u884c\u4e3a\u7c7b\u578b behaviour_type=\u884c\u4e3a\u7c7b\u578b
basic_protocol=\u57fa\u7840\u534f\u8bae basic_protocol=L7\u534F\u8BAE
ip_Reuse_pool_config=IP \u590d\u7528\u5730\u5740\u6c60 ip_Reuse_pool_config=IP \u590d\u7528\u5730\u5740\u6c60
dns_res_strategy=DNS\u54cd\u5e94\u7b56\u7565 dns_res_strategy=DNS\u54cd\u5e94\u7b56\u7565
policy_number=\u7b56\u7565\u53f7 policy_number=\u7b56\u7565\u53f7

View File

@@ -527,8 +527,8 @@ log_time_start=2018-08-01 00:00:00
log_time_end=2018-10-01 00:00:00 log_time_end=2018-10-01 00:00:00
area_tag=location area_tag=location
isp_tag=isp isp_tag=isp
mmFileDigestLog=mmFileDigestLogs mmFileDigestLog=v1/mmFileDigestLogs
ntcStreamMediaLog=ntcStreamMediaLogs ntcStreamMediaLog=v1/ntcStreamMediaLogs
#\u97f3\u89c6\u9891\u6837\u4f8b\u9650\u5236\u65f6\u957f\uff0c\u5355\u4f4d\u79d2 #\u97f3\u89c6\u9891\u6837\u4f8b\u9650\u5236\u65f6\u957f\uff0c\u5355\u4f4d\u79d2
av_duration_limit=120 av_duration_limit=120
video_to_picture_proc=/home/ceiec/av_feature_gen/save_video_frame video_to_picture_proc=/home/ceiec/av_feature_gen/save_video_frame
@@ -571,8 +571,8 @@ allIpGet=AllIpGet
#\u6d41\u91cf\u7edf\u8ba1\u5e26\u5bbd\u8be6\u60c5 #\u6d41\u91cf\u7edf\u8ba1\u5e26\u5bbd\u8be6\u60c5
trafficBandwidthTrans=v1/trafficBandwidthTrans trafficBandwidthTrans=v1/trafficBandwidthTrans
trafficProtocolList=v1/trafficProtocolList trafficProtocolList=v1/trafficProtocolList
irSnatLog=irSnatLogs irSnatLog=v1/irSnatLogs
irDnatLog=irDnatLogs irDnatLog=v1/irDnatLogs
trafficBandwidthTrans=v1/trafficBandwidthTrans trafficBandwidthTrans=v1/trafficBandwidthTrans
trafficProtocolList=v1/trafficProtocolList trafficProtocolList=v1/trafficProtocolList
trafficAppList=v1/trafficAppList trafficAppList=v1/trafficAppList

View File

@@ -75,7 +75,7 @@ $(document).ready(function(){
</div> </div>
<h3 class="page-title"> <h3 class="page-title">
<c:if test="${log.functionId == 407}"> <c:if test="${log.functionId == 407}">
<spring:message code="basic_protocol"/> <spring:message code="protocol_identify"/>
</c:if> </c:if>
<c:if test="${log.functionId == 408}"> <c:if test="${log.functionId == 408}">
<spring:message code="encrypted_tunnel_behavior"/> <spring:message code="encrypted_tunnel_behavior"/>
@@ -205,21 +205,34 @@ $(document).ready(function(){
<div class="form-group"> <div class="form-group">
<label><spring:message code="clientip"/></label> <label><spring:message code="clientip"/></label>
<input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/> <input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/>
</div> </div>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="direction"/></label> <label><spring:message code="social_app"/></label>
<form:select path="direction" class="selectpicker select2 form-control"> <form:select path="labelAppId" class="selectpicker select2 form-control">
<form:option value=""><spring:message code="select"/></form:option> <form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="dict"> <c:forEach items="${appList}" var="dict">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option> <form:option value="${dict.code}"><spring:message code="${dict.item}"/></form:option>
</c:forEach> </c:forEach>
</form:select> </form:select>
</div>
</div> </div>
</div> <c:if test="${log.functionId eq 63 or log.functionId eq 408}">
</div> <div class="col-md-2">
<div class="row"> <div class="form-group">
<label><spring:message code="basic_protocol"/></label>
<form:select path="labelProtoId" class="selectpicker select2 form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${protocolList}" var="dict">
<form:option value="${dict.code}"><spring:message code="${dict.item}"/></form:option>
</c:forEach>
</form:select>
</div>
</div>
</c:if>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="cfg_id"></spring:message></label> <label><spring:message code="cfg_id"></spring:message></label>
@@ -246,11 +259,12 @@ $(document).ready(function(){
<th class="sort-column label_proto_id" column="basic_protocol" ><spring:message code='basic_protocol'/></th> <th class="sort-column label_proto_id" column="basic_protocol" ><spring:message code='basic_protocol'/></th>
<%-- <th class="sort-column label_proto_source" isVisible="false"><spring:message code='label_proto_source'/></th> --%> <%-- <th class="sort-column label_proto_source" isVisible="false"><spring:message code='label_proto_source'/></th> --%>
<th class="sort-column label_app_id" column="social_app" ><spring:message code='social_app'/></th>
<c:if test="${functionID ne 407}"> <c:if test="${functionID ne 407}">
<th class="sort-column label_behav_id" column="behaviour_type" ><spring:message code='behaviour_type'/></th> <th class="sort-column label_behav_id" column="behaviour_type" ><spring:message code='behaviour_type'/></th>
</c:if> </c:if>
<%-- <th class="sort-column label_behav_source" isVisible="false"><spring:message code='label_behav_source'/></th> --%> <%-- <th class="sort-column label_behav_source" isVisible="false"><spring:message code='label_behav_source'/></th> --%>
<th class="sort-column label_app_id" column="social_app" ><spring:message code='social_app'/></th>
<%-- <th class="sort-column label_app_source" isVisible="false"><spring:message code='label_app_source'/></th> --%> <%-- <th class="sort-column label_app_source" isVisible="false"><spring:message code='label_app_source'/></th> --%>
<th class="sort-column cap_ip" isVisible="false" column="clj_ip" ><spring:message code="clj_ip"/></th> <th class="sort-column cap_ip" isVisible="false" column="clj_ip" ><spring:message code="clj_ip"/></th>
<th class="sort-column trans_proto" column="transport_layer_protocol" ><spring:message code="transport_layer_protocol"/></th> <th class="sort-column trans_proto" column="transport_layer_protocol" ><spring:message code="transport_layer_protocol"/></th>
@@ -320,6 +334,15 @@ $(document).ready(function(){
<%-- <td> <%-- <td>
${log.labelProtoSource} ${log.labelProtoSource}
</td> --%> </td> --%>
<td>
<c:set var="labelAppIds">${log.labelAppId }</c:set>
<c:forEach items="${appList}" var="dict">
<c:if test="${dict.code eq log.labelAppId}">
<c:set var="labelAppIds">${dict.item}</c:set>
</c:if>
</c:forEach>
<spring:message code="${labelAppIds}"/>
</td>
<c:if test="${functionID ne 407}"> <c:if test="${functionID ne 407}">
<td> <td>
<c:set var="labelBehavIds">${log.labelBehavId }</c:set> <c:set var="labelBehavIds">${log.labelBehavId }</c:set>
@@ -334,15 +357,7 @@ $(document).ready(function(){
<%-- <td> <%-- <td>
${log.labelBehavSource} ${log.labelBehavSource}
</td> --%> </td> --%>
<td>
<c:set var="labelAppIds">${log.labelAppId }</c:set>
<c:forEach items="${appList}" var="dict">
<c:if test="${dict.code eq log.labelAppId}">
<c:set var="labelAppIds">${dict.item}</c:set>
</c:if>
</c:forEach>
<spring:message code="${labelAppIds}"/>
</td>
<%-- <td> <%-- <td>
${log.labelAppSource} ${log.labelAppSource}
</td> --%> </td> --%>

View File

@@ -199,13 +199,8 @@
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label class="control-label"><spring:message code="direction"/></label> <label class="control-label"><spring:message code="as"/></label>
<form:select path="direction" class="selectpicker form-control"> <input name="asNum" type="text" class="form-control" value="${log.asNum }"/>
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="direction" >
<form:option value="${direction.itemCode}"><spring:message code="${direction.itemValue}"></spring:message></form:option>
</c:forEach>
</form:select>
</div> </div>
</div> </div>
</div> </div>
@@ -230,6 +225,9 @@
<th class="sort-column cfg_id " isVisible="false" column="cfg_id" ><spring:message code="cfg_id"/></th> <th class="sort-column cfg_id " isVisible="false" column="cfg_id" ><spring:message code="cfg_id"/></th>
<th class="sort-column service" isVisible="false" column="action"><spring:message code="action"/></th> <th class="sort-column service" isVisible="false" column="action"><spring:message code="action"/></th>
<th class="sort-column found_time" column="found_time"><spring:message code="found_time"/></th> <th class="sort-column found_time" column="found_time"><spring:message code="found_time"/></th>
<th class="sort-column type" column="message_type"><spring:message code='message_type'/></th>
<th class="sort-column as_num" column="as"><spring:message code='as'/></th>
<th class="sort-column route" column="route"><spring:message code='route'/></th>
<th class="sort-column recv_time" isVisible="false" column="recv_time"><spring:message code="recv_time"/></th> <th class="sort-column recv_time" isVisible="false" column="recv_time"><spring:message code="recv_time"/></th>
<th class="sort-column entrance_id" isVisible="false" column="entrance_id"><spring:message code="entrance_id"/></th> <th class="sort-column entrance_id" isVisible="false" column="entrance_id"><spring:message code="entrance_id"/></th>
@@ -258,9 +256,7 @@
<th class="sort-column d_subscribe_id" isVisible="false" column="d_subscribe_id"><spring:message code='d_subscribe_id'/></th> <th class="sort-column d_subscribe_id" isVisible="false" column="d_subscribe_id"><spring:message code='d_subscribe_id'/></th>
<%-- <th class="sort-column user_region" isVisible="false" column="user_region"><spring:message code='user_region'/></th> --%> <%-- <th class="sort-column user_region" isVisible="false" column="user_region"><spring:message code='user_region'/></th> --%>
<c:if test="${fns:getUser().isAdmin()}"><th class="sort-column scene_file" column="scene_file"><spring:message code='scene_file'/></th></c:if> <c:if test="${fns:getUser().isAdmin()}"><th class="sort-column scene_file" column="scene_file"><spring:message code='scene_file'/></th></c:if>
<th class="sort-column type" column="message_type"><spring:message code='message_type'/></th>
<th class="sort-column as_num" column="as"><spring:message code='as'/></th>
<th class="sort-column route" column="route"><spring:message code='route'/></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -281,6 +277,17 @@
<spring:message code="${actions}"/> <spring:message code="${actions}"/>
</td> </td>
<td>${log.foundTime }</td> <td>${log.foundTime }</td>
<td>
<c:set var="types">${log.type }</c:set>
<c:forEach items="${fns:getDictList('BGP_MESSAGE_TYPE')}" var="type">
<c:if test="${type.itemCode eq log.type}">
<c:set var="types">${type.itemValue}</c:set>
</c:if>
</c:forEach>
<spring:message code="${types}"/>
</td>
<td>${log.asNum}</td>
<td>${log.route}</td>
<td>${log.recvTime }</td> <td>${log.recvTime }</td>
<td> <td>
@@ -371,17 +378,7 @@
<td>${log.dSubscribeId}</td> <td>${log.dSubscribeId}</td>
<%-- <td>${log.userRegion}</td> --%> <%-- <td>${log.userRegion}</td> --%>
<c:if test="${fns:getUser().isAdmin()}"><td>${log.sceneFile}</td></c:if> <c:if test="${fns:getUser().isAdmin()}"><td>${log.sceneFile}</td></c:if>
<td>
<c:set var="types">${log.type }</c:set>
<c:forEach items="${fns:getDictList('BGP_MESSAGE_TYPE')}" var="type">
<c:if test="${type.itemCode eq log.type}">
<c:set var="types">${type.itemValue}</c:set>
</c:if>
</c:forEach>
<spring:message code="${types}"/>
</td>
<td>${log.asNum}</td>
<td>${log.route}</td>
</tr> </tr>
</c:forEach> </c:forEach>
</tbody> </tbody>

View File

@@ -200,10 +200,10 @@ $(document).ready(function(){
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="direction"/></label> <label><spring:message code="attack_type"/></label>
<form:select path="direction" class="selectpicker select2 form-control"> <form:select path="attackType" class="selectpicker select2 form-control">
<form:option value=""><spring:message code="select"/></form:option> <form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="dict"> <c:forEach items="${fns:getDictList('ATTACK_TYPE')}" var="dict">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option> <form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option>
</c:forEach> </c:forEach>
</form:select> </form:select>

View File

@@ -200,16 +200,10 @@ $(document).ready(function(){
<input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/> <input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/>
</div> </div>
</div> </div>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="direction"/></label> <label><spring:message code="ftp_url"/></label>
<form:select path="direction" class="selectpicker select2 form-control"> <input id="ftpUrl" name="ftpUrl" class="form-control" type="text" value="${log.ftpUrl}"/>
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="dict">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option>
</c:forEach>
</form:select>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -196,18 +196,6 @@
<input name="sIp" type="text" class="form-control" value="${log.sIp }"/> <input name="sIp" type="text" class="form-control" value="${log.sIp }"/>
</div> </div>
</div> </div>
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code="direction"/></label>
<form:select path="direction" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="direction" >
<form:option value="${direction.itemCode}"><spring:message code="${direction.itemValue}"></spring:message></form:option>
</c:forEach>
</form:select>
</div>
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">

View File

@@ -153,6 +153,18 @@ $(document).ready(function(){
<input id="dIp" name="dIp" class="form-control" type="text" value="${log.dIp}"/> <input id="dIp" name="dIp" class="form-control" type="text" value="${log.dIp}"/>
</div> </div>
</div> </div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="calling_account"/></label>
<input id="callingAccount" name="callingAccount" class="form-control" type="text" value="${log.callingAccount}"/>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="called_account"/></label>
<input id="calledAccount" name="calledAccount" class="form-control" type="text" value="${log.calledAccount}"/>
</div>
</div>
<div class="col-md-2"> <div class="col-md-2">
<label><spring:message code="cfg_id"></spring:message></label> <label><spring:message code="cfg_id"></spring:message></label>
<input name="cfgId" type="text" class="form-control logCfgId number" value="${log.cfgId }"/> <input name="cfgId" type="text" class="form-control logCfgId number" value="${log.cfgId }"/>

View File

@@ -212,8 +212,21 @@ $(document).ready(function(){
<input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/> <input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/>
</div> </div>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="calling_account"/></label>
<input id="callingAccount" name="callingAccount" class="form-control" type="text" value="${log.callingAccount}"/>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="called_account"/></label>
<input id="calledAccount" name="calledAccount" class="form-control" type="text" value="${log.calledAccount}"/>
</div>
</div>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="cfg_id"></spring:message></label> <label><spring:message code="cfg_id"></spring:message></label>

View File

@@ -211,6 +211,12 @@ $(document).ready(function(){
<input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/> <input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/>
</div> </div>
</div> </div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="access_url"/></label>
<input id="url" name="url" class="form-control" type="text" value="${log.url}"/>
</div>
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2"> <div class="col-md-2">

View File

@@ -197,19 +197,20 @@
</div> </div>
</div> </div>
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code="direction"/></label>
<form:select path="direction" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_DIRECTION')}" var="direction" >
<form:option value="${direction.itemCode}"><spring:message code="${direction.itemValue}"></spring:message></form:option>
</c:forEach>
</form:select>
</div>
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="p2p_file_id"></spring:message></label>
<input name="p2pFileId" type="text" class="form-control" value="${log.p2pFileId }"/>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="p2p_keyword"></spring:message></label>
<input name="p2pKeyword" type="text" class="form-control" value="${log.p2pKeyword }"/>
</div>
</div>
<div class="col-md-2"> <div class="col-md-2">
<div class="form-group"> <div class="form-group">
<label><spring:message code="cfg_id"></spring:message></label> <label><spring:message code="cfg_id"></spring:message></label>