No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Attack Defense

Configuring Attack Defense

This section describes the procedures for configuring attack defense.

Configuring Defense Against Malformed Packet Attacks

Malformed packet attacks include flood attacks without IP payloads, attacks from IGMP null payload packets, LAND attacks, Smurf attacks, and attacks from packets with invalid TCP flag bits.

Context

The malformed packet attack is to send malformed IP packets to the system. If such an attack occurs, the system may break down when processing the malformed IP packets.

To prevent the system from breaking down and to ensure normal network services, enable defense against malformed packet attacks. After detecting malformed packets, the device directly discards them.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    anti-attack abnormal enable

    Defense against malformed packet attacks is enabled.

    By default, defense against malformed packet attacks is enabled.

    NOTE:
    You can also run the anti-attack enable command in the system view to enable attack defense against all attack packets including malformed packets.

Checking the Configuration
  • Run the display anti-attack statistics abnormal command to check statistics on defense against malformed packet attacks.

Configuring Defense Against Packet Fragment Attacks

Packet fragment attacks include attacks from many fragments, attacks from many packets with offsets, attacks from repeated packet fragments, Tear Drop attacks, Syndrop attacks, NewTear attacks, Bonk attacks, Nesta attacks, Rose attacks, Fawx attacks, Ping of Death attacks, and Jolt attacks.

Context

If an attacker sends error packet fragments to attack the device, the device consumes a large number of resources to process the error packet fragments, affecting normal services.

To prevent the system from breaking down and to ensure normal network services, enable defense against packet fragment attacks. The device limits the rate of fragment packets to ensure that the CPU runs properly when the device is being attacked by many packet fragments.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    anti-attack fragment enable

    Defense against packet fragment attacks is enabled.

    By default, defense against packet fragment attacks is enabled.

    NOTE:
    You can also run the anti-attack enable command in the system view to enable attack defense against all attack packets including packet fragments.

  3. Run:

    anti-attack fragment car cir cir

    The rate limit of packet fragments is set.

    By default, the rate limit of packet fragments is 155000000 bit/s.

Checking the Configuration
  • Run the display anti-attack statistics fragment command to check statistics on defense against packet fragment attacks.

Configuring Defense Against Flood Attacks

Flood attacks include TCP SYN flood attacks, UDP flood attacks, and ICMP flood attacks.

Configuring Defense Against TCP SYN Flood Attacks

Context

An attacker sends a SYN packet to the target host to initiate a TCP connection but does not respond to the SYN+ACK sent from the target host. If the target host receives no ACK packet from the attacker, the device keeps waiting for the ACK packet. A half-open connection is formed. The attacker keeps sending SYN packets, so many half-open connections are set up on the target host. This wastes a large number of resources.

To prevent TCP SYN flood attacks, enable defense against TCP SYN flood attacks and set the rate limit of TCP SYN flood attack packets.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    anti-attack tcp-syn enable

    Defense against TCP SYN flood attacks is enabled.

    By default, defense against TCP SYN flood attacks is enabled.

    NOTE:
    You can also run the anti-attack enable command in the system view to enable attack defense against all attack packets including TCP SYN flood attack packets.

  3. Run:

    anti-attack tcp-syn car cir cir

    The rate limit at which TCP SYN packets are received is set.

    By default, the rate limit at which TCP SYN packets are received is 155000000 bit/s.

Configuring Defense Against UDP Flood Attacks

Context

If an attacker sends a large number of UDP packets with specified destination port numbers to the target host in a short time, the target host is busy with these UDP packets. As a result, the target host is overloaded and cannot process normal services. To prevent UDP flood attacks,enable defense against UDP flood attacks.

The device enabled with defense against UDP flood attacks directly discards UDP packets with port numbers 7, 13, and 19.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    anti-attack udp-flood enable

    Defense against UDP flood attacks is enabled.

    By default, defense against UDP flood attacks is enabled.

    NOTE:
    You can also run the anti-attack enable command in the system view to enable attack defense against all attack packets including UDP flood attack packets.

Configuring Defense Against ICMP Flood Attacks

Context

If an attacker sends a large number of ICMP request packets to the target host in a short time, the target host is busy with these ICMP request packets. As a result, the target host is overloaded and cannot process normal services. To prevent ICMP flood attacks, enable defense against ICMP flood attacks.

After defense against ICMP flood attacks is enabled, set the rate limit of ICMP flood attack packets.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    anti-attack icmp-flood enable

    Defense against ICMP flood attacks is enabled.

    By default, defense against ICMP flood attacks is enabled.

    NOTE:
    You can also run the anti-attack enable command in the system view to enable attack defense against all attack packets including ICMP flood attack packets.

  3. Run:

    anti-attack icmp-flood car cir cir

    The rate limit of ICMP flood attack packets is set.

    By default, the rate limit of ICMP flood attack packets is 155000000 bit/s.

Checking the Configuration

Procedure

  • Run the display anti-attack statistics [ tcp-syn | udp-flood | icmp-flood ] command to check statistics on defense against flood attacks.
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 130530

Downloads: 312

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next