parent
7caeecaebe
commit
7754b775cd
|
@ -140,36 +140,29 @@ public enum DpTechAttackType implements BaseEnum {
|
|||
|
||||
switch (type) {
|
||||
case HOST_TOTAL_TRAFFIC:
|
||||
case WIN_NUKE:
|
||||
case SIP_FLOOD:
|
||||
case DNS_FLOOD:
|
||||
case IPV4_PROTOCOL0:
|
||||
case IP_PRIVATE:
|
||||
case LAND_FLOOD:
|
||||
case IGMP_FLOOD:
|
||||
attackList.add(HOST_TOTAL_TRAFFIC);
|
||||
break;
|
||||
|
||||
case RST_FLOOD:
|
||||
case FIN_FLOOD:
|
||||
case SIP_FLOOD:
|
||||
attackList.add(TCP_FIN_FLOOD);
|
||||
break;
|
||||
|
||||
case SYN_FLOOD:
|
||||
attackList.add(TCP_SYN_FLOOD);
|
||||
break;
|
||||
|
||||
case ACK_FLOOD:
|
||||
attackList.add(TCP_ACK_FLOOD);
|
||||
break;
|
||||
|
||||
case TCP_NULL:
|
||||
case SYN_ACK_AMPLIFICATION:
|
||||
case TCP_MISUSE:
|
||||
case FIN_FLOOD:
|
||||
attackList.add(TCP_SYN_ACK_FLOOD);
|
||||
break;
|
||||
|
||||
case TCP_FRAGMENT:
|
||||
case WIN_NUKE:
|
||||
case UDP_FRAGMENT:
|
||||
case ICMP_FRAGMENT:
|
||||
case IPV4_PROTOCOL0:
|
||||
case IP_PRIVATE:
|
||||
case LAND_FLOOD:
|
||||
attackList.add(IP_FRAGMENT_FLOOD);
|
||||
break;
|
||||
|
||||
|
@ -178,11 +171,6 @@ public enum DpTechAttackType implements BaseEnum {
|
|||
attackList.add(HTTP_FLOOD);
|
||||
break;
|
||||
|
||||
case DNS_FLOOD:
|
||||
attackList.add(DNS_REPLY_FLOOD);
|
||||
attackList.add(DNS_QUERY_FLOOD);
|
||||
break;
|
||||
|
||||
case CHARGED_AMPLIFICATION:
|
||||
case L2TP_AMPLIFICATION:
|
||||
case MDNS_AMPLIFICATION:
|
||||
|
@ -204,7 +192,6 @@ public enum DpTechAttackType implements BaseEnum {
|
|||
case SENTINEL_AMPLIFICATION:
|
||||
case FRAGGLE_FLOOD:
|
||||
case UDP_FLOOD:
|
||||
case IGMP_FLOOD:
|
||||
attackList.add(UDP_FLOOD);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue