# US 2002/0159447 A1 · Methods, systems and computer program products for translating internet protocol (IP) addresses located in a payload of a packet

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2002/0159447 A1
- Document ID: US20020159447A1
- Status: Published application
- Kind: A1
- Application number: 09/844,309
- Filed: 2001-04-27
- Published: 2002-10-31
- Earliest claimed: 2001-04-27
- Assignees: International Business Machines Corporation
- Inventors: James Horan Carey; Sergio dos Santos Costa; Glenn Joseph Joyce; Douglas Evans McKenzie; Rex Armistead White
- Web page: https://patentgrep.com/patent/US20020159447A1

## CPC

- H04L 61/2514: between local and global IP addresses
- H04L 41/0213: Standardised network management protocols, e.g. simple network management protocol [SNMP]
- H04L 61/00: Network arrangements, protocols or services for addressing or naming
- H04L 61/2564: {for a higher-layer protocol, e.g. for session initiation protocol [SIP]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods, systems and computer program products are discussed for processing a packet. Internet Protocol (IP) addresses located in a payload of the packet are translated if a source address and/or a destination address located in a packet header has been previously translated.

## Claims

### Claim 1

A method of processing a packet, comprising:
translating Internet Protocol (IP) addresses located in a payload of the packet if at least one of a source address and a destination address located in a packet header has been previously translated.

### Claim 2 (depends on 1)

A method according to claim 1, wherein translating IP addresses is preceded by:
receiving a packet at a network address translator (NAT) device;
determining if at least one of the source address and the destination address located in the packet header has been previously translated to a normalized IP address; and
searching the payload of the packet for IP addresses if it is determined that at least one of the source address and the destination address located in the packet header has been previously translated;
wherein translating IP addresses comprises replacing at least one occurrence of an IP address located in the payload of the packet.

### Claim 3 (depends on 2)

A method according to claim 2, wherein determining if at least one of the source address and the destination address located in the packet has been previously translated comprises:
identifying the source address and the destination address in the packet header; and
determining if at least one of the source address and the destination address is present in a set of translation rules;
wherein at least one of the source address and the destination address has been previously translated if it is determined that at least one of the source address and the destination address is present in a set of translation rules.

### Claim 4 (depends on 3)

A method according to claim 3, wherein searching the payload of the packet for IP addresses comprises:
identifying an occurrence of an IP address in the payload of the packet;
determining a corresponding normalized IP address for the occurrence of the IP address using the set of translation rules that the at least one of the source address and the destination address was determined to be present in; and
repeating the identifying and determining for each occurrence of an IP address in the payload;
wherein translating IP addresses comprises replacing at least one occurrence of an IP address located in the payload of the packet with the corresponding normalized IP address.

### Claim 5 (depends on 3)

A method according to claim 3, wherein determining if at least one of the source address and the destination address located in the packet has been previously translated further comprises:
determining if at least one of the source address and the destination address is present in a header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in the set of translation rules;
wherein at least one of the source address and the destination address has been previously translated if it is determined that the source address and the destination address are not present in the header translation set of translation rules.

### Claim 6 (depends on 5)

A method according to claim 5, further comprising:
translating at least one of the source address and the destination address located in the packet header if it is determined that at least one of the source address and the destination address is present in the header translation set of translation rules.

### Claim 7 (depends on 5)

A method according to claim 5, wherein determining a corresponding normalized IP address comprises determining a corresponding normalized IP address for the occurrence of the IP address using the header translation set of translation rules.

### Claim 8 (depends on 3)

A method according to claim 3, further comprising discarding the packet if it is determined that at least one of the source address and the destination address is not present in a set of translation rules and the source address and the destination address are not present in the header translation set of translation rules.

### Claim 9 (depends on 3)

A method according to claim 3, wherein determining if at least one of the source address and the destination address is present in a set of translation rules further comprises:
determining if at least one of the source address and the destination address is present in a plurality of sets of translation rules; and
discarding the packet if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules.

### Claim 10 (depends on 9)

A method according to claim 9, wherein determining if at least one of the source address and the destination address is present in a set of translation rules further comprises:
determining if one of the plurality of sets of translation rules is the header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules; and
discarding the packet if it is determined that one of the plurality of sets of translation rules is not the header translation set of translation rules.

### Claim 11 (depends on 3)

A method according to claim 3, wherein the set of translation rules comprises a list of each IP address that has been translated and a corresponding normalized IP address for each IP address that has been translated.

### Claim 12 (depends on 11)

A method according to claim 11, wherein the set of translation rules comprises a first set of translation rules that correspond to a first customer and a second set of translation rules that correspond to a second customer.

### Claim 13 (depends on 12)

A method according to claim 12, wherein the set of translation rules that correspond to the first customer are unique with respect to the set of translation rules that correspond to the second customer.

### Claim 14 (depends on 1)

A method according to claim 1, wherein the packet is a Simple Network Management Protocol (SNMP) packet.

### Claim 15 (depends on 14)

A method according to claim 14, wherein each of the IP addresses are identified by a unique SNMP object identifier (OID) located within a Management Information Base(MIB).

### Claim 16 (depends on 1)

A method according to claim 1, wherein the at least one of the source address and the destination address located in the packet header is previously translated by a border firewall.

### Claim 17 (depends on 1)

A method according to claim 1, wherein the at least one of the source address and the destination address located in the packet header is previously translated by a router.

### Claim 18

A method of processing a packet, comprising:
determining if at least one of a source address and a destination address located in a packet header is present in a set of translation rules;
searching a payload of the packet for IP addresses if it is determined that at least one of a source address and a destination address is present in the set of translation rules; and
translating the IP addresses in the payload of the packet using the set of translation rules.

### Claim 19 (depends on 18)

A method according to claim 18, wherein determining if at least one of a source address and a destination address located in a packet header is present in a set of translation rules is preceded by receiving a packet at a network address translator (NAT) device.

### Claim 20 (depends on 18)

A method according to claim 18, wherein translating the IP addresses comprises replacing at least one occurrence of an IP address located in the payload of the packet.

### Claim 21 (depends on 18)

A method according to claim 18, wherein determining if at least one of the source address and the destination address located in the packet header is present in a set of translation rules comprises:
identifying the source address and the destination address in the packet header;
scanning the set of translation rules to determine if at least one of the source address and the destination address is present in the set of translation rules; and
determining if at least one of the source address and the destination address is present in a header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in the set of translation rules;
wherein at least one of the source address and the destination address has been previously translated if it is determined that at least one of the source address and the destination address is present in a set of translation rules and that the source address and the destination address are not present in the header translation set of translation rules.

### Claim 22 (depends on 18)

A method according to claim 18, wherein searching the payload of the packet for IP addresses comprises:
identifying an occurrence of an IP address in the payload of the packet;
determining a corresponding normalized IP address for the occurrence of the IP address using the set of translation rules that the at least one of the source address and the destination address was determined to be present in; and
repeating the identifying and determining for each occurrence of an IP address identified in the payload;
wherein the translating IP addresses comprises replacing at least one occurrence of an IP address located in the payload of the packet with the corresponding normalized IP address.

### Claim 23 (depends on 22)

A method according to claim 22, further comprising: translating at least one of the source address and the destination address located in the packet header if it is determined that at least one of the source address and the destination address is present in the header translation set of translation rules.

### Claim 24 (depends on 23)

A method according to claim 23, wherein determining a corresponding normalized IP address comprises determining a corresponding normalized IP address for the occurrence of the IP addresses using the header translation set of translation rules.

### Claim 25 (depends on 21)

A method according to claim 21, further comprising discarding the packet if it is determined that at least one of the source address and the destination address is not present in a set of translation rules and the source address and the destination address are not present in the header translation set of translation rules.

### Claim 26 (depends on 18)

A method according to claim 18, wherein determining if at least one of the source address and the destination address is present in a set of translation rules further comprises:
determining if at least one of the source address and the destination address is present in a plurality of sets of translation rules;
determining if one of the plurality of sets of translation rules is the header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules; and
discarding the packet if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules and that one of the plurality of sets of translation rules is not the header translation set of translation rules.

### Claim 27 (depends on 18)

A method according to claim 18, wherein the set of translation rules comprises a list of each IP address that has been translated and a corresponding normalized IP address for each IP address that has been translated.

### Claim 28 (depends on 16)

A method according to claim 16, wherein the set of translation rules comprises a first set of translation rules that correspond to a first customer and a second set of translation rules that correspond to a second customer.

### Claim 29 (depends on 28)

A method according to claim 28, wherein the set of translation rules that correspond to the first customer are unique with respect to the set of translation rules that correspond to the second customer.

### Claim 30 (depends on 18)

A method according to claim 18, wherein the packet is a Simple Network Management Protocol (SNMP) packet.

### Claim 31 (depends on 30)

A method according to claim 30, wherein each of the IP addresses are identified by a unique SNMP object identifier (OID) located within a Management Information Base (MIB).

### Claim 32 (depends on 18)

A method according to claim 18, wherein the at least one of the source address and the destination address located in the packet header is previously translated by a border firewall.

### Claim 33 (depends on 18)

A method according to claim 18, wherein the at least one of the source address and the destination address located in the packet header is previously translated by a router.

### Claim 34

A system for processing a packet, comprising:
a first network address translator (NAT) device that translates at least one of a source address and a destination address located in a packet header; and
a second NAT device that translates Internet Protocol (IP) addresses located in a payload of the packet if at least one of the source address and the destination address has been previously translated by the first NAT device.

### Claim 35 (depends on 34)

A system according to claim 34, wherein the second NAT device comprises:
a detector circuit configured to determine if at least one of the source address and the destination address located in the packet header has been previously translated to a normalized IP address; and
a scanner circuit configured to search the payload of the packet for IP addresses if it is determined that at least one of the source address and the destination address located in the packet header has been previously translated;
a payload translator circuit configured to translate IP addresses by replacing at least one occurrence of an IP address located in the payload of the packet.

### Claim 36 (depends on 35)

A system according to claim 35, wherein the detector circuit is further configured to:
identify the source address and the destination address in the packet header;
determine if at least one of the source address and the destination address is present in a set of translation rules; and
determine if at least one of the source address and the destination address is present in a header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in the set of translation rules;
wherein at least one of the source address and the destination address has been translated if it is determined that at least one of the source address and the destination address is present in a set of translation rules and that the source address and the destination address are not present in the header translation set of translation rules.

### Claim 37 (depends on 35)

A system according to claim 35, wherein the scanner circuit is further configured to:
identify an occurrence of an IP addresses in the payload of the packet;
determine a corresponding normalized IP address for the occurrence of the IP addresses using the set of translation rules that the at least one of the source address and the destination address was determined to be present in; and
repeat identifying and determining for each occurrence of an IP address identified in the payload;
wherein translating IP addresses comprises replacing at least one occurrence of an IP address located in the payload of the packet with the corresponding normalized IP address.

### Claim 38 (depends on 36)

A system according to claim 36, wherein the second NAT device further comprises:
a header translator circuit configured to translate at least one of the source address and the destination address located in the packet header if it is determined that at least one of the source address and the destination address is present in the header translation set of translation rules.

### Claim 39 (depends on 38)

A system according to claim 38, wherein the scanner circuit is further configured to determine a corresponding normalized IP address for the occurrence of the IP address using the header translation set of translation rules.

### Claim 40 (depends on 36)

A system according to claim 36, wherein the detector circuit is further configured to discard the packet if it is determined that at least one of the source address and the destination address is not present in a set of translation rules and that the source address and the destination address are not present in the header translation set of translation rules.

### Claim 41 (depends on 36)

A system according to claim 36, wherein the detector circuit is further configured to:
determine if at least one of the source address and the destination address is present in a plurality of sets of translation rules;
determine if one of the plurality of sets of translation rules is the header translation set of translation rules if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules; and
discarding the packet if it is determined that at least one of the source address and the destination address is present in a plurality of sets of translation rules and that one of the plurality of sets of translation rules is not the header translation set of translation rules.

### Claim 42 (depends on 36)

A system according to claim 36, wherein the set of translation rules comprises a list of each IP address that has been translated and a corresponding normalized IP address for each IP address that has been translated.

### Claim 43 (depends on 36)

A system according to claim 36, wherein the set of translation rules comprises a first set of translation rules that correspond to a first customer and a second set of translation rules that correspond to a second customer.

### Claim 44 (depends on 43)

A system according to claim 43, wherein the set of translation rules that correspond to the first customer are unique with respect to the set of translation rules that correspond to the second customer.

### Claim 45 (depends on 34)

A system according to claim 34, wherein the packet is a Simple Network Management Protocol (SNMP) packet.

### Claim 46 (depends on 45)

A system according to claim 45, wherein each of the IP addresses are identified by a unique SNMP object identifier (OID) located within a Management Information Base (MIB).

### Claim 47 (depends on 34)

A system according to claim 34, wherein the first NAT device comprises a border firewall.

### Claim 48 (depends on 34)

A system according to claim 34, wherein the first NAT device comprises a router.

### Claim 49

A system for processing a packet, comprising:
means for translating Internet Protocol (IP) addresses located in a payload of the packet if at least one of a source address and a destination address located in a packet header has been previously translated.

### Claim 50

A system for processing a packet, comprising:
means for determining if at least one of a source address and a destination address located in a packet header is present in a set of translation rules;
means for searching a pay load of the packet for IP addresses if it is determined that at least one of a source address and a destination address is present in the set of translation rules; and
means for translating the IP addresses in the payload of the packet using the set of translation rules.

### Claim 51

A computer program product for processing a packet, comprising:
a computer readable program medium having computer readable program code embodied therein, the computer readable program code comprising:
computer readable program code which translates Internet Protocol (IP) addresses located in a payload of the packet if at least one of a source address and a destination address located in a packet header has been previously translated.

### Claim 52

A computer program product for processing a packet, comprising:
a computer readable program medium having computer readable program code embodied therein, the computer readable program code comprising:
computer readable program code which determines if at least one of a source address and a destination address located in a packet header is present in a set of translation rules;
computer readable program code which searches a payload of the packet for IP addresses if it is determined that at least one of a source address and a destination address is present in the set of translation rules; and
computer readable program code that translates the IP addresses in the payload of the packet using the set of translation rules.
