# US 2010/0145912 A1 · Detecting peer to peer applications

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

- Number: US 2010/0145912 A1
- Document ID: US20100145912A1
- Status: Published application
- Kind: A1
- Application number: 12/329,955
- Filed: 2008-12-08
- Published: 2010-06-10
- Earliest claimed: 2008-12-08
- Assignees: AT&T Intellectual Property I, L.P.
- Inventors: Jian Li; Kaiyan Chen; Raghvendra Savoor
- Web page: https://patentgrep.com/patent/US20100145912A1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 43/00: Arrangements for monitoring or testing data switching networks
- H04L 61/255: Maintenance or indexing of mapping tables
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Peer-to-peer (P2P) applications are detected by analyzing entries in a residential gateway network address translation table. A quantity of available communication sessions provides a first indication of whether a P2P application is running. A quantity of unique addresses is compared to a quantity of unique destination ports and the result provides a further indication of whether a P2P application is running.

## Claims

### Claim 1

A process for detecting peer-to-peer connections from a local network address, the process comprising:
accessing a network address table to determine a quantity of available communication sessions;
storing the quantity of available communication sessions;
comparing the quantity of available communication sessions to a minimum level of communication sessions; and
storing a peer-to-peer connection variable as TRUE if the quantity of available communication sessions is equal to or less than the minimum level of communication sessions.

### Claim 2 (depends on 1)

The process of claim 1, further comprising:
storing the peer-to-peer connection variable as FALSE if the quantity of available communication sessions is greater than the minimum level of communication sessions.

### Claim 3 (depends on 1)

The process of claim 1, further comprising:
determining whether used communication sessions correspond to service ports; and
if a used communication session corresponds to a service port, subtracting a number of used communications sessions.

### Claim 4 (depends on 3)

The process of claim 3, wherein the service ports include an Internet protocol television service port.

### Claim 5 (depends on 1)

The process of claim 1, wherein the network address table is accessed from a residential gateway.

### Claim 6 (depends on 1)

The process of claim 1, wherein the network address table includes 1024 entries.

### Claim 7 (depends on 1)

The process of claim 1, wherein said accessing the network address table is further to determine:
a quantity of unique destination network addresses communicatively coupled to a local port; and wherein the process further comprising:
storing the quantity of unique destination network addresses;
comparing the quantity of unique destination addresses to a maximum level of unique destination addresses; and
storing the peer-to-peer connection variable as TRUE if the quantity of unique destination addresses meets or exceeds the maximum level of unique destination addresses.

### Claim 8 (depends on 7)

The process of claim 7, further comprising:
storing the peer-to-peer connection variable as FALSE if the quantity of unique destination addresses is less than the maximum level of unique destination addresses.

### Claim 9 (depends on 7)

The process of claim 7, further comprising:
comparing an identifier of the local port to a plurality of service port identifiers; and
storing the peer-to-peer connection variable as FALSE if the quantity of unique destination addresses meets or exceeds the maximum level of unique destination addresses and the identifier of the local port corresponds to one or more of the plurality of service port identifiers.

### Claim 10 (depends on 7)

The process of claim 7, further comprising:
repeating accessing the network address table to determine a quantity of unique destination network addresses for other local ports;
for individual ports of the local ports, comparing the quantity of unique destination addresses to a quantity of unique destination ports; and
storing the peer-to-peer connection variable as TRUE if the quantity of unique destination addresses is substantially equal to the quantity of unique destination ports.

### Claim 11 (depends on 7)

The process of claim 7, further comprising:
repeating accessing the network address table to determine a quantity of unique destination network addresses for other local ports;
for individual ports of the local ports, determining a ratio of the quantity of unique destination addresses to a quantity of unique destination ports;
for individual ports of the local ports, determining a difference value by subtracting a quantity of unique destination ports from the quantity of unique destination addresses; and
storing the peer-to-peer connection variable as TRUE if the ratio is substantially 1 and the difference value is less than or equal to a maximum difference value.

### Claim 12 (depends on 11)

The process of claim 11, wherein the maximum difference value is substantially 10.

### Claim 13 (depends on 11)

The process of claim 11, further comprising:
storing the peer-to-peer connection variable as FALSE if the ratio is not substantially equal to 1 or is equal to 1.

### Claim 14 (depends on 11)

The process of claim 11, further comprising:
storing the peer-to-peer connection as FALSE if the ratio is not substantially equal to 1 or is equal to 1 and the difference value is greater than the maximum difference value.

### Claim 15 (depends on 14)

The process of claim 14, wherein the maximum difference value is 10.

### Claim 16 (depends on 7)

The process of claim 7, wherein said accessing the network address table is performed by a residential gateway that stores the network address table.

### Claim 17 (depends on 16)

The process of claim 16, further comprising:
transporting network address table data to a server.

### Claim 18 (depends on 16)

The process of claim 16, wherein transporting network address table data to the server is responsive to a server request.

### Claim 19

A detection server enabled for executing machine readable instructions stored on at least one tangible readable medium to detect peer-to-peer connections, the instructions including instructions for:
accessing a network address translation table of a client, wherein the network address translation table includes a plurality of entries indicating communication sessions between a local customer premises equipment device and at least one remote device, wherein individual entries of the plurality of entries are associated with a destination address, a destination port, a source port, and a source address;
determining whether a threshold number (N) of entries have differing source addresses while having the same destination address and same source port; and
responsive to determining that a threshold number (N) of entries have differing destination addresses, flagging the client as a potential peer-to-peer operator.

### Claim 20 (depends on 19)

The detection server of claim 19, wherein the network address translation table is accessed from a residential gateway.

### Claim 21 (depends on 19)

The detection server of claim 19, the instructions further comprising instructions for:
determining whether a difference value is less than or equal to a threshold number (X), wherein the difference value is an absolute value of:
a quantity of unique destination ports subtracted from a quantity of unique destination addresses; and
responsive to determining that the difference value is less than or equal to the threshold number (X), flagging the client as a potential peer-to-peer operator.

### Claim 22 (depends on 19)

The detection server of claim 19, the instructions further comprising instructions for:
determining whether a difference value is less than or equal to a threshold number (X), wherein the difference value is an absolute value of:
a quantity of unique destination ports subtracted from a quantity of unique destination addresses; and
responsive to determining that the difference value is greater than the threshold number (X), unflagging the client as a potential peer-to-peer operator.

### Claim 23

A residential gateway enabled for detecting that a local client is operating a peer-to-peer connection, the residential gateway comprising:
an interface for enabling communication over a network between the local client and the multiple remote sources;
a network address translation table stored on a tangible readable medium;
wherein then network address translation table includes session entries;
wherein the session entries include data indicating communication sessions between the local client and multiple remote sources, wherein each of the multiple remote sources being associated with a remote network address and a remote port; and
a processor enabled for determining:
a relationship between:
the remote network addresses associated with the multiple remote sources; and
the remote ports associated with the multiple remote sources.

### Claim 24 (depends on 23)

The residential gateway of claim 23, wherein the relationship is a ratio.

### Claim 25 (depends on 24)

The residential gateway of claim 24, wherein the processor is further enabled for reporting an existence of a peer-to-peer connection in response to the ratio being substantially equal to 1.

### Claim 26 (depends on 23)

The residential gateway of claim 23, wherein the processor is further enabled for reporting the existence of the peer-to-peer connection to a detection server.
