Quickly Blocking Malicious Traffic Through Traffic Blocking
Scenario
During routine O&M, you may encounter attacks from a large number of malicious IP addresses. You need to quickly block the traffic. However, manually configuring the blacklist is inefficient. CFW provides the one-click traffic blocking function, which allows you to block all malicious access by simply adding the malicious IP addresses to the firewall.
This section describes how to configure traffic blocking to quickly block malicious traffic at once.
Traffic Blocking Policy Description
The protected objects, actions, and application scenarios of traffic blocking policies are as follows.
| Name | Description |
|---|---|
| Protected object | IP addresses |
| Network type |
|
| Action | Traffic is blocked directly. |
| Scenario |
|
Notes and Constraints
- Only the professional edition supports NAT traffic protection. All editions support EIP traffic protection.
- Only files in .txt or .csv format or text input is supported. The size of the file to be uploaded cannot exceed 10 MB.
- Only blocked objects in the following formats can be added.
Table 1 Format restrictions on blocked objects Type
Format Description
IP address
- An IP address, for example, 10.0.0.0.
- Multiple consecutive IP addresses, for example, 10.0.0.0-10.0.1.0.
- An IP address range, for example, 10.0.0.0/16.
- Number of IP addresses that can be added to a single firewall instance:
- Standard edition: 100,000
- Professional edition: 500,000
Impact on the System
- After an IP address is added to the traffic blocking list, traffic destined to and from this IP address will be blocked.
- When configuring an IP address to be blocked, if address translation or proxy is involved, evaluate the impact of blocking IP addresses with caution.
Quickly Blocking Malicious Traffic Through Traffic Blocking
- Enable firewall protection by referring to CFW Protection.
- Log in to the CFW console.
- Click
in the upper left corner of the management console and select a region. - (Optional) Switch to another firewall instance. If there are multiple firewall instances, you can select a desired instance from the drop-down list in the upper left corner of the page.
- In the navigation pane on the left, choose . The Traffic Blocking tab is displayed.
- Click
. In the displayed dialog box, click OK to enable traffic blocking.
If a blocked object exists in the list, check the blocked object information before toggling on the switch.
- To add the IP addresses to be blocked, click Add Object and set parameters. Figure 1 Adding a blocked object
Table 2 Add object Parameter
Description
Mode
Select the method of adding the blocked IP address.- Append: The existing IP addresses remain unchanged, and the newly imported IP addresses are added.
- Overwrite: The newly imported IP addresses will replace the existing IP addresses.
Effective Scope
Select the object to be blocked.- EIP
- NAT (Only the professional edition can protect NAT traffic.)
Content Type
Select a type.- File: Click File and select the file to be uploaded. The requirements for the uploaded file are as follows:
- Only one .txt or .csv file can be uploaded, and the file size cannot exceed 10 MB.
- To specify multiple IP addresses, in a .txt file, separate IP addresses using commas (,), semicolons (;), tab characters, or spaces, or put each IP address on a separate line. In a .csv file, put all IP addresses in the first column, each occupying a line.
- Text: Select Text and enter an IP address in the IP Address text box.
- The total text length of IP addresses cannot exceed 4,000 characters.
- To specify multiple IP addresses, separate them with commas (,), semicolons (;), tab characters, or spaces, or put each IP address on a separate line.
The following formats are supported:- IP address, for example, 10.0.0.0.
- Multiple consecutive IP addresses, for example, 10.0.0.0-10.0.1.0.
- Address segment, for example, 10.0.0.0/16.
- Click OK.
If Mode is set to Overwrite, you will need to confirm that existing content will be overwritten and cannot be restored. After confirming the information, click OK.
If Status of a file changes to Added, the file has been added. If the file fails to be added, modify the file or text as prompted and add the file again.
Follow-up Operations
For details about how to view logs, see Viewing Attack Event Logs.
A log record is generated every minute. Each record summarizes the data in the last minute.
References
- Viewing or exporting IP address information: Click Download in the Operation column. The downloaded file contains all added IP address information.
- Deleting IP address information: Click Delete in the Operation column, enter DELETE, and click OK.
Partial deletion is not supported. All the IP addresses configured for EIP or NAT will be cleared.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot