Network security protection method and protection device
AssigneeHuawei Technologies Co., Ltd.
InventorsXinqian He, Kan Zhou
Life of this patent
Estimating the term…
Abstract
This application provides a network security protection method and a protection device, and pertains to the field of communication technologies. The protection device implements adaptive switching between different detection modes based on application layer data of a data packet exchanged between a client device and a server in a session. This avoids a case in which a threat is missed when only a flow mode is used, and avoids a case in which a large quantity of unnecessary resources are occupied when only a proxy mode is used. Therefore, protection effect is improved.
Claims20
A network security protection method, the method comprising:
- obtaining, by a protection device, a first data packet in a transmission control protocol (TCP) session in a process of performing security detection in the TCP session using a first mode, the TCP session being between a client device and a server, the protection device is deployed between the client device and the server, and the first mode is in a set of detection modes supported by the protection device;
- determining, by the protection device and based on an application layer data of the first data packet, to switch to a second mode, the second mode is other than the first mode in the set of detection modes;
- and
- switching, by the protection device, to the second mode and performing security detection on a subsequent packet in the TCP session using the second mode.
A protection device, the protection device comprising:
- a memory storing instructions;
- and
- at least one processor in communication with the memory, the at least one processor configured, upon execution of the instructions, to perform the following steps:
- perform security detection on a data packet in a transmission control protocol TCP session using a first mode, the TCP session being a session between the client device and the server, the first mode is in a set of detection modes supported by the protection device;
- and
- obtain a first data packet in the TCP session in a process in which the at least one processor performs security detection using the first mode;
- determine, based on an application layer data of the first data packet, to switch to a second mode, the second mode is other than the first mode in the set of detection modes;
- and
- switch to the second mode and perform security detection on a subsequent packet in the TCP session using the second mode.
Dependencies are inferred from the claim text.