F5BigDdosGlobal¶
The GlobalDDoS Custom Resource (CR) configures the Traffic Management Microkernel (TMM) proxy pod to protect applications and the TMM Pod from Denial of Service / Distributed Denial of Service (Dos/DDoS) attacks. Using custom packet signatures, the Global DDoS inspects all application traffic processed by the TMM Proxy Pod, to detect, report and/or mitigate DoS/DDoS events.
The list of parameters to configure F5BigDdosGlobal CRD.
hslPublisher¶
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the endpoint logging server to send logging messages. |
|
allowList¶
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the list of source IP addresses excluded from DDoS detection/mitigation. Refers to the AddressList CR. |
|
|
Specifies the individual configurations for each entry in the allow list. |
|
|
Specifies the name of the allowList entry. |
|
|
Specifies the IP protocol allowed by the allowList. |
|
|
Specifies the category to match addresses. |
|
|
Specifies the criteria to match address for entryType. |
|
|
Specifies the destination port. |
|
|
Specifies the name of the source VLAN. |
|
DoS Global Options¶
This table lists all the dosGlobalOption parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
Specifies CRD fields for configuring global DDoS options. |
|
|
Specifies CRD fields for common dos sys db variables. |
|
|
Force SW DoS and not to use HW offload for DoS on HW capable systems. |
|
vectors¶
IPv4 Flood Vectors¶
This table lists all the IPv4 Flood Vectors parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector detects or rate-limits IPv4 ICMP flood attacks based on the state and rate-limit configuration. It also supports per-source and per-destination IP detection for bad actor and bad-destination mitigation and detection. |
Yes |
|
|
This vector detects ICMP Source Quench attacks. It is detected or dropped based on the state and rate limit configuration; provides detection and rate limiting per-sourceIP and per-destinationIP, and is subject to ba/bd ICMP source quench packets. |
Yes |
|
|
This vector detects the attack when spoofed IPv4 fragments are sent at a very high rate. Detected or dropped based on the state and rate limit configuration, it provides per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects attacks when a flood of IPv4 overlapping fragments is received. Detected or ratelimited based on the state and rate limit configuration, it offers per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects the attack when IPv4 packets with low TTL (non zero) values are received. Detection or rate limit is done based on the state and rate limit configuration. It provides per-sourceIP and per-destinationIP detection and rate limiting. This vector is subject to ba/bd. |
Yes |
|
|
This vector detects the attack with no Layer 4 payload for the IPv4 address. Based on the state and rate-limit configuration, it is detected or ratelimited. Also offers per-sourceIP and per-destinationIP detection and rate limiting. This vector is categorized as ba/bd. |
Yes |
|
|
This vector detects attack when a flood of too many IPv4 packets with an IP options frame are received. Attack is detected or dropped per the state and rate limit configuration and provides per-sourceIP and per-destinationIP detection and rate limiting. |
No |
This table lists all the parameters common for IPv4 Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the type of DoS Flood Vector to detect and mitigate: udp-flood, ether-brdcst-pkt, ether-multicst-pkt, arp-flood, ip-frag-flood, ipv6-frag-flood, tcp-rst-flood, icmpv4-flood, icmpv6-flood, and tcp-psh-flood. |
|
|
Specifies the system’s response when a vector match occurs: detection-only or mitigation. |
|
|
Specifies the attack detection threshold in Events Per Second (EPS). When EPS exceeds the threshold, the attack is logged and reported. |
|
|
Specifies the attack detection threshold by Events Per Second (EPS) percentage increase. The system compares the current EPS rate to the average rate from the last hour, and when the percentage is exceeded, the attack is logged and reported. |
|
|
Specifies the rate limit in Events Per Second (EPS). When EPS exceeds the threshold, excess events are dropped until the EPS rate does not longer exceed the threshold. |
|
|
Specifies the attack detection threshold in EPS per source IP address. |
|
|
Specifies the rate limit in EPS for the configured attack type per source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured attack type per destination IP. |
|
IPv4 Error Vectors¶
This table lists all the Error parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector occurs when the time-to-live value is zero for an IPv4 packet. When enabled, an attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects the attack when the IP version in the header is not set to 4. When enabled, attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects the attack when the source IP is either broadcast or multicast. When enabled, an attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects the attack when an incorrect IPv4 header checksum is observed. When enabled, attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects attacks with invalid IPv4 fragmentation offset values. When enabled, attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects attacks with too small IPv4 fragment packets. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with header lengths less than 20 bytes. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects the attack traffic with no room in the Layer 2 packet for the IPv4 IP header (including options). When enabled, Attack is detected and dropped based on the threshold configuration. |
No |
|
|
The vector detects the attcack traffic with illegal length in the IP option. When enabled, Attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects the attack traffic with the total length in the IPv4 header exceeding the Layer 3 length in a Layer 2 packet. When enabled, Attack is detected and dropped based on the threshold configuration. |
No |
This table lists all the parameters common for IPv4 error vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
IPv6 Flood Vectors¶
This table lists all the Flood parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector detects attacks with extended headers reaching or surpassing the end of the Layer 4 frame. Based on the state and rate limit configuration, an attack is detected or dropped and provides per-sourceIP and per-destinationIP detection and rate limiting. |
Yes |
|
|
This vector detects attacks with out of ordered extended headers in the IPv6 header. Attack is detected or dropped as per the state and rate limit configuration. |
No |
|
|
This vector detects the IPv6 ICMP flood attack. Attack is detected or rate-limited based on the state and rate limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects the attack when spoofed IPv6 fragments are received at a very high rate. Attack is detected or ratelimited based on the state and rate-limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
Yes |
|
|
This vector detects attacks with IPv6 fragment headers with M=0 and FragOffset=0. Attack is detected or ratelimited based on the state and rate-limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
No |
|
|
This vector detects attacks with an IPv4 address occupying the lowest 32 bits of an IPv6 address. Attack is detected or ratelimited based on the state and rate-limit configuration. |
No |
|
|
This vector detects the attack when IPv6 packets with routing header type zero are received. Attack is detected or ratelimited based on the state and rate-limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects the attack when IPv6 extended header hop count is set to less than or equal to the configured value of ipv6LowHopCount. Attack is detected or dropped according to the state and rate limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate limiting. |
Yes |
|
|
This vector detects the attack when we receive packets which have too Large IPv6 Extension Header field based on the configured limit. Attack is detected or ratelimited based on the state and rate-limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
No |
|
|
This vector detects attacks with too many IPv6 Extension Headers exceeding the limit configured. Attack is detected or dropped according to the state and rate limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects attacks with too many IPv6 Extension Headers exceeding the limit configured. Attack is detected or dropped according to the state and rate limit configuration. Also provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
This table lists all the common config parameters common for IPv6 Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the type of IPv6 DoS Flood Vector to match: l4-ext-hdrs-go-end, and bad-ext-hdr-order. |
|
|
Specifies the response for an IPv6 vector match: detection-only or mitigation. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the minimum value for the hop count. |
|
|
Specifies the extension size. |
|
|
The enum options are |
|
|
The minimum and maximum values are 0 and 15 respectively. |
|
IPv6 Error Vectors¶
This table lists all the Error parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector detects attacks with an extension header appearing more than once in an IPv6 packet, excluding the Destination Options extension header. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with both the terminated (Count=0) and forwarding packet (Count=1) counts set to invalid. When enabled, an attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects attacks with the version not set to 6, in the IPv6 header. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with the IPv6 address length exceeding the Layer 2 length. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with the specified IPv6 payload length shorter than the Layer 2 length. When enabled, Attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects the attack with a multicast source IPv6 address. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with invalid IPv6 fragmentation offset values. When enabled, an attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects attacks when IPv6 overlapping fragments are received. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attacks with the undersized IPv6 fragment packets. When enabled, an attack is detected and dropped based on the threshold configuration. |
No |
This table lists all the parameters common for IPv6 error vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
TCP Flood Vectors¶
This table lists all the TCP Flood parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
TCP uncommon options flood vector. |
|
|
|
This vector detects the attack with an RST flag set in the TCP packet to tamper with internet communications. It is detected or dropped based on the state and rate limit configuration and provides detection and rate limiting per-sourceIP and per-destinationIP. |
Yes |
|
|
This vector detects attacks with uncommon combinations of flags in the TCP packet to tamper with internet communications. It is detected or dropped based on the state and rate limit configuration and provides detection and rate limiting per-sourceIP and per-destinationIP. Current list of uncommon flag combinations are A00SF [19],AP0S0 [26],AP0SF [27]. |
No |
|
|
This vector detects attack traffic with TCP SYN packets larger than 64 bytes. It is detected or dropped based on the state and rate limit configuration. Provides detection and rate-limiting per-sourceIP and per-destinationIP. |
No |
|
|
This vector detects attack traffic with URG flag set, and the urgent pointer is 0. It is detected or dropped based on the state and rate limit configuration, provides detection and rate limiting per-sourceIP and per-destinationIP. |
Yes |
|
|
This vector detects attack traffic with option bits that overrun the TCP header. It is detected or dropped based on the state and rate limit configuration. Provides detection and rate limiting per-sourceIP and per-destinationIP. |
No |
|
|
This vector detects attack traffic with a TCP window size of zero. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This attack vector targets all connections that are not TCP. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
No |
|
|
This vector detects attack traffic with an illegal TCP Option length. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
No |
|
|
This vector detects the flood of traffic with both TCP SYN and ACK flags set in the packet. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
Yes |
|
|
If true, count only unsolicited SYN-ACKs; else count all SYN-ACKs. |
|
|
|
This vector detects the flood of traffic with TCP SYN flag set. SYN cookie feature can be enabled for mitigation actions. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
Yes |
|
|
This vector detects the flood of traffic with TCP ACK flags set in the packet. Attack is detected or rate-limited based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
Yes |
|
|
This vector detects the flood of traffic with invalid timestamps given for a TCP ACK packet. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
No |
|
|
If true, timestamp cookie is enabled on all VLANs. |
|
This table lists all the common config parameters common for TCP Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
If set to True, count only the unsolicited SYN-ACKs that are received. If set to False, count all SYN-ACKs received. |
|
|
If set to true, the timestamp cookie is enabled on all vlans. |
|
|
When Syn Cookie is enabled, BIGIP sends a cookie in the SynAck response during Syn Flood. TCP flow is only created when the client responds back with the Syn Cookie. In ADoS Mode, valid client entries will be added to verifiedList. Refer to below table for synCookie Parameters |
|
|
Status of synCookie. Enum: |
|
|
Add valid client entries to verifiedList. Enum: |
|
|
Threshold value. Range |
|
|
Threshold value. Range |
|
|
Threshold value. Range |
|
|
Scrub time (minutes) to flush verifiedList entries from HW (ADoS only). Range |
|
|
Threshold value. Range |
|
|
Skip TCP SYN/ACK flood and TCP RST flood vectors for IPs in verifiedList (ADoS only). |
|
synCookie Parameters
Parameter |
Description |
Default |
|---|---|---|
|
Indicates the status of the parameter. Available options: enable or disable |
|
|
Valid client entries are added to verifiedList which respond to Syn Cookie. Any change to this parameter in ADoS mode does not affect as verifiedList is always enabled. |
|
|
Specifies the threshold value. |
|
|
This option specifies the scrub time in units of minutes for flushing the verifiedList entries from HW. This is supported in ADoS mode only. |
|
|
If set to true, DoS vectors TCP SYN/ACK flood and TCP RST flood for IPs in the verifiedList is skipped. If verifiedList is not enabled, this option has no effect. This is supported in ADoS mode only. |
|
TCP Error Vectors¶
This table lists all the TCP Error parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
Invalid TCP checksums. |
|
|
This vector detects the attack traffic with TCP header length exceeding the Layer 2 length. When enabled, attack is detected and dropped based on the threshold configuration. |
|
|
This vector detects the attack traffic with Data Offset value in the TCP header that is less than 20 bytes. When enabled, attack is detected and dropped based on the threshold configuration. |
|
|
This vector detects attack traffic with malformed combinations of flags in the TCP header. When enabled, attack is detected and dropped based on the threshold configuration. Current list of malformed flag combinations are 00000 [00],0000F [01],000SF [03],00R0F [05],00RS0 [06], 00RSF [07],0P000 [08],0P00F [09],0P0S0 [10],0P0SF [11], 0PR00 [12],0PR0F [13],0PRS0 [14],0PRSF [15],A0R0F [21], A0RS0 [22],A0RSF [23],APR00 [28],APR0F [29],APRS0 [30], APRSF [31]. |
|
This table lists all the common config parameters common for TCP Error vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the TCP attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the TCP attack detection percentage increase for the configured attack type. |
|
UDP Flood Vectors¶
This table lists all the UDP Flood Vectors parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector prevents the UDP flood. UDP port lists can be enabled for mitigation. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
Yes |
This table lists all the common config parameters common for UDP Flood Vectors vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
List of the UDP ports, that need to be either excluded or included in detecting the UDP flood. |
udpPortLists Parameters
Parameters |
Description |
Default |
|---|---|---|
|
Specifies the list of ports excluded. Available options: |
|
|
Specify the port and matchDirection. |
|
UDP Error Vectors¶
This table lists all the UDP Error parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector detects attack traffic with incorrect UDP checksums. When enabled, an attack is detected and dropped based on the threshold configuration. |
Yes |
|
|
This vector detects attack traffic with a UDP header length greater than the IP length or Layer 2 length. When enabled, attack is detected and dropped based on the threshold configuration. |
Yes |
|
This table lists all the common config parameters common for UDP Error vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the UDP attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the UDP attack detection percentage increase for the configured attack type. |
|
Common Flood Vectors¶
This table lists all the Common Flood Vectors parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
This vector detects attack traffic sent to BIGIP, that doesn’t match with any listeners configured. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects the configured excluded IP protocols traffic. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
|
|
List of IP protocols to exclude from uncommonIpProtocols detection/mitigation. |
|
|
This vector detects attack traffic with an unknown or undetermined protocol. Attack is detected or dropped according to the state and rate limit configuration. |
|
|
Detect unknown IP options in packet. |
|
This table lists all the common config parameters common for Common Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
All the IP protocols that need to be excluded are listed below. These protocols are considered Common IP protocols and should not be detected or mitigated by uncommonIPprotocol vectors. |
excludedIpProtcols Parameters
Parameter |
Description |
Default |
|---|---|---|
Configuring one or more IP protocol(s) string(s) from the enumerated list will exclude them from being subjected to detection/mitigation threshold by uncommonIPprotocol vector. If nothing is configured, then all the IP protocols defined in the default list will be excluded from being subjected to detection/mitigation threshold by uncommonIpProtocol vector. Enumerated list act as an Universal list of protocols. Item “any” act as wildcard element for the list of IP protocols in mBIP. |
|
Common Error Vectors¶
This table lists all the Common Error Vectors parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
This vector detects attack traffic where the Source IP is the same as the destination IP address. When enabled, attack is detected and dropped based on the threshold configuration. |
|
|
This vector detects attack traffic with incorrect SCTP checksum. When enabled, an attack is detected and dropped based on the threshold configuration. |
|
This table lists all the common config parameters common for TCP Error vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the common error detection threshold in EPS for the configured attack type. |
|
|
Specifies the common error detection percentage increase for the configured attack type. |
|
DNS Flood Vectors¶
This table lists all the DNS Flood Vectors parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
This vector detects DNS packets with Qtype as A_QRY. Attack is detected or dropped based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with Qtype as AAAA. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with Qtype as AAAA. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with Qtype as PTR. Attack is detected or dropped per state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with Qtype as AXFR. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as CNAME. Attack is detected or dropped based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as IXFR. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects the DNS packets with DNS Qtype as MX. Attack is detected or dropped based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as NS. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as OTHER. Attack is detected or dropped based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as SOA_QRY. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as SRV. Attack is detected or dropped based on the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects DNS packets with DNS Qtype as TXT. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
This vector detects oversized DNS headers. Attack is detected or ratelimited based on the state and rate-limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate-limiting. |
|
|
Allowed maximum DNS size. Range |
|
|
This vector detects DNS queries for non-existing domains. Attack is detected or dropped according to the state and rate limit configuration. Provides both per-sourceIP and per-destinationIP detection and rate limiting. |
|
|
List of domains considered valid. |
|
|
Configuration options for DNS proxies. |
|
|
Maximum response packets per second; no responses are sent once exceeded. Range |
|
|
AddressList of DNS proxy source addresses. |
|
This table lists all the common config parameters common for DNS Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the response for DNS vector match: detection-only or mitigation. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate Limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the allowed maximum size for DNS. |
|
|
Define the list of domains that the vector should consider as valid domains. |
DNS Error Vectors¶
This table lists all the DNS Error Vectors parameters for object types:
Parameter |
Description |
Default |
|---|---|---|
|
This vector detects the malformed DNS packets. When enabled, an attack is detected and dropped based on the threshold configuration. |
|
|
This vector detects DNS packets with a DNS qdcount not equal to 1. When enabled, an attack is detected and dropped based on the threshold configuration. |
|
|
This vector detects DNS packets with DNS header flags bit 15 set as 1 (response). When enabled, an attack is detected and dropped based on the threshold configuration. |
This table lists all the common config parameters common for DNS Error Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
L2 Flood Vectors¶
This table lists all the L2 Flood Vectors parameters for object types:
Parameter |
Description |
Support for Hardware Acceleration |
Default |
|---|---|---|---|
|
This vector detects the traffic with broadcast as the Ethernet destination address. Attack is detected or dropped according to the state and rate limit configuration. |
Yes |
|
|
This vector detects traffic with a multicast set for the Ethernet destination address. Attack is detected or dropped according to the state and rate limit configuration. |
Yes |
|
|
This vector detects the ARP flood in the network. Attack is detected or dropped based on the state and rate limit configuration. |
Yes |
|
|
This vector detects traffic with Ethernet MAC source address same as the destination address. When enabled, attack is detected and dropped based on the threshold configuration. |
No |
|
|
This vector detects attack traffic with Layer 2 packet length significantly exceeding the payload length in an IPv4 address header, and the Layer 2 length surpasses the minimum packet size. Attack is detected or dropped per the state and rate limit configuration. |
No |
|
|
Single endpoint vector. |
No |
|
|
List of packet types considered for detection. |
No |
|
|
Single endpoint vector. |
No |
|
|
ICMP error vector. |
No |
|
|
ICMP error vector. |
No |
|
|
ICMP flood vector. |
Yes |
|
|
ICMP flood vector. |
No |
|
|
ICMP flood vector. |
Yes |
|
|
IGMP error vector. |
Yes |
|
|
IGMP flood vector. |
Yes |
|
|
IGMP flood vector. |
No |
|
This table lists all the common config parameters common for L2 Flood vectors.
Parameter |
Description |
Default |
|---|---|---|
|
Specifies the response for DNS vector match: detection-only or mitigation. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type. |
|
|
Specifies the IPv6 attack detection percentage increase for the configured attack type. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type. |
|
|
Specifies the IPv6 attack detection threshold in EPS for the configured attack type per source IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type source IP. |
|
|
Specifies the attack detection threshold in EPS for the configured IPv6 attack type per destination IP. |
|
|
Specifies the rate limit in EPS for the configured IPv6 attack type per destination IP. |
|
|
Define the list of packet types that will be considered for the detection of this vector. |
Prerequisites¶
Make sure,
The product BNK (DPU) is installed and the F5 controller is running.
The F5SPKVlan CR is configured.
The GatewayClass CR is configured.
Sample CRs for F5BigLogHslpub, F5BigDdosGlobal and SecPolicy¶
Install the F5BigLogHslpub CR:
apiVersion: k8s.f5net.com/v1
kind: F5BigLogHslpub
metadata:
name: hsl-publisher
namespace: f5-bnk
spec:
pool:
-
name: hsl-pool
endpoint:
- 11.19.10.100:514
syslog:
-
name: syslog
format: rfc5424
protocol: tcp
pool: hsl-pool
Install the F5BigDdosGlobal CR:
apiVersion: "k8s.f5net.com/v1"
kind: F5BigDdosGlobal
metadata:
name: gateway-global-ddos
namespace: f5-bnk
spec:
dosGlobalOptions:
common:
forceSwDos: true
hslPublisher: hsl-publisher
vectors:
ipv4IcmpFlood:
state: mitigation
perSrcIpDetectionEps: 4000
rateLimit: 5000
```
3. Attach the F5BigDdosGlobal to GatewayClass in SecPolicy CR.
```yaml
apiVersion: "gateway.k8s.f5.com/v1alpha1"
kind: SecPolicy
metadata:
name: secpolicy-gatewayclass
namespace: f5-bnk
spec:
extensionRefs:
- name: gateway-global-ddos
group: k8s.f5net.com
kind: F5BigDdosGlobal
targetRefs:
- name: f5-gateway-class-1
kind: GatewayClass
group: gateway.networking.k8s.io
Note
To enable DDoS HW offload, set the spec.dosGlobalOptions.common.forceSwDos to false.