# US 9,357,002 B1 · Mitigation of optimistic acknowledgement attacks in a computer protocol

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

- Number: US 9,357,002 B1
- Document ID: US9357002B1
- Status: Granted
- Kind: B1
- Application number: 13/858,873
- Filed: 2013-04-08
- Granted: 2016-05-31
- Earliest claimed: 2013-04-08
- Assignees: Google Inc.
- Applicants: Google Inc.
- Inventors: James Anthony Roskind; Ryan Cameron Hamilton
- Web page: https://patentgrep.com/patent/US9357002B1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for verifying receipt of data packets, including generating a plurality of data packets, wherein each of the plurality of data packets comprises entropy information, transmitting one or more of the plurality of data packets to a receiver, receiving a first hash from the receiver, wherein the first hash is based on the entropy information of the one or more of the plurality of data packets and validating the first hash to determine if the receiver received the one or more of the plurality of data packets. Systems and computer-readable media are also provided.

## Claims

### Claim 1

A method for verifying receipt of data packets, comprising:
generating a plurality of data packets, wherein each of the plurality of data packets comprises entropy information;
transmitting a first generated data packet to a receiver;
receiving a first hash from the receiver, wherein the first hash is based on first entropy information of the first generated data packet;
validating the first hash to determine if the receiver received the first generated data packet;
transmitting a second generated data packet to the receiver;
receiving a second hash from the receiver, wherein the second hash is based on second entropy information associated with the second generated data packet;
validating the second hash to determine if the receiver received the second generated data packet; and
authenticating a connection with the receiver based on the validated first hash and the validated second hash.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first hash is based on a commutative calculation which is performed using at least part of the entropy information of the one or more of the plurality of data packets, wherein the first hash incorporates accumulated entropy information for all packets less than the Nth packet in a series of at least N transmitted packets.

### Claim 3 (depends on 2)

The method of claim 2, wherein the commutative calculation comprises an XOR calculation.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
adjusting a rate at which data is transmitted to the receiver, in response to a determination that the receiver has received the one or more of the plurality of data packets.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
decreasing a rate at which data is transmitted to the receiver, if it is determined that the receiver did not receive the one or more of the plurality of data packets.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
authenticating a connection with the receiver based on the first hash; and
terminating the connection with the receiver if the first hash is not properly validated.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
authenticating a connection with the receiver based on the first hash; and
upholding the connection with the receiver if the first hash is properly validated.

### Claim 8 (depends on 1)

The method of claim 1, wherein one of the first and second entropy information comprises transmission times for one or more packets.

### Claim 9 (depends on 1)

The method of claim 1, wherein one of the first and second entropy information comprises a single random bit inserted into one or more, but fewer than all, of the plurality of data packets, wherein the average amount of entropy information included in each of the plurality of data packets is less than one bit.

### Claim 10

A system for verifying receipt of data packets, the system comprising:
one or more processors; and
a non-transitory computer-readable medium comprising instructions stored therein, which when executed by the processors, cause the processors to perform operations comprising:
generating a plurality of data packets, wherein each of the plurality of data packets comprises entropy information;
transmitting a first generated data packet to a receiver;
receiving a first hash from the receiver, wherein the first hash is based on a commutative calculation performed using at least a part of first entropy information of the first generated data packet;
validating the first hash to determine if the receiver received the first generated data packet;
transmitting a second generated data packet to the receiver;
receiving a second hash from the receiver, wherein the second hash is based on second entropy information associated with the second generated data packet;
validating the second hash to determine if the receiver received the second generated data packet; and
authenticating a connection with the receiver based on the validated first hash and the validated second hash.

### Claim 11 (depends on 10)

The system of claim 10, wherein the commutative calculation comprises an XOR calculation.

### Claim 12 (depends on 10)

The system of claim 10, wherein the processors are further configured to perform operations for:
adjusting a rate at which data is transmitted to the receiver, in response to a determination that the receiver has received the one or more of the plurality of data packets.

### Claim 13 (depends on 10)

The system of claim 10, wherein the processors are further configured to perform operations for:
decreasing a rate at which data is transmitted to the receiver, if it is determined that the receiver did not receive the one or more of the plurality of data packets.

### Claim 14 (depends on 10)

The system of claim 10, wherein the processors are further configured to perform operations for:
authenticating a connection with the receiver based on the first hash; and
terminating the connection with the receiver if the first hash is not properly validated.

### Claim 15 (depends on 10)

The system of claim 10, wherein the processors are further configured to perform operations for:
authenticating a connection with the receiver based on the first hash; and
upholding the connection with the receiver if the first hash is properly validated.

### Claim 16

A non-transitory computer-readable storage medium comprising instructions stored therein, which when executed by a processor, cause the processor to perform operations comprising:
generating a plurality of data packets, wherein each of the plurality of data packets comprises entropy information;
transmitting a first generated data packet to a receiver;
receiving a first hash from the receiver, wherein the first hash is based on first entropy information of the first generated data packet;
validating the first hash to determine if the receiver received the first generated data packet;
transmitting a second generated data packet to the receiver;
receiving a second hash from the receiver, wherein the second hash is based on second entropy information associated with the second generated data packet;
validating the second hash to determine if the receiver received the second generated data packet; and
authenticating a connection with the receiver based on the validated first hash and the validated second hash.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the first hash is based on a commutative calculation which is performed using at least part of the entropy information of the one or more of the plurality of data packets, wherein the first hash incorporates accumulated entropy information for all packets less than the Nth packet in a series of at least N transmitted packets, but excluding a list of K packets where K<N.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the commutative calculation comprises an XOR calculation.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, further comprising:
adjusting a rate at which data is transmitted to the receiver, in response to a determination that the receiver has received the one or more of the plurality of data packets.

### Claim 20 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, further comprising:
decreasing a rate at which data is transmitted to the receiver, if it is determined that the receiver did not receive the one or more of the plurality of data packets.
