This help contains the following topics:
Data filtering filters packets based on application layer information. You can use data filtering to effectively prevent leakage of internal information, distribution of illegal information, and unauthorized access to the Internet.
Data filtering supports filtering packets of the following protocols:
HTTP.
FTP.
SMTP.
IMAP.
NFS.
POP3.
RTMP.
SMB.
The device provides a list of predefined keywords and allows you to create user-defined keywords in a keyword group.
A keyword group is a group of up to 32 keywords. A packet matches a keyword group if it matches a keyword in the group. You can enable or disable predefined keywords and create new keywords in a keyword group.
A data filtering rule contains a set of packet filtering criteria and the actions for matching packets. The packet filtering criteria include keyword group, direction (
Upon receiving a packet of a protocol that data filtering supports, the device performs the following operations:
Compares the packet with the security policies.
If the packet matches a security policy that is associated with a data filtering profile, the device extracts the application layer information from the packet.
Determines the actions to take on the packet by comparing the extracted application layer information with the data filtering rules in the data filtering policy:
If the packet does not match any data filtering rules in the policy, the device permits the packet to pass.
If the packet matches only one rule, the device takes the actions specified for the rule.
If the packet matches multiple rules, the device determines the actions as follows:
If the matching rules have both the permit and drop actions, the device takes the drop action.
If the logging action is specified for any of the matching rules, the device logs the packet.
Support of non-default vSystems for this feature depends on the device model. This feature is available on the Web interface only if it is supported.
Clicking
After you submit the configuration, the system prompts
The regular expression pattern can contain a maximum of four branches. For example,
Nested braces are not allowed. For example,
A branch cannot be specified after another branch. For example,
A minimum of four non-wildcard characters must exist before an asterisk (
Configure data filtering as shown in Figure-1.
Figure-1 Data filtering configuration procedure
Complete the following tasks before you configure this feature:
Assign IP addresses to interfaces on the
Configure routes on the
Create security zones on the
Add interfaces to security zones. You can add interfaces to a security zone on the
Configure security policies to permit the target traffic on the
The device has a default data filtering profile named
Click the
In the navigation pane, select
The
Figure-2 Viewing the default data filtering profile
Specify the default data filtering profile in a security policy. For more information, see the security policy online help.
Figure-3 Specifying the default data filtering profile in a security policy
When the default data filtering profile does not meet user requirements, you can flexibly adjust the settings (including keyword groups) in custom profiles to better suit the service environment and security requirements.
To create a keyword group and configure keywords in the keyword group:
Click the
In the navigation pane, select
On the page that appears, click
Create a keyword group.
Figure-4 Creating a keyword group
Table-1 Keyword group configuration items
Item | Description |
Name | Enter a name for the keyword group. |
Description | Enter a description for the keyword group. |
In the
In the
Create a keyword.
Figure-5 Creating a keyword
Table-2 Keyword configuration items
Item | Description |
Name | Enter a name for the keyword. |
Type | Select the type of the keyword match pattern. Options are:
|
Match pattern | Enter the content of the keyword match pattern. |
Click
The keyword is displayed on the user-defined keyword list.
You can add a maximum of 32 more keywords to the keyword group.
Click
The keyword group is displayed on the
To create a data filtering profile and configure data filtering rules in the profile:
Click the
In the navigation pane, select
On the page that appears, click
Create a data filtering profile.
Figure-6 Creating a data filtering profile
Table-3 Data filtering profile configuration items
Item | Description |
Name | Enter a name for the data filtering profile. |
Description | Enter a description for the data filtering profile. |
In the
Create a data filtering rule.
Figure-7 Creating a data filtering rule
Table-4 Data filtering rule configuration items
Item | Description |
Name | Enter a name for the data filtering rule. |
Keyword group | Select an existing keyword group or create a keyword group. |
Applications | Select the application layer protocols of the applications to which the rule applies. Supported application layer protocols are FTP, HTTP, IMAP, NFS, POP3, RTMP, SMB, and SMTP. |
Direction | Select the traffic direction to which the rule applies. Options are |
Action | Select the action for matching packets. Options are |
Logging | Select whether to enable logging for matching packets. Options are |
Click
The data filtering rule is displayed on the data filtering rule list of the data filtering profile.
Click
The data filtering profile is displayed on the
Use the data filtering profile in a security policy. For more information, see "
To have the configuration activated, click
This operation can cause temporary DPI service outage. As a best practice, perform the operation after all DPI service configurations are complete.