2018-06-29 15:39:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
*@Title: DnsIpConfig.java
|
|
|
|
|
|
*@Package com.nis.domain.restful
|
|
|
|
|
|
*@Description 欺骗IP实体类
|
|
|
|
|
|
*@author dell
|
|
|
|
|
|
*@date 2018年2月5日 下午2:57:17
|
|
|
|
|
|
*@version 版本号
|
|
|
|
|
|
*/
|
|
|
|
|
|
package com.nis.domain.configuration;
|
|
|
|
|
|
|
2018-10-22 16:26:44 +08:00
|
|
|
|
import com.nis.util.excel.ExcelField;
|
2018-06-29 15:39:11 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: DnsIpConfig.java
|
|
|
|
|
|
* @author (dell)
|
|
|
|
|
|
* @date 2018年2月5日 下午2:57:17
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
public class DdosIpCfg extends BaseIpCfg {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
private static final long serialVersionUID = -5446903784736960824L;
|
2018-10-22 21:27:08 +08:00
|
|
|
|
private String indexTable="ddos_ip_cfg";
|
2019-01-17 16:11:50 +08:00
|
|
|
|
@ExcelField(title="antiddos_protocol",sort=46)
|
2018-10-18 10:11:38 +08:00
|
|
|
|
private String antiddosProtocol;//目前支持TCP_SYN, DNS, NTP,
|
2019-01-17 16:11:50 +08:00
|
|
|
|
@ExcelField(title="bps_threadshold",sort=47)
|
2018-10-18 10:11:38 +08:00
|
|
|
|
private Long bpsThreadshold;// 即DDoS攻击保护动作触发阈值,每秒Bit数和每秒包数
|
2019-01-17 16:11:50 +08:00
|
|
|
|
@ExcelField(title="pps_threadshold",sort=48)
|
2018-10-18 10:11:38 +08:00
|
|
|
|
private Long ppsThreadshold;
|
2019-01-27 10:32:02 +00:00
|
|
|
|
@ExcelField(title="log_total",sort=42)
|
|
|
|
|
|
private Long totalLogs;
|
2019-01-17 16:11:50 +08:00
|
|
|
|
|
2018-10-18 10:11:38 +08:00
|
|
|
|
public String getAntiddosProtocol() {
|
|
|
|
|
|
return antiddosProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAntiddosProtocol(String antiddosProtocol) {
|
|
|
|
|
|
this.antiddosProtocol = antiddosProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Long getBpsThreadshold() {
|
|
|
|
|
|
return bpsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setBpsThreadshold(Long bpsThreadshold) {
|
|
|
|
|
|
this.bpsThreadshold = bpsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Long getPpsThreadshold() {
|
|
|
|
|
|
return ppsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setPpsThreadshold(Long ppsThreadshold) {
|
|
|
|
|
|
this.ppsThreadshold = ppsThreadshold;
|
|
|
|
|
|
}
|
2018-10-22 21:27:08 +08:00
|
|
|
|
public String getIndexTable() {
|
|
|
|
|
|
return indexTable;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIndexTable(String indexTable) {
|
|
|
|
|
|
this.indexTable = indexTable;
|
|
|
|
|
|
}
|
2019-01-27 10:32:02 +00:00
|
|
|
|
public Long getTotalLogs() {
|
|
|
|
|
|
return totalLogs;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setTotalLogs(Long totalLogs) {
|
|
|
|
|
|
this.totalLogs = totalLogs;
|
|
|
|
|
|
}
|
2018-06-29 15:39:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|