This section describes how to use the CLI to configure the flow probe.
flow-probe metadata-collect transfer-method { udp | ssl }
In UDP mode, the data transmission efficiency is high, but the data is transmitted in plain text. In SSL mode, the data transmission efficiency is lower than that in UDP mode, but the data is transmitted in cipher text, delivering high security.
To use the SSL mode, you must run the flow-probe metadata-collect ca-certificate certificate-name command to set the CA certificate. This certificate verifies the server certificate of the HiSec Insight system and can be obtained from the HiSec Insight system.
flow-probe metadata-collect server ip ip-address [ port port-number ]
By default, UDP transmission uses port 8514, and SSL transmission uses port 8443.
flow-probe metadata-collect source ip ip-address [ vpn-instance vpn-instance-name ]
rule name rule-name
description description
Policy rule functions must be clearly described so that an administrator can easily query and maintain the policy rules.
add tag tag-name
After the policy references the tag, you can query policies according to the tag and perform batch operations such as deleting, moving, enabling, and disabling. For the tag description and configuration, see Tag.
If multiple flow probe policies are configured, the policies are matched based on their priorities. If the traffic matches a flow probe policy, the remaining flow probe policies are ignored. Therefore, you must place the policies from the most specific to the least specific. By default, a policy configured earlier has a higher priority. You can run the rule move command to change the priority of a policy.
Function |
Command |
|---|---|
Specify the source security zone. |
source-zone { zone-name &<1-6> | any } |
Specify the destination security zone. |
destination-zone { zone-name &<1-6> | any } |
Specify the source IP address. |
source-address ipv4-address mask mask-address source-address-exclude ipv4-address mask mask-address |
Specify the destination address. |
destination-address ipv4-address mask mask-address destination-address-exclude ipv4-address mask mask-address |
Specify the service. |
service { service-name &<1-6> | any } service-exclude service-name &<1-6> |
action probe { network-layer | application-layer }*
action no-probe
application-layer: indicates collecting application-layer information of traffic.
For encrypted traffic, you usually need to collect the application-layer information of the traffic.
network-layer application-layer or application-layer network-layer: indicates that the flow probe collects network-layer, transport-layer, and application-layer data of traffic.
This action applies to both non-encrypted traffic and encrypted traffic. For the collection of encrypted traffic information, the Encrypted Communication Analytics (ECA) function can be used. This function does not need to decrypt traffic. Instead, it collects SSL protocol negotiation information, packet statistics information, and DNS and HTTP protocol information of the traffic. Then it sends the information to the HiSec Insight in metadata format. The HiSec Insight analyzes and assesses the information to identify malicious encrypted traffic.
If you do not want to collect encrypted traffic information, you can configure a flow probe policy to exclude encrypted traffic by specifying match conditions.