Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

nginx upstream proxy service system and implementation method

A proxy service and upstream technology, applied in the field of network security, can solve problems such as inability to communicate with sockets, impact on message performance, affect efficiency and rely on kernel scheduling, etc., to achieve the effect of improving data forwarding efficiency

Active Publication Date: 2019-11-05
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Upstream and downstream message system protocol stack processing will have performance impact on message forwarding
[0007] 2. In some cases due to technical limitations, Nginx on the data plane cannot communicate with the management plane based on the AF_INET domain socket
[0008] 3. Upstream and downstream packets need to be copied and transmitted by the kernel. Multiple copies affect efficiency and processing depends on kernel scheduling, making it difficult to control application filtering
[0009] 4. In some cases due to technical limitations, Nginx on the data plane cannot communicate with the management plane based on AF_LOCAL / AF_UNIX domain sockets

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • nginx upstream proxy service system and implementation method
  • nginx upstream proxy service system and implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to solve the problems in the prior art, the present invention provides an Nginx upstream proxy service system and implementation method. The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] Such as figure 1 Shown, a kind of Nginx upstream proxy service system implementation method in the embodiment of the present invention, described proxy service system comprises management plane proxy service module and data plane Nginx module, and described method comprises:

[0023] Set up shared memory to described management plane proxy service module and described data plane Nginx module;

[0024] The shared memory is used as a bearer channel for TCP connection load data; the TCP connection load data includes user HTTP request data and up...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an Nginx upstream proxy service system and an implementation method, the proxy service system includes a management plane proxy service module and a data plane Nginx module, and the method includes: performing the management plane proxy service module and the data plane The Nginx module establishes a shared memory; the shared memory is used as a bearer channel of the TCP connection load data; the TCP connection load data includes the user's HTTP request data and the HTTP response data of the upstream server. The system and method in the present invention effectively improve the data forwarding efficiency of the proxy system by using the shared memory as the bearer channel of the TCP connection load data.

Description

technical field [0001] The invention relates to the field of network security, in particular to an Nginx upstream proxy service system and an implementation method. Background technique [0002] Network security devices in the multi-core era generally distinguish between the management plane and the data plane. The management plane is provided for network managers to use Telnet, Web, SSH, SNMP, etc. to manage devices. The basic task of the data plane is to process and forward various Types of data, such as the specific execution process of various functions such as L2 / L3 / ACL / Qos / multicast / security protection, all belong to the task category of the data forwarding plane. [0003] Nginx ("engine x") is a high-performance HTTP and reverse proxy server, as well as an IMAP / POP3 / SMTP proxy server. Nginx uses the epoll asynchronous non-blocking model on Linux to efficiently process TCP requests, and is the first choice for proxy forwarding of HTTP requests on the data plane. [0...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L69/163H04L67/56
Inventor 郭春碌费恩达
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products