A fast identification method for VPN traffic in high-speed networks

By performing traffic sampling and feature extraction in high-speed networks, combined with machine learning and the Count Bloom Filter algorithm, the accuracy and efficiency problems of VPN traffic identification in high-speed networks are solved, and rapid identification and stable classification of VPN traffic are achieved.

CN113283498BActive Publication Date: 2024-10-18SOUTHEAST UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110560776.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-21
Publication Date
2024-10-18
Estimated Expiration
2041-05-21

AI Technical Summary

Technical Problem

Existing VPN traffic identification methods have problems such as low identification accuracy, low computational efficiency, high resource consumption, and inability to be suitable for sampling traffic data detection in high-speed network environments, making it difficult to quickly identify VPN traffic.

Method used

The idea of ​​sampling is used to obtain traffic data from high-speed networks, a model is built through the random forest algorithm, the Count Bloom Filter and the link method hash table are used to extract and filter traffic features, and machine learning is combined to identify and classify VPN traffic.

Benefits of technology

It achieves rapid identification of VPN traffic in high-speed networks, improves the accuracy and stability of identification, reduces computing resource consumption, is suitable for sampling traffic data detection, and protects data privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113283498B_ABST
    Figure CN113283498B_ABST
Patent Text Reader

Abstract

The present invention provides a method for quickly identifying VPN traffic for high-speed networks. The specific steps of the method are divided into two scenarios: model training and model use. During model training, traffic sampling is performed in a controllable network environment, relevant features that can be used for VPN traffic identification and classification after sampling are selected, and a small-scale traffic data training set is constructed for model training. When the model is used, traffic sampling is performed in a high-speed network, long-flow traffic is filtered out by the Count Bloom Filter algorithm, statistical information is stored using a linked hash table, and feature values ​​are extracted based on the recorded statistical information to obtain traffic feature records for traffic detection. The present invention can quickly and accurately identify VPN traffic existing in high-speed networks, and classify proxy tools used for VPN traffic, effectively improving the detection capability of network traffic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of network space security and relates to a VPN flow rapid identification method for high-speed networks. Background Art

[0002] With the rapid development of information technology, the rapid expansion of the Internet, and the increasing number of various types of network services, information security issues have received increasing attention. In order to ensure the security of data transmission, more and more traffic is transmitted after encryption. Encryption technology provides many benefits to users to ensure end-to-end confidentiality and data confidentiality. While ensuring information security, encryption technology also allows malicious users to hide their information and whereabouts in this way, which brings new challenges to traffic auditing.

[0003] As one of the main technologies for encrypting network traffic, Virtual Private Network (VPN) technology is widely used in network communications. It relies on encrypted tunnels and other means to provide users with convenient and secret remote access operations to meet different security requirements. However, the traffic covered by VPN tools (V2Ray, etc.) loses the characteristic information of the original traffic such as the message header information and traffic side channel, which brings huge challenges to network supervision. At the same time, various communication services based on VPN technology are developing rapidly, making information security issues increasingly prominent. Therefore, the identification and analysis of VPN encrypted traffic is urgent.

[0004] In recent years, research on VPN traffic identification at home and abroad has basically focused on feature selection and improvement of machine learning algorithms. The SSL VPN traffic identification method based on time domain features and handshake protocol features uses continuous duration as traffic features. The VPN traffic identification method based on feature enhancement completes the feature extraction of the surge cycle according to the traffic density. These features have strong time correlation. Since different network states will lead to different traffic features, they are easily affected by the network state of the sample traffic, thus affecting the accuracy of identification. The method of traffic features extracted based on density data does not involve specific protocol content, and lacks strong pertinence in the identification of VPN traffic, resulting in poor accuracy and practicality. There are also methods that use Bit-level DPI fingerprint generation technology. However, this method involves analyzing the plaintext in the payload of the data packet, which is computationally inefficient and not suitable for massive traffic detection on high-speed networks. In addition, with the development of encryption protocols and the widespread application of TLS1.3 protocols, plaintext fingerprint features that can be used for DPI analysis have rarely appeared, making this method inapplicable. In addition, there are methods for identifying encrypted traffic protocols in VPNs, using deep learning technology, but this method does not describe the identification process of VPN traffic, does not provide how to obtain the characteristics of VPN traffic, and the identification effect is unclear. In addition, the above methods are all for detecting complete data streams, but in high-speed networks, it is unrealistic to save and analyze the entire traffic in a mirror in terms of resource consumption. The existing high-speed network management system meets general traffic monitoring needs by retaining sampled data analysis, which makes the above methods unable to be applied to high-speed networks.

[0005] In summary, the existing methods have the following main problems: (1) The current methods are all based on the complete flow data for research, and the selected features are only applicable to the identification data of the complete flow; (2) The processing of massive data in high-speed networks requires a lot of computing and storage resources, and can only be analyzed through sampled flow. Therefore, the current methods for identifying complete flow are not suitable for sampled flow data detection in high-speed networks; (3) The current methods are affected by time factors and network service quality, and lack pertinence and stability in the identification of VPN flow; (4) The existing methods involve the analysis of the payload of the data packet, which is computationally inefficient and not suitable for the detection of massive flow data in high-speed networks. The above problems make it impossible for the existing methods to achieve rapid identification of VPN flow in high-speed network environments.

[0006] Therefore, the present invention proposes a VPN traffic fast identification method for high-speed networks. The present invention obtains traffic from high-speed networks based on the idea of ​​sampling, and completes the identification and classification process according to VPN traffic characteristics under the sampled data. Summary of the invention

[0007] In order to improve the detection capability of network traffic and realize the rapid identification of VPN traffic in high-speed networks, the present invention proposes a method for rapid identification of VPN traffic for high-speed networks. First, traffic sampling is performed in a controllable network environment, and relevant features that can be used for identification and classification of VPN traffic after sampling are selected. A small-scale traffic data training set is constructed, and a random forest algorithm is used for model training to obtain a traffic detection model. Then, traffic sampling is performed in the high-speed network, and long-flow traffic is filtered out by the Count Bloom Filter algorithm. The statistical information is stored in a linked hash table, and the characteristic value is calculated based on the statistical record to obtain the traffic feature record. Finally, the trained detection model is used to complete the identification and classification of VPN traffic.

[0008] To achieve the purpose of the present invention, the specific technical steps of this scheme are as follows:

[0009] (1) Collect and save VPN traffic data and general traffic data for model training;

[0010] (2) Select features from the original data that can be used to identify and classify VPN traffic after sampling, and perform machine learning model training;

[0011] (3) Sampling traffic data in a high-speed network, and then using the Count Bloom Filter algorithm and the linked hash table to process the sampled data packets to obtain traffic statistics records;

[0012] (4) Extract traffic features based on the statistical records obtained in step (3), and use the model trained in step (2) to perform traffic detection.

[0013] Furthermore, the step (1) specifically includes the following sub-steps:

[0014] (1.1) Install the VPN proxy tool on the host;

[0015] (1.2) Start the application to collect VPN traffic data;

[0016] (1.3) Use VPN proxy tools to access the network;

[0017] (1.4) After the network access is completed, the collection is stopped and the VPN traffic data file between the host and the VPS is stored;

[0018] (1.5) Start the application to collect normal traffic data;

[0019] (1.6) Close the VPN proxy tool and use common applications for operation;

[0020] (1.7) After the operation is completed, stop collecting and store the currently collected normal flow data file;

[0021] (1.8) Repeat steps (1.2) to (1.7) until a sufficient amount of flow data is collected.

[0022] Furthermore, the step (2) specifically includes the following sub-steps:

[0023] (2.1) Sampling the complete flow data collected in step (1);

[0024] (2.2) Perform feature selection on the sampled traffic and select appropriate available features;

[0025] (2.3) The traffic data collected in step (1) is used as the original data, and after sampling in step (2.1), the available features selected in step (2.2) are extracted to construct a small-scale traffic data training set;

[0026] (2.4) Label the traffic data in the training set for specific detection scenarios for use in machine learning model training, and ultimately establish a traffic detection model.

[0027] Furthermore, suitable available features in the step (2.2) are shown in Table 4.

[0028] Table 4 Available features

[0029] feature meaning F1 Client initial receive window F2 Client final receive window F3 The growth rate of the client receive window F4 Average length of packets received by the client F5 The ratio of packets with a non-zero payload received by the client to packets with a zero payload sent by the client F6 Average transmission rate of data packets received by the client F7 Is there a timestamp?

[0030] Furthermore, the step (3) specifically includes the following sub-steps:

[0031] (3.1) Setting the packet sampling ratio λ for sampling in the high-speed backbone network;

[0032] (3.2) Use Count Bloom Filter algorithm for long flow filtering;

[0033] (3.3) Use a linked hash table to store statistical information and obtain statistical records.

[0034] Furthermore, the step (3.2) specifically includes the following sub-steps:

[0035] (3.2.1) For each sampled data packet, the five-tuple of the data packet is used as the input of the hash function and mapped to k corresponding CBF vectors, where k is the number of hash functions;

[0036] (3.2.2) Determine whether the value of the counter in the corresponding k CBF vectors is less than the long flow threshold. If the value of the counter in the CBF vector is less than the long flow threshold, then perform an increment operation in the counter, otherwise the value of the counter remains unchanged;

[0037] (3.2.3) Find the minimum value of all counters in the corresponding k CBF vectors. When the minimum value reaches the long flow threshold, the data packet is filtered as a long flow data packet, otherwise it is directly discarded.

[0038] Furthermore, the step (3.3) specifically includes the following sub-steps:

[0039] (3.3.1) For the long-flow data packets obtained by filtering, the five-tuple of the data packet is used as the input of the hash function and mapped to the corresponding position in the hash table;

[0040] (3.3.2) If the corresponding position content is empty, directly add the statistical information of the data packet;

[0041] (3.3.3) If flow statistics already exist at the corresponding position, determine whether the data packet belongs to an existing flow through the five-tuple. If it belongs to the same flow, directly update the existing flow statistics. Otherwise, add a node at the end of the linked list and store the new flow statistics.

[0042] (3.3.4) When the number of packets of a certain flow reaches the set record threshold θ, the stored statistical information is extracted to obtain the traffic statistics record.

[0043] In the steps (3.3.2) and (3.3.3), the traffic statistics information to be stored is shown in Table 5.

[0044] Table 5 Traffic statistics information

[0045]

[0046]

[0047] Among them, since the stored flow information is obtained based on sampled data packets, the value recorded by C1 is actually the receiving window size of the data packet sent by the first client after sampling, the value recorded by C2 is actually the receiving window size of the data packet sent by the last client after sampling, and the values ​​recorded by C7 and C8 are also obtained based on the first sampled data packet and the last sampled data packet.

[0048] Furthermore, the step (4) specifically includes the following sub-steps:

[0049] (4.1) Calculating the statistical records obtained in step (3), extracting flow characteristics, and obtaining flow characteristic records;

[0050] (4.2) Input the traffic feature records into the model trained in step (2), identify VPN traffic and distinguish VPN proxy tools, and obtain traffic detection results.

[0051] Furthermore, in the step (4.1), the corresponding relationship between the flow statistics record and the characteristic value calculation is shown in Table 6.

[0052] Table 6 Correspondence between traffic statistics records and characteristic values

[0053] feature Correspondence F1 C1 F2 C2 F3 C2 / C1 F4 C6 / (C4-C5) F5 (C4-C5) / C3 F6 (C4-C5)*λ / (C8-C7) F7 C9

[0054] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0055] (1) The present invention can perform VPN identification on sampled network traffic, is applicable to the data collection technology of existing high-speed backbone networks, and has good practicality and application prospects;

[0056] (2) The features extracted by the present invention filter out the features affected by sampling, and innovatively propose features that still have good distinguishing properties after data sampling based on the characteristics of the VPN protocol, so they are suitable for network traffic after sampling;

[0057] (3) The features extracted by the present invention not only consider the time domain characteristics of VPN application traffic, but also consider the characteristics presented by the VPN protocol. Therefore, the recognition effect of the present invention is not affected by changes in network service quality and has good recognition stability.

[0058] (4) The features extracted by the present invention do not involve plain text analysis of the payload of the data packet, which not only improves the computational efficiency of traffic detection, but also protects the privacy of the data;

[0059] (5) The present invention uses the Count Bloom Filter algorithm to filter long flows, thereby avoiding the processing of unnecessary short flows and improving the recognition efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 The invention provides a method framework for quickly identifying VPN traffic in high-speed networks.

[0061] Figure 2 This is the confusion matrix of VPN traffic identification for the trained model when the sampling ratio is 64.

[0062] Figure 3 Confusion matrix for VPN proxy tool classification when the sampling ratio is 64 for the trained model.

[0063] Figure 4This is the long-stream filtering structure diagram of the Count Bloom Filter algorithm.

[0064] Figure 5 This is a diagram of the structure of the linked hash table statistics record.

[0065] Figure 6 The prediction result parameters of VPN traffic identification under different sampling ratios.

[0066] Figure 7 Prediction result parameters for VPN proxy tool classification under different sampling ratios. DETAILED DESCRIPTION

[0067] The technical solution provided by the present invention will be described in detail below in conjunction with specific embodiments. It should be understood that the following specific implementation methods are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0068] Embodiment 1: The present invention proposes a method for quickly identifying VPN traffic for high-speed networks, the structure of which is as follows: Figure 1 As shown, the following steps are included:

[0069] (1) Collect and save VPN traffic data and general traffic data for model training;

[0070] The specific process of this step is as follows:

[0071] (1.1) Install VPN proxy tools, including V2RayN on PC, V2RayNG on mobile, and V2Ray proxy plug-in on router;

[0072] (1.2) Start tcpdump to collect VPN traffic data;

[0073] (1.3) Use VPN proxy tools to access the network;

[0074] (1.4) After the network access is completed, stop collecting data and store the VPN traffic data file (.pcap) between the host and the VPS currently collected;

[0075] (1.5) Start tcpdump to collect normal traffic data;

[0076] (1.6) Turn off the VPN proxy service and use common applications for operation;

[0077] (1.7) After the operation is completed, stop collecting and store the currently collected normal traffic data file (.pcap);

[0078] (1.8) Repeat steps (1.2) to (1.7) until a sufficient amount of flow data is collected.

[0079] (2) Select features from the original data that can be used to identify and classify VPN traffic after sampling, and perform machine learning model training;

[0080] The specific process of this step is as follows:

[0081] (2.1) Sampling the complete flow data collected in step (1);

[0082] (2.2) Perform feature selection on the sampled traffic and select appropriate available features. The final selected features are shown in Table 7;

[0083] Table 7 Available features

[0084] feature meaning F1 Client initial receive window F2 Client final receive window F3 The growth rate of the client receive window F4 Average length of packets received by the client F5 The ratio of packets with a non-zero payload received by the client to packets with a zero payload sent by the client F6 Average transmission rate of data packets received by the client F7 Is there a timestamp?

[0085] (2.3) The traffic data collected in step (1) is used as the original data, and after sampling in step (2.1), the available features selected in step (2.2) are extracted to construct a small-scale traffic data training set;

[0086] (2.4) Label the traffic data in the training set for specific detection scenarios for model training of machine learning. Labels are set based on the identification of VPN traffic and the classification of VPN proxy tools. When identifying VPN traffic, a binary label VPNlabel is set to mark VPN traffic as 1 and non-VPN traffic as 0. When classifying VPN proxy tools, a multi-classification label V2Raylabel is set to mark VPN traffic using the PC-side V2RayN tool as 1, VPN traffic using the router proxy plug-in as 2, VPN traffic using the mobile-side V2RayNG tool as 3, and the rest of the non-VPN traffic as 0. The traffic detection model that was finally established can identify VPN traffic when the sampling ratio is 64. Figure 2 As shown in the figure, the classification of VPN proxy tools is as follows Figure 3 shown.

[0087] (3) Sampling traffic data in a high-speed network, and then using the Count Bloom Filter algorithm and the linked hash table to process the sampled data packets to obtain traffic statistics records;

[0088] The specific process of this step is as follows:

[0089] (3.1) Obtain a validation data set, which consists of two parts: one is VPN traffic for network access using a VPN proxy tool, and the other is 15 minutes of traffic data collected by the MAWI working group on June 10, 2020. The validation data set is sampled, and the sampling process is as follows:

[0090] (3.1.1) Select the sampling ratio λ = 64 and randomly generate the sequence number n0 of the initial data packet, where n0∈[0,λ-1];

[0091] (3.1.2) Let the serial number of the data packet be n. If mod(n,λ)=n0, then read the data packet as a sampled data packet for subsequent processing.

[0092] (3.2) Use the Count Bloom Filter algorithm to filter long streams. The algorithm structure is as follows: Figure 4 As shown, the specific process is as follows:

[0093] (3.2.1) For each sampled data packet, the five-tuple of the data packet is used as the input of the hash function and mapped to k corresponding CBF vectors, where k is the number of hash functions;

[0094] (3.2.2) Determine whether the value of the counter in the corresponding k CBF vectors is less than the long flow threshold. If the value of the counter in the CBF vector is less than the long flow threshold, then perform an increment operation in the counter, otherwise the value of the counter remains unchanged;

[0095] (3.2.3) Find the minimum value of all counters in the corresponding k CBF vectors. When the minimum value reaches the long flow threshold, the data packet is filtered as a long flow data packet, otherwise it is directly discarded.

[0096] (3.3) Use the link method hash table to store traffic statistics and obtain statistical records. The algorithm structure is as follows: Figure 5 As shown, the specific process is as follows:

[0097] (3.3.1) For the long-flow data packets obtained by filtering, the five-tuple of the data packet is used as the input of the hash function and mapped to the corresponding position in the hash table;

[0098] (3.3.2) If the corresponding position content is empty, directly add the statistical information of the data packet;

[0099] (3.3.3) If the corresponding position already has traffic statistics information, the five-tuple is used to determine whether the data packet belongs to an existing flow. If it belongs to the same flow, the existing traffic statistics information is directly updated. Otherwise, a node is added to the end of the linked list and the new traffic statistics information is stored. The traffic statistics information that needs to be stored is shown in Table 8;

[0100] Table 8 Traffic statistics information

[0101] Statistics meaning C1 The size of the client's initial receive window C2 The size of the client's final receive window C3 The number of packets sent by the client with a payload of 0 C4 The number of packets received by the client C5 The number of packets with a payload of 0 received by the client C6 The length of the data packet received by the client C7 Stream start time C8 Flow end time C9 Is there a timestamp?

[0102] Among them, since the stored flow information is obtained based on sampled data packets, the value recorded by C1 is actually the receiving window size of the data packet sent by the first client after sampling, the value recorded by C2 is actually the receiving window size of the data packet sent by the last client after sampling, and the values ​​recorded by C7 and C8 are also obtained based on the first sampled data packet and the last sampled data packet.

[0103] (3.3.4) When the number of data packets of a certain flow reaches the set record threshold θ=50, the stored statistical information is extracted to obtain the flow statistics record.

[0104] (4) Extract traffic features based on the statistical records obtained in step (3), and use the model trained in step (2) to perform traffic detection.

[0105] The specific steps of this process are as follows:

[0106] (4.1) Calculate the statistical records obtained in step (3), extract the flow characteristics, and obtain the flow characteristic records. The corresponding relationship between the flow statistical records and the characteristic values ​​is shown in Table 9, and some characteristic records are shown in Table 10;

[0107] Table 9 Correspondence between traffic statistics records and characteristic values

[0108]

[0109]

[0110] Table 10 Partial feature records

[0111]

[0112]

[0113] (4.2) Input the traffic feature records into the model trained in step (2), identify VPN traffic and distinguish VPN proxy tools, and obtain traffic detection results. Some detection results are shown in Table 11;

[0114] Table 11 VPN traffic identification and VPN proxy tool classification results

[0115]

[0116] (4.3) The above feature records and identification results are all obtained based on a sampling ratio of 64. To verify the accuracy of the present invention under other sampling ratios, the sampling ratio λ is further set to 8, 16, 32, 128, and 256, and steps (3) and (4.1) (4.2) are repeated to conduct experimental verification, and the VPN traffic identification results under different sampling ratios are obtained as follows: Figure 6As shown in Figure 2, the classification results of VPN proxy tools under different sampling ratios are as follows: Figure 7 shown.

[0117] The technical means disclosed in the scheme of the present invention are not limited to the technical means disclosed in the above-mentioned implementation mode, but also include technical schemes composed of any combination of the above-mentioned technical features. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications are also regarded as the protection scope of the present invention.

Claims

1. A method for quickly identifying VPN traffic for high-speed networks, characterized in that: The steps include: (1) Collect and save VPN traffic data and common traffic data for model training; (2) Select features from the original data that can be used to identify and classify VPN traffic after sampling, and perform machine learning model training; (3) Sampling traffic data in high-speed networks, and then using the Count Bloom Filter algorithm and the linked hash table to process the sampled data packets to obtain traffic statistics records; (4) extracting feature values ​​according to the statistical records obtained in step (3), and performing flow detection using the model trained in step (2); The step (1) specifically includes the following sub-steps: (1.1) Install the VPN proxy tool on the host; (1.2) Start the application to collect VPN traffic data; (1.3) Use VPN proxy tools to access the network; (1.4) After the network access is completed, the collection is stopped and the VPN traffic data file between the host and the VPS is stored; (1.5) Start the application to collect normal traffic data; (1.6) Close the VPN proxy tool and use common applications for operation; (1.7) After the operation is completed, stop collecting and store the currently collected normal flow data file; (1.8) Repeat steps (1.2) to (1.7) until a sufficient amount of flow data is collected; The step (2) specifically includes the following sub-steps: (2.1) Sampling the complete flow data collected in step (1); (2.2) Perform feature selection on the sampled traffic and select appropriate available features; (2.3) The traffic data collected in step (1) is used as the original data, and after sampling in step (2.1), the available features selected in step (2.2) are extracted to construct a small-scale traffic data training set; (2.4) Label the traffic data in the training set for specific detection scenarios for machine learning model training, and finally establish a traffic detection model; Suitable available features in step (2.2) are as follows: F1 means: the initial receiving window of the client. F2 means: the client's final receiving window. F3 means: the growth rate of the client receiving window. F4 means: average length of data packets received by the client. The meaning of F5 is the ratio of the packets with a non-zero load received by the client to the packets with a zero load sent by the client. The meaning of F6 is the average transmission rate of the packets received by the client. The meaning of F7: whether it has a timestamp, The step (3) specifically includes the following sub-steps: (3.1) Set the packet sampling ratio λ for sampling in high-speed networks; (3.2) Use Count Bloom Filter algorithm for long flow filtering; (3.3) Use the link method hash table to store traffic statistics and obtain statistical records; The step (3.2) specifically includes the following sub-steps: (3.2.1) For each sampled data packet, the five-tuple of the data packet is used as the input of the hash function and mapped to k corresponding CBF vectors, where k is the number of hash functions; (3.2.2) Determine whether the value of the counter in the corresponding k CBF vectors is less than the long flow threshold. If the value of the counter in the CBF vector is less than the long flow threshold, then perform an increment operation in the counter, otherwise the value of the counter remains unchanged; (3.2.3) Find the minimum value of all counters in the corresponding k CBF vectors. When the minimum value reaches the long flow threshold, the data packet is filtered as a long flow data packet, otherwise it is directly discarded; The step (3.3) specifically includes the following sub-steps: (3.3.1) For the long-flow data packets obtained by filtering, the five-tuple of the data packet is used as the input of the hash function and mapped to the corresponding position in the hash table; (3.3.2) If the corresponding position content is empty, directly add the statistical information of the data packet; (3.3.3) If the corresponding position already has traffic statistics information, the five-tuple is used to determine whether the data packet belongs to an existing flow. If it belongs to the same flow, the existing traffic statistics information is directly updated. Otherwise, a node is added to the end of the linked list and the new traffic statistics information is stored. (3.3.4) When the number of packets of a certain flow reaches the set record threshold θ, the stored statistical information is extracted to obtain the statistical record; The traffic statistics information required to be stored in steps (3.3.2) and (3.3.3) are as follows: C1 means: the size of the client's initial receiving window. C2 means: the size of the client's final receiving window. C3 means: the number of packets with a payload of 0 sent by the client. C4 means: the number of packets received by the client. C5 means: the number of packets with a payload of 0 received by the client. C6 means: the length of the data packet received by the client. C7 means: flow start time, C8 means: flow end time, The meaning of C9: whether it has a timestamp, Among them, since the stored flow information is obtained based on sampled data packets, the value recorded by C1 is actually the receiving window size of the first data packet sent by the client after sampling, the value recorded by C2 is actually the receiving window size of the data packet sent by the last client after sampling, and the values ​​recorded by C7 and C8 are also obtained based on the first sampled data packet and the last sampled data packet; The step (4) specifically includes the following sub-steps: (4.1) Calculating the statistical records obtained in step (3), extracting flow characteristics, and obtaining flow characteristic records; (4.2) Input the traffic feature records into the model trained in step (2), identify VPN traffic and distinguish VPN proxy tools, and obtain traffic detection results; The corresponding relationship between the traffic statistics record and the characteristic value in step (4.1) is as follows: F1 corresponds to C1, F2 corresponds to C2, F3 corresponds to C2 / C1, F4 corresponds to C6 / (C4-C5), F5 corresponds to (C4-C5) / C3, F6 corresponds to (C4-C5)*λ / (C8-C7), F7 corresponds to C9.

Citation Information

Patent Citations

  • Device for classifying and recognizing network application flow quantity and method thereof

    CN101202652A

  • Application program traffic identification method under VPN based on distribution characteristic random forest

    CN110460502A

  • Rapid identification method for Tor network bridge in high-speed backbone network

    CN112235254A