tencent cloud

Feature Filtering

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-10-22 12:07:08
AI翻訳
This document describes how to configure feature filtering rules for a protection. Feature filtering supports custom interception policies based on features in IP, TCP, and UDP packet headers or payloads: you can combine match conditions such as source port, destination port, packet length, IP header data, TCP/UDP headers, and TCP/UDP payloads, and then set actions for traffic that matches the rules, including allow, discard, discard and block for 15 minutes, or continue protection. This is suitable for scenarios where business or attack packet features are clearly identified and fine-grained interception is required.
Note:
Feature filtering rules take effect only when the protected resource is under attack.
Improper rule configuration may cause legitimate traffic to be blocked by mistake. Confirm the packet characteristics before configuring rules.

Configuration Item Description

Configuration Item
Description
Filtering Characteristics
Consists of multiple match conditions. Each match condition contains three parts: field, operator, and value. Click Add to add a match condition.
Source Port, Destination Port (Required): Matches the source port or destination port of packets. Supported logical operators include Equals and Between, with a value range of 1-65535.
Packet Length (Bytes) (Required): Matches the packet length. Supported logical operators include Equals and Between.
IP Header Data, TCP/UDP Header, TCP/UDP Payload (Select One to Configure): Match keywords at the corresponding position. The logical operator is Contains Keyword, and you must also set the Offset and Inspection Depth.
The offset indicates the number of bytes to skip from the start of the selected field, with a value range of 0-1500.
The inspection depth indicates the number of bytes from the offset position that participate in keyword matching, with a value range of 0-1500.
Protocol
Protocol type for which the rule takes effect. Supported values: TCP/UDP, TCP, and UDP.
Protection Action
Action to perform on traffic that matches the rule. Supported actions: allow, discard, discard and block for 15 minutes, and continue protection.
When the action is Allow, traffic that matches the rule is allowed directly.
When the action is Discard, traffic that matches the rule is dropped directly.
When the action is Discard and Block for 15 Minutes, traffic that matches the rule is dropped, and the source IP address is blocked for 15 minutes.
When the action is Continue Protection, the system proceeds to the next protection sub-policy instead of other rules within feature filtering.

Configuration Guide

1. Log in to the Anti-DDoS console, select Protections in the left sidebar, and go to the Protections page. Click View Details of the target protection to go to the protection details page.
2. In the L3/4 DDoS Protection Policy Configuration area, find the Feature Filtering sub-policy card and click Settings on the right side of the card.

3. On the feature filtering page, click Create.
4. In the Create Feature Filtering dialog, click Add to add a match condition.
5. Select the field and logical operator for the match condition, and enter the value.
When the field is Source Port, Destination Port, or Packet Length (Bytes), select Equals or Between as the logical operator and enter the corresponding content in the value field.
When the field is IP Header Data, TCP/UDP Header, or TCP/UDP Payload, set the logical operator to Contains Keyword, enter the keyword, and set the offset and inspection depth.
6. After selecting the Protocol and Protection Action, click OK to save the rule.
7. After saving, the rule is displayed in the feature filtering list. You can click Configure in the Operation column to modify the rule, or click Delete to remove it.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック