NAPT gateway system with method capable of extending the number of connections
First Claim
1. A method used by a NAPT gateway for extending the number of connections, the gateway being located between a private network and the Internet and having a plurality of NAPT tables, each NAPT table having a plurality of items, each item being provided for storing a connection information of a flow, the method comprising the steps of:
- (A) when receiving a packet transmitted from the private network to the Internet, the gateway taking the destination IP address of the packet as a hash key for corresponding to a NAPT table of the NAPT tables via a hash function;
(B) if an item of the NAPT table conforms to the packet, translating the source IP address and the source port of the packet into the legal IP address of the NAPT gateway and the index of the item, respectively, based on the item; and
(C) if no item of the NAPT table conforms to the packet, finding an unused item in the NAPT table for storing connection information of the packet and translating the source IP address and the source port of the packet into the legal IP address of the NAPT gateway and the index of the found item, respectively.
1 Assignment
0 Petitions
Accused Products
Abstract
NAPT gateway system with method for extending the number of connections are disclosed. The gateway is located between a private network and the Internet and has a plurality of NAPT tables. When receiving a packet transmitted from the private network to the Internet, the gateway takes the destination IP address of the packet as a hash key for corresponding to a NAPT table of the NAPT tables via a hash function. An item of the NAPT table that conforms to the packet is determined, and the source IP address and the source port of the packet are translated into the legal address of the NAPT gateway and the index of the item, respectively, based on the item.
22 Citations
12 Claims
-
1. A method used by a NAPT gateway for extending the number of connections, the gateway being located between a private network and the Internet and having a plurality of NAPT tables, each NAPT table having a plurality of items, each item being provided for storing a connection information of a flow, the method comprising the steps of:
-
(A) when receiving a packet transmitted from the private network to the Internet, the gateway taking the destination IP address of the packet as a hash key for corresponding to a NAPT table of the NAPT tables via a hash function;
(B) if an item of the NAPT table conforms to the packet, translating the source IP address and the source port of the packet into the legal IP address of the NAPT gateway and the index of the item, respectively, based on the item; and
(C) if no item of the NAPT table conforms to the packet, finding an unused item in the NAPT table for storing connection information of the packet and translating the source IP address and the source port of the packet into the legal IP address of the NAPT gateway and the index of the found item, respectively. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A NAPT gateway system capable of extending the number of connections comprising:
-
a machine coupled to a private network;
at least one machine coupled to the Internet; and
a NAPT gateway located between the private network and the Internet for translating packets transmitted from the machine in the private network to be routed to the machine in the Internet, the NAPT gateway having a plurality of NAPT tables, each NAPT table having a plurality of items, each item being provided for storing a connection information of a flow, wherein, when receiving a packet transmitted from the private network to the Internet, the gateway takes the destination IP address of the packet as a hash key for corresponding to a NAPT table of the NAPT tables via a hash function, and finds an item of the NAPT table conforming to the packet for translating the source IP address and the source port of the packet into the legal address of the NAPT gateway and an assigned port number, respectively, based on the item. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification