Network connection tracking implementation method and device for controlling forwarding separation
The invention relates to the field of data processing, and discloses a network connection tracking implementation method and device for controlling forwarding separation, and the network connection tracking implementation method comprises the steps: S1, enabling a conntack rapid forwarding processin...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
30.12.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to the field of data processing, and discloses a network connection tracking implementation method and device for controlling forwarding separation, and the network connection tracking implementation method comprises the steps: S1, enabling a conntack rapid forwarding processing module and a conntack slow tracking module, enabling the conntack rapid forwarding processing module to perform polling in a multi-thread manner to obtain a data packet, and enabling the conntack slow tracking module to perform polling in a multi-thread manner; extracting quintuple message information of a source IP address, a target IP address, a protocol number, a source port number and a target port number of the data packet, and calculating the quintuple message information into a HASH value; and S2, querying a shared memory HashMap index through a HASH value, and obtaining a first Conntack Elemnet, namely recording initial and response connection tracking record information, so that the problem that a conntr |
---|---|
Bibliography: | Application Number: CN202211061698 |