Method and device for associating upstream and downstream TCP connections in Linux kernel

The invention discloses a method and device for associating upstream and downstream TCP connection in a Linux kernel, and relates to the technical field of communication, and the method comprises the following steps: establishing downstream TCP connection with a client in a Linux kernel mode, distri...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHOI BYUNG-KEOL, CUI QIN, ZHU WENLEI, FU CHENCONG, YUAN CHONGJIE, LIU JINZHAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and device for associating upstream and downstream TCP connection in a Linux kernel, and relates to the technical field of communication, and the method comprises the following steps: establishing downstream TCP connection with a client in a Linux kernel mode, distributing a unique identifier for the downstream TCP connection, and storing private data of the downstream TCP connection to the Linux kernel by taking the unique identifier of the downstream TCP connection as an index keyword; upstream TCP connection with the Web server is established in a Linux user mode, a unique identifier is distributed to the upstream TCP connection, the unique identifier of the upstream TCP connection and the unique identifier of the downstream TCP connection associated with the upstream TCP connection are obtained, and the mapping relation between the upstream TCP connection and the unique identifier of the downstream TCP connection is stored in a Linux kernel; and when the network data of th