The present invention relates generally to communication networks. More particularly, the present invention provides for a network address translator that is configured to transmit packets via different modes of network address translation and to determine the appropriate mode of network translation to use for a packet.
Network Address Translation (NAT) is a term used to describe the method by which Internet Protocol addresses (IP addresses) used within one network are mapped (i.e., translated) to a different IP address known within another network, in an attempt to provide transparent routing to host computers. One network is designated the inside network and the other is the outside. Typically, a company maps its local inside network addresses to one or more global outside IP addresses and un-maps the global IP addresses on incoming packets back into local IP addresses. This helps ensure security since each outgoing or incoming request must go through a translation process that also offers the opportunity to qualify or authenticate the request or match it to a previous request. NAT also conserves on the number of global IP addresses that a company needs and it lets the company use a single IP address in its communication with the world.
Network Address Translation allows a single device, such as a gateway device or router, to act as an agent between the Internet (or “public network”) and a local (or “private”) network. This means that only a single, unique IP address is required to represent an entire group of hosts. The impetus towards increasing use of NAT comes from a number of factors including, a world shortage of IP addresses, security needs and ease and flexibility of network administration.
Traditionally NAT has two modes of operation—basic NAT and Network Address Port Translation (NAPT).
Basic NAT provides for a group of public host IP addresses to be assigned to a NAT gateway device. In implementation, basic NAT operates by providing for one to one mapping of private addresses to public addresses. This one to one mapping can either be done statically or dynamically. In static NAT, an unregistered IP address is mapped to a registered IP address on a one-to-one basis (i.e., the IP address of the host is always translated to the same address). In dynamic NAT, an unregistered IP address is mapped to a registered IP address from a group of registered IP addresses (i.e., the IP address of the host is translated to the first available address).
In contrast to basic NAT, NAPT maps all addresses in the private realm to a single public domain address. NAPT distinguishes network sessions coming from the same or different private IP addresses by mapping the private source IP address and the private source port to a unique public source port. In this regard, the data packets are translated on the basis of the unique public source port using a single public IP address. NAPT allows for mapping multiple private addresses to one public address by associating each host with a port (i.e., source IP and source port to source port mapping).
These two modes of operation, basic NAT and NAPT, both provide benefits to the network provider and/or network user. Basic NAT allows for one-to-one mapping/translation exists between the private address and the public address. However, basic NAT requires that a sizable pool of addresses be available for one-to-one mapping and, as such, basic NAT inherently has a poor IP address reusability factor. In this regard, basic NAT is only capable of supporting as many Virtual Private Network (VPN) connections as the number of public IP addresses available in the pool at any point in time.
NAPT, which provides mapping all addresses in the private realm to a single public domain address, does not require the same magnitude of available public addresses. However, in the NAPT environment the need for less public addresses is offset by a system that offers limited functionality for certain protocols and applications, such as VPN.
Recent network advancements have attempted to provide the capability to implement both basic NAT and NAPT in one comprehensive network system. For example, U.S. Pat. No. 6,058,431, entitled “System and Method for Network Address Translation as an External Service in the Access Server of a Service Provider”, issued in the name of inventors Srisuresh et al., on May 2, 2000. The Srisuresh '431 patent describes an external network address translation service, which performs NAT and NAPT, concurrently. Essentially, this service is intended to reduce the cost of stub routers by removing the need for network address translation features in stub routers. In the Srisuresh '431 patent the basis of choosing NAT versus NAPT is the service agreed upon with the stub networks. This decision is made at the inception of the network connection and is fixed throughout the network session. Thus, the Srisuresh '431 patent does not teach a NAT versus NAPT decision process that is adaptable throughout the network session to accommodate the type of service desired by the network user.
Additionally, United States patent application publication number U.S. 2002/0010799, entitled “Communication Data Relay System and Method of Controlling Connectability Between Domains” by Kubota et al., published on Jan. 24, 2002 describes a relay system between two private local area networks. The teaching pertains to connectivity between different routing domains that might be implementing different routing protocols and/or routing data. The relay system requires address translation between the two LANs and similar address translation with the Internet. The publication teaches that the relay may perform basic NAT and NAPT, or IP masquerading, depending upon the address translation module, algorithm, and lookup-table configured for each LAN. However, the Kubuto publication does not teach an address translation process that chooses a mode of translation to efficiently or effectively allocate network addresses.
In the same regard, U.S. patent application publication number 2002/0087721, entitled “Duplicate Private Address Translating System and Duplicate Address Network System”, in the name of inventors Sato et al., published on Jul. 4, 2002 describes a duplicate network address translating device which provides translation between private addresses on independent private networks and a global address on the Internet. The device allows separate private networks to maintain duplicate IP addresses by using different protocols or by adding additional independent network address information. The disclosure teaches that basic network address translation (basic NAT) would be unable to communicate between private networks using duplicate identical IP addresses on each of the independent networks. However, the duplicate network address translating system described would perform network address translation (NAT) or network address port translation (NAPT) between the private networks and the Internet via a global address. The teaching relies on Virtual Local Area network (VLAN) tags and Multi-Protocol Label Switching (MPLS) in combination with the source IP and source port to construct a translation table.
Thus, a need remains unfulfilled for an intelligent network address translator capable of improved connectivity, security, and flexible private network administration.
The present invention provides for an intelligent network address translation system and methods for intelligent network address translation. The invention analyzes all data packets being communicated between the private address realm and the public address realm and performs a predefined mode of network address translation based on the packet type. By analyzing every packet that the network encounters and adjusting the network address translation mode based on the packet type, the system and method of the present invention is able to adjust the mode of network address translation dynamically during a network user's ongoing network session. Additionally, by basing which mode of translation will be employed based on packet type the translation method of the present invention insures that IP addresses are distributed efficiently and distribution of the amount of addresses is minimized. The system and methods of the present invention can accomplish this task without limiting the level of security provided by the translation process.
In addition, the intelligent network address translation system of the present invention provides for a heightened IP address reusability factor. This is apparent because the system provides for different hosts connecting to different network destinations to use the same public IP address, concurrently. The system maps assigned public IP addresses to destination addresses and only denies re-using the same public IP address if subsequent network users are connecting to the same destination address. Another advantage of the present invention is that translation address allocation does not depend on the order in which a network host accesses the system and the order of entry does not determine if a network host is capable of creating a Virtual Private Network (VPN) connection. In a basic NAT type system the amount of IP addresses in the public IP pool will dictate how many network users can be assigned a NAT address. For example, if the public IP pool consists of 100 IP addresses, the first 100 network users that access the system and warrant a network address translation will be assigned the addressed. As such, the 101st user will be denied network address translation. In the present invention, two factors prevent the system denying network address translation based on the order in which a network user accesses the system. First, network users that access the system may not require a unique address from the public IP pool (i.e., they may only require assignment of the default IP address). Second, in those instances in which a unique IP address is required, IP addresses can be re-used as long as the network user is attempting to access a different destination address than a previously connected network user.
In one embodiment of the invention, a method for network address translation in a communication network includes the steps of determining a data packet type for a data packet being communicated from private hosts to public network services, determining if the data packet type requires assigning an IP address from available public IP addresses and assigning the data packet an IP address from the available public IP addresses if a determination is made that the packet type requires such. Lastly the method includes, translating the address of the data packet to the assigned IP address.
The method described above may further include the step of assigning the data packet a default public IP address and a source port if a determination is made that the data packet type does not require assigning an IP address from available public IP addresses. The method may also include the steps of storing the assigned IP address in an address binding (i.e., correlation) table that maps the assigned IP address to a data packet destination address and/or the step of storing the assigned IP address in a correlation table that maps the assigned IP address to the private IP address. The storage steps allow for outgoing data packets to be checked for previous network address translation processing, thus hastening data transmission and provides for an effective IP address reusability factor.
In an alternate embodiment of the invention, a method for network address translation in a communications network is defined as, the method including the steps of analyzing each outgoing data packets to determine data packet type, determining, from multiple modes of network address translation, a mode of network address translation for each outgoing data packets based upon the determined data packet type of each outgoing data packet and performing network address translation on outgoing data packets based on the determined mode of network translation. The method allows for the modes of network address translation to include the basic NAT-type translation method of assigning a public IP address from a public IP address pool or the NAPT-type translation the method of assigning a default public IP address and a related source port.
The invention is also defined by a network address translator system for providing network address translation in a communications network. The system includes an address selector module that analyzes the data packet type of outgoing data packets to determine a mode of network address translation and selects a translation address based on the determined mode of network address translation and a translation module in communication with the outgoing connection lookup module that performs network address translation on outgoing data packets using the selected translation address.
Additionally, the network address translator system may include an outgoing connection lookup module that communicates with a connection lookup table to determine if outgoing data packets have previously undergone network address translation and/or a connection creation routine that compiles translation information, including the assigned network address translation for outgoing data packets, and stores the compiled translation information in the connection lookup table. In order to reverse translate the incoming data packets, the system may include a connection lookup table to determine connection parameters for incoming data packets and a reverse translator module that performs reverse network address translation on incoming data packets based on the determined connection parameters in the connection lookup table.
Having thus described the invention in general terms, reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Like numbers refer to like elements throughout.
The present invention is described as an intelligent network address translator that is implemented in a communication network. The intelligent network address translator analyzes each outgoing data packet based on packet type (i.e., protocol and destination address) and decides, based on the packet type, what mode of network address translation will be applied. In one embodiment the modes of network address translation will include mapping addresses in the private realm to a single public domain Internet Protocol (IP) address and source port or assigning a public IP address from a pool of available IP addresses. In effect, the intelligent network address translator of the present invention is able to dynamically change network address translation modes during an on-going network session by recognizing changes in packet types.
For example, a network user initiates a network session from a host, begins accessing a public network, and the intelligent network translator of the present invention recognizes the packet type. Upon recognition of the packet type the translator assigns a mode of network address translation based upon the functional requirements of the protocol (i.e., the packet type). If the functionality of the protocol is not dependent on assignment of globally unique IP addresses per destination server, then the data packets will typically be mapped to a default public domain IP address and source port. If, however, later in the same network session, the network user begins accessing a private network by using a Virtual Private Network (VPN), the intelligent network address translator recognizes a change in data packet type. In this instance, if the packet type and the protocol require globally unique IP addresses to function, the data packets may be assigned a public IP address from the available pool of IP addresses. As such, the intelligent network translator of the present invention is able to more effectively assign IP addresses and limit the amount of IP addresses that are being used at any given time.
In accordance with an embodiment of the present invention, the components, process steps, and/or data structures of the intelligent network address translator are implemented using a gateway device. Different implementations may be used and may include other types of operating systems, computing platforms, computer programs, and/or general-purpose machines. In addition, those of ordinary skill in the art will readily recognize that devices of a less general purpose nature, such as hardwired devices, devices relying on FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit) technology, or the like, may also be used without departing from the scope and spirit of the inventive concepts disclosed herewith.
The communication system 10 also typically includes an access controller 16 positioned between the hosts 12 and the gateway device 14 for multiplexing the signals received from the plurality of hosts onto a to gateway device link. Depending upon the medium by which the hosts are connected to the access controller, the access controller can be configured in different manners. For example, the access controller can be a digital subscriber line access module (DSLAM) for signals transmitted via regular telephone lines, a cable modem termination system (CMTS) for signals transmitted via coaxial/optical fiber cables, a wireless access point (WAP) for signals transmitted via a wireless network, a switch or the like. As also shown in
In accordance with an embodiment of the present invention, the components, process steps, and/or data structures of the intelligent network address translator 24 are implemented using gateway device 14. Those skilled in the art will realize that the intelligent network address translator may be implemented in other network devices, such as traditional routers, servers or the like. In addition, the gateway device may communicate with external storage devices (not shown in
The outgoing connection lookup module 110 is in communication with a connection creation routine 140. If the outgoing connection lookup module determines that no corresponding entry exists for the data packet in the session table 120 then the intelligent network address translator proceeds to the connection creation routine. The connection creation routine serves to compile the requisite connection information, including the translated network address that will subsequently be stored in the session table. The connection creation routine is in communication with the address selector module 150. The connection creation routine communicates packet parameters, such as, protocol, source address and destination address to the address selector module. The address selector module is responsible for determining the mode of network address translation that is to be implemented based on the packet type of the data packet.
The address selector module 150 is in communication with an address-selection binding table 160 and an address storage unit 170. The address selection binding maps the network address translation to the destination address and the address storage unit is the resource for all available network address translation addresses.
The address selector module 150 will analyze the data packet to determine the packet type. Packet type will be indicated by the protocols assigned to the data packet. Based on the packet type the data packet will be assigned a mode of network address translation. In one embodiment of the invention, predetermined packet types are specified as requiring assignment of a default public IP address and port (i.e., effectively performing NAPT-type network address translation) and other predetermined packet types are specified as requiring assignment of a public IP address from the pool of available IP addresses.
If the address selector module 150 determines that the packet type requires assigning a public IP address from the pool of available addresses then the address selector module will determine the data packet's destination address. The address selector module communicates with the address storage 170 to retrieve a public IP address. The destination address is then used to determine if the address-selection binding table 160 has an entry that corresponds to the destination address and the retrieved public IP address. If an entry does exist for the destination address, it means that the corresponding public IP address is being used for another session to the same destination by another network user and therefore this public IP address cannot be used for the current new data packet. In this instance, the address selector module will access the address storage for another public IP address. If no entry exists in the binding table for the destination address then the address selector module assigns the new public IP address to this destination address. Upon assignment of the new IP address, an entry is placed in the binding table to signify that the IP address corresponds to the destination address of the data packet.
The assigned public pool IP translation address and related parameters are communicated by the address selector 150 to the connection creation routine 140 at which a session/connection table entry is compiled and forwarded to the session table 120. Additionally, the translation network address and related parameters are communicated to the translation module 130 where the translation routine performs the requisite network address translation by altering address information in the header of the data packet.
If the address selector module 150 determines that the packet type requires assigning a default public IP address and a source port then the address selector module will assign the default public IP address and bind the data packet to a corresponding source port of the device that implements the intelligent network address translation.
The default public IP translation address, assigned port and related parameters are communicated by the address selector 150 to the connection creation routine 140 at which a session/connection table entry is compiled and forwarded to the session table 120. Additionally, the translation network address and related parameters are communicated to the translation module 130 where the translation routine performs the requisite network address translation by altering address information in the header of the data packet.
Incoming data packets that are being transmitted from the address space, typically a network service or the Internet to the private address space, typically a network host are communicated to the incoming connection lookup module 180. The incoming connection lookup module is in communication with the session table 120. The session table provides a log of all current network sessions/connections and, therefore, the session table provides the correlation between the translated network address of the incoming data packet and the private address. The incoming connection lookup module is in communication with the reverse translation module 190. The incoming connection module communicates the private address and related address information to the reverse translator module and the reverse translator module reconfigures the network address in the header of the data packet such that packets that are forwarded to the private address space indicate the originally assigned private address.
It should be obvious to those of ordinary skill in the art that the modules depicted in
If a determination is made that the data packet is an outgoing data packet then, at step 220, the system performs a lookup to determine if a connection exists in corresponding connection memory (i.e., session table). The existence of a connection means that data packets from the same private address have previously been mapped to a translated network address during the current connection and, therefore, no further analysis of the data packet is necessary prior to translation. As such, at step 230, the determination is made to assess whether a connection is found in the connection memory. If a connection is found in the connection memory then, at step 240, the process performs the translation using the connection parameters and translation network address found in the connection memory and the outgoing data packets are communicated to the public address realm.
If a connection is not found in the corresponding connection memory, then at step 250, the process determines that a new connection entry must be determined.
If, at step 210, the data packet is determined to not be an outgoing data it is then deemed to be an incoming data packet that emanated from the public address realm. As such, at step 290, an incoming lookup connection process is employed to determine the connection corresponding to the translated network address in the data packet. At step 300 the process determines whether an entry exists in the corresponding connection memory. If no entry is found, meaning the connection entry was never established or entered for the outgoing data packets then, at step 310, the data packet is dropped and no further communication of the data packet ensues. If an entry is found in the corresponding connection memory, then the connection parameters and the private address mapped to translation network address are used, at step 320, to reverse translate the data packet back to the original private network address and the reverse translated data packets are then communicated to the private address realm.
If the data packet is determined to be “special” and, thus require basic NAT-type processing then, at step 440, a determination is made as to whether an IP address is available in the associated public IP pool and an entry corresponding to the IP address and the data packet destination address does not exist in the address binding table. If such an IP address is available, then, at step 450, the IP address that is available is assigned to the connection as the translation network address. This mapping of the assigned public IP address and the destination address is added to the address binding table. However, if a determination is made that no IP address is available then, at step 460, no network address translation can be performed on the data packet and the packet is dropped from further communication.
By providing for mapping of public pool IP addresses to destination addresses and only denying reusability of the public pool IP address if it has been mapped to the same destination address that a subsequent network user desires to access, the present invention significantly increases the IP address reusability factor. This allows more potential network users to establish NAT-type connections and significantly lessens the dependency on when a network user accesses the system to determine IP address allocation.
As such, the present invention is capable of intelligent network address translation. The intelligent aspect of the translation system is realized by analyzing different parameters of all data packets being communicated between the private address realm and the public address realm and performing a predefined mode of network address translation based on the packet type. By analyzing every packet that the network encounters and adjusting the network address translation mode based on the packet type, the system and method of the present invention is able to adjust the mode of network address translation dynamically during a network user's ongoing network session. Additionally, by basing which mode of translation will be employed based on packet type the translation method of the present invention insures that IP addresses are distributed efficiently and distribution of the amount of addresses is minimized.
Many modifications and other embodiments of the invention will come to mind to one skilled in the art to which this invention pertains having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the invention is not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.
This application is a continuation of U.S. patent application Ser. No. 14/478,429, filed Sep. 5, 2014, pending, which is a continuation of U.S. patent application Ser. No. 13/756,341, filed on Jan. 31, 2013, now U.S. Pat. No. 8,832,315, which is a continuation of U.S. patent application Ser. No. 13/550,079, filed on Jul. 16, 2012, now U.S. Pat. No. 8,370,524, which is a continuation of U.S. patent application Ser. No. 13/276,217, filed on Oct. 18, 2011, now U.S. Pat. No. 8,234,409, which is a continuation of U.S. patent application Ser. No. 12/908,341, filed on Oct. 20, 2010, now U.S. Pat. No. 8,051,206, which is a continuation of U.S. patent application Ser. No. 12/830,264, filed on Jul. 2, 2010, now U.S. Pat. No. 7,822,873, which is a continuation of U.S. patent application Ser. No. 10/271,640, filed on Oct. 15, 2002, now U.S. Pat. No. 7,752,334, all of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 14478429 | Sep 2014 | US |
Child | 15343587 | US | |
Parent | 13756341 | Jan 2013 | US |
Child | 14478429 | US | |
Parent | 13550079 | Jul 2012 | US |
Child | 13756341 | US | |
Parent | 13276217 | Oct 2011 | US |
Child | 13550079 | US | |
Parent | 12908341 | Oct 2010 | US |
Child | 13276217 | US | |
Parent | 12830264 | Jul 2010 | US |
Child | 12908341 | US | |
Parent | 10271640 | Oct 2002 | US |
Child | 12830264 | US |