# US 2025/0219949 A1 · Systems and Methods for Automatically Adjusting a Time-Based Anti-Replay Window Size

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

- Number: US 2025/0219949 A1
- Document ID: US20250219949A1
- Status: Published application
- Kind: A1
- Application number: 19/085,711
- Filed: 2025-03-20
- Published: 2025-07-03
- Earliest claimed: 2021-12-10
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Changhong Shen; Chingsung Lin; Yubei Cao; Sandy X. Chang
- Web page: https://patentgrep.com/patent/US20250219949A1

## CPC

- H04L 47/225: {Determination of shaping rate, e.g. using a moving window}
- H04L 47/27: Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets
- H04L 47/34: ensuring sequence integrity, e.g. using sequence numbers
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 63/0254: {Stateful filtering}
- H04L 63/164: {at the network layer}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, a method includes receiving, by a network node, a packet associated with a session. The method also includes performing, by the network node, a sequence-based anti-replay check and determining, by the network node, that the sequence-based anti-replay check rejected the packet. The method further includes performing, by the network node, a time-based anti-replay check, performing, by the network node, a selective anti-replay check, and determining, by the network node, whether to dynamically adjust a time-based anti-replay window size.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A network node comprising:
one or more processors; and
one or more computer-readable non-transitory storage media coupled to the one or more processors and including instructions that, when executed by the one or more processors, cause the network node to perform operations comprising:
receiving a packet associated with a session;
performing a sequence-based anti-replay check;
determining that the sequence-based anti-replay check rejected the packet;
performing a time-based anti-replay check; and
determining whether to dynamically adjust a time-based anti-replay window size based at least in part on performing the time-based anti-replay check.

### Claim 22 (depends on 21)

The network node of claim 21, the operations further comprising:
determining that the packet was rejected by the time-based anti-replay check;
rejecting the packet; and
increasing the time-based anti-replay window size.

### Claim 23 (depends on 21)

The network node of claim 21, wherein performing the sequence-based anti-replay check comprises:
determining a sequence number associated with the packet;
rejecting the packet if the sequence number is less than a lowest sequence number in an anti-replay window; and
accepting the packet in if the sequence number is greater than the lowest sequence number in the anti-replay window.

### Claim 24 (depends on 21)

The network node of claim 21, wherein performing the time-based anti-replay check comprises determining whether a time tick delay associated with the session is within a time-based anti-replay window.

### Claim 25 (depends on 21)

The network node of claim 21, wherein performing the time-based anti-replay check comprises determining whether a time tick delay between packets associated with the session is constantly greater than a default size of a time-based anti-replay window for a predetermined time duration.

### Claim 26 (depends on 21)

The network node of claim 21, the operations further comprising:
determining that the packet was accepted by the time-based anti-replay check; and
accepting the packet.

### Claim 27 (depends on 21)

The network node of claim 21, wherein:
the network node is a software-defined wide area network (SD-WAN) edge router; and
the session is an Internet Protocol Security (IPSec) Security Associations (SA) session.

### Claim 28

A method, comprising:
receiving a packet associated with a session;
performing a sequence-based anti-replay check;
determining that the sequence-based anti-replay check rejected the packet;
performing a time-based anti-replay check; and
determining whether to dynamically adjust a time-based anti-replay window size based at least in part on performing the time-based anti-replay check.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
determining that the packet was rejected by the time-based anti-replay check;
rejecting the packet; and
increasing the time-based anti-replay window size.

### Claim 30 (depends on 28)

The method of claim 28, wherein performing the sequence-based anti-replay check comprises:
determining a sequence number associated with the packet;
rejecting the packet if the sequence number is less than a lowest sequence number in an anti-replay window; and
accepting the packet in if the sequence number is greater than the lowest sequence number in the anti-replay window.

### Claim 31 (depends on 28)

The method of claim 28, wherein performing the time-based anti-replay check comprises determining whether a time tick delay associated with the session is within a time-based anti-replay window.

### Claim 32 (depends on 28)

The method of claim 28, wherein performing the time-based anti-replay check comprises determining whether a time tick delay between packets associated with the session is constantly greater than a default size of a time-based anti-replay window for a predetermined time duration.

### Claim 33 (depends on 28)

The method of claim 28, further comprising:
determining that the packet was accepted by the time-based anti-replay check; and
accepting the packet.

### Claim 34 (depends on 28)

The method of claim 28, wherein:
the network node is a software-defined wide area network (SD-WAN) edge router; and
the session is an Internet Protocol Security (IPSec) Security Associations (SA) session.

### Claim 35

One or more computer-readable non-transitory storage media embodying instructions that, when executed by a processor, cause the processor to perform operations comprising:
receiving a packet associated with a session;
performing a sequence-based anti-replay check;
determining that the sequence-based anti-replay check rejected the packet;
performing a time-based anti-replay check; and
determining whether to dynamically adjust a time-based anti-replay window size based at least in part on performing the time-based anti-replay check.

### Claim 36 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, the operations further comprising:
determining that the packet was rejected by the time-based anti-replay check;
rejecting the packet; and
increasing the time-based anti-replay window size.

### Claim 37 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, wherein performing the sequence-based anti-replay check comprises:
determining a sequence number associated with the packet;
rejecting the packet if the sequence number is less than a lowest sequence number in an anti-replay window; and
accepting the packet in if the sequence number is greater than the lowest sequence number in the anti-replay window.

### Claim 38 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, wherein performing the time-based anti-replay check comprises determining whether a time tick delay associated with the session is within a time-based anti-replay window.

### Claim 39 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, wherein performing the time-based anti-replay check comprises determining whether a time tick delay between packets associated with the session is constantly greater than a default size of a time-based anti-replay window for a predetermined time duration.

### Claim 40 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, the operations further comprising:
determining that the packet was accepted by the time-based anti-replay check; and
accepting the packet.
