日志:

1、PXY_HTTP_LOG 属性web_site补全属性;
2、修改NTC_DDOS_LOG 笔误改为IS_BLOCK;
配置:
1、新增VOIP动态阻断(0x112)配置文件;
This commit is contained in:
zhangdongxu
2018-10-15 16:39:40 +08:00
parent 306995c6e3
commit 09341ab920
6 changed files with 29 additions and 16 deletions

View File

@@ -30,9 +30,9 @@ public class NtcDdosLog extends LogEntity<NtcDdosLog> {
@ApiModelProperty(value = "攻击累积字节数", required = true)
protected String attackTotalByte;
@ApiModelProperty(value = "攻击流量是否被丢弃", required = true)
protected Integer isBlcok;
protected Integer isBlock;
protected String searchIsBlcok; //攻击流量是否被丢弃
protected String searchIsBlock; //攻击流量是否被丢弃
public Integer getAttackType() {
return attackType;
}
@@ -75,18 +75,18 @@ public class NtcDdosLog extends LogEntity<NtcDdosLog> {
public void setAttackTotalByte(String attackTotalByte) {
this.attackTotalByte = attackTotalByte;
}
public Integer getIsBlcok() {
return isBlcok;
public Integer getIsBlock() {
return isBlock;
}
public void setIsBlcok(Integer isBlcok) {
this.isBlcok = isBlcok;
public void setIsBlock(Integer isBlock) {
this.isBlock = isBlock;
}
public String getSearchIsBlcok() {
return searchIsBlcok;
public String getSearchIsBlock() {
return searchIsBlock;
}
public void setSearchIsBlcok(String searchIsBlcok) {
this.searchIsBlcok = searchIsBlcok;
public void setSearchIsBlock(String searchIsBlock) {
this.searchIsBlock = searchIsBlock;
}
}

View File

@@ -39,6 +39,9 @@ public class PxyHttpLog extends LogEntity<PxyHttpLog> {
protected String reqBody;
@ApiModelProperty(value="原始应答体", required=true)
protected String respBody;
@ApiModelProperty(value="域名", required=true)
protected String webSite;
public String getUrl() {
return url;
}
@@ -117,4 +120,11 @@ public class PxyHttpLog extends LogEntity<PxyHttpLog> {
public void setRespBody(String respBody) {
this.respBody = respBody;
}
public String getWebSite() {
return webSite;
}
public void setWebSite(String webSite) {
this.webSite = webSite;
}
}

View File

@@ -456,7 +456,7 @@
<result column="attack_max_bps" jdbcType="VARCHAR" property="attackMaxBps" />
<result column="attack_total_pkt" jdbcType="VARCHAR" property="attackTotalPkt" />
<result column="attack_total_byte" jdbcType="VARCHAR" property="attackTotalByte" />
<result column="is_blcok" jdbcType="INTEGER" property="isBlcok" />
<result column="is_block" jdbcType="INTEGER" property="isBlock" />
</resultMap>
<resultMap id="DkBehaviorLogMap" type="com.nis.domain.restful.DkBehaviorLog">
<result column="cfg_id" jdbcType="BIGINT" property="cfgId" />
@@ -966,6 +966,7 @@
<result column="resp_header" jdbcType="VARCHAR" property="respHeader" />
<result column="req_body" jdbcType="VARCHAR" property="reqBody" />
<result column="resp_body" jdbcType="VARCHAR" property="respBody" />
<result column="web_site" jdbcType="VARCHAR" property="webSite" />
</resultMap>
<resultMap id="NtcP2pLogMap" type="com.nis.domain.restful.NtcP2pLog">
<result column="cfg_id" jdbcType="BIGINT" property="cfgId" />