dns欺骗IP,端口,端口格式隐藏

This commit is contained in:
wangxin
2018-07-26 10:12:51 +08:00
parent ddcf13baa9
commit 8851540c26
2 changed files with 10 additions and 8 deletions

View File

@@ -159,7 +159,7 @@ $(function(){
</div>
</div>
</div>
<div class="row port">
<%-- <div class="row port">
<div class="col-md-6">
<div class="form-group">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="port_pattern"/></label>
@@ -182,8 +182,10 @@ $(function(){
<div for="destPort"></div>
</div>
</div>
</div>
</div> --%>
<input type="hidden" name="portPattern" value="1">
<input type="hidden" name="srcPort" value="0">
<input type="hidden" name="destPort" value="0">
<input type="hidden" name="srcIpAddress" value="0.0.0.0">
<input type="hidden" name="direction" value="1">
<input type="hidden" name="protocolId" value="0">

View File

@@ -103,7 +103,7 @@
<form:select path="seltype" class="selectpicker select2 input-small" >
<form:option value="cfgDesc"><spring:message code="config_describe"></spring:message></form:option>
<form:option value="destIpAddress"><spring:message code="IP"></spring:message></form:option>
<form:option value="destPort"><spring:message code="port"></spring:message></form:option>
<%-- <form:option value="destPort"><spring:message code="port"></spring:message></form:option> --%>
</form:select>
</div>
@@ -279,9 +279,9 @@
<th><spring:message code="policy_name"/></th>
<th><spring:message code="ip_type"/></th>
<th><spring:message code="IP"/></th>
<th><spring:message code="port"/></th>
<%-- <th><spring:message code="port"/></th> --%>
<th><spring:message code="ip_pattern"/></th>
<th><spring:message code="port_pattern"/></th>
<%-- <th><spring:message code="port_pattern"/></th> --%>
<th><spring:message code="block_type"/></th>
<th><spring:message code="letter"/></th>
<th><spring:message code="classification"/></th>
@@ -311,17 +311,17 @@
</c:forEach>
</td>
<td>${cfg.destIpAddress }</td>
<td>${cfg.destPort }</td>
<%-- <td>${cfg.destPort }</td> --%>
<td>
<c:forEach items="${fns:getDictList('IP_PATTERN')}" var="ipPatternC">
<c:if test="${cfg.ipPattern==ipPatternC.itemCode}"><spring:message code="${ipPatternC.itemValue }"/></c:if>
</c:forEach>
</td>
<td>
<%-- <td>
<c:forEach items="${fns:getDictList('PORT_PATTERN')}" var="portPatternC">
<c:if test="${cfg.portPattern eq portPatternC.itemCode}"><spring:message code="${portPatternC.itemValue }"/></c:if>
</c:forEach>
</td>
</td> --%>
<td>
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${dict.itemCode eq cfg.action }">