Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing port triggering function in Linux protocol stack

A technology of port triggering and protocol stack, which is applied in the field of NAT traversal in communication networks, can solve problems such as not providing port triggering, and achieve the effect of reducing technical costs and improving compatibility

Inactive Publication Date: 2007-07-04
ZTE CORP
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the existing Linux protocol stack provides methods such as port mapping and application layer gateway (ALG) to solve the problem of address port translation from the external network to the internal network, it does not provide the function of port triggering. The implementation method of this function is provided on the stack

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
  • Method for realizing port triggering function in Linux protocol stack
  • Method for realizing port triggering function in Linux protocol stack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The invention adopts the design idea of ​​separating port configuration from port forwarding and dynamically opening ports, and realizes the PortTrigger function on the Linux protocol stack of the NAT gateway device. When the NAT gateway device receives the data packets sent by the intranet terminal, through judgment, it finds that these data packets meet the pre-configured trigger conditions, and will establish a mapping relationship between the NAT gateway port and the intranet terminal according to the configured open port, and dynamically implement The external network server interacts with the data of the internal network terminal through these ports. When the connection activity ends, the PortTrigger automatically closes the port mapping to improve system security.

[0027] The Linux protocol stack has a connection tracking (conntrack) module and an address translation (nat) module. The address translation function is implemented on the basis of connection trackin...

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 relates to a method for realizing port trigger function on Linux protocol stack, wherein said method comprises that: setting port trigger parameter on network gate as trigger port and port range; when inner report reaches network gate device, building trigger connected ip_conntrack, storing inner network IP address and port; if said report meets trigger condition, storing the port distributed to said report in ip_conntrack_expect relative to said ip_conntrack, using nat module to send it to outer network device; when outer network report enters into conntrack module, building transfer connected ip_conntrack; if meets transfer condition, building the relation between said ip_conntrack and relative ip_conntrack_expect, storing the IP address and remote port of outer network device; when feedback report enters into nat expect, finding the trigger connected ip_conntrack, obtaining the IP address of inner network device and port, to complete transferring data; when the data is transmitted, releasing built ip_conntrack and ip_conntrack_expect, ending.

Description

technical field [0001] The invention relates to a communication network NAT traversal technology, in particular to a method for realizing port triggering function. Background technique [0002] The fierce competition in the IT industry and the continuous decline in product prices have brought severe challenges to IT manufacturers. Everyone has turned their attention to the low-cost Linux operating system, and the popularity and development of Linux has begun. For terminal network products, Linux is undoubtedly a good choice of operating system. [0003] But problems also follow. In the intranet environment through NAT (network address translation, also known as port mapping or port forwarding), the network applications of intranet computer users are always subject to various restrictions. Some online games Doesn't work, chat doesn't work either. This is caused by the limitations of packets passing through the NAT gateway. This problem can be solved by configuring port map...

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
IPC IPC(8): H04L29/06H04L12/56
Inventor 周衍坚缪伟杨旭
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More