# US 2020/0404020 A1 · Anti-replay processing method and device utilizing the same

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

- Number: US 2020/0404020 A1
- Document ID: US20200404020A1
- Status: Published application
- Kind: A1
- Application number: 17/011,266
- Filed: 2020-09-03
- Published: 2020-12-24
- Earliest claimed: 2018-11-05
- Assignees: Nanning Fugui Precision Industrial Co., Ltd.
- Applicants: Nanning Fugui Precision Industrial Co., Ltd.
- Inventors: SHIH-NENG LIN
- Web page: https://patentgrep.com/patent/US20200404020A1

## CPC

- 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 45/22: {Alternate routing}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 45/306: {Route determination based on the nature of the carried application}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An anti-replay processing method. The method is utilized in a service function path (SFP) to monitor packet count in the SFP to identify replay attack event, and recognizes a segment of the SFP where the replay attack event occurs as an insecure path. The method further initiates a secure path bypassing the insecure path, labels normal SFC packets with an asserted secure flag, and blocks replayed packets without the asserted secure flag at the exit stage of the secure path.

## Claims

### Claim 1

An anti-replay processing method executable by an electronic device, comprising:
detecting a packet replay event occurred between a first service function forwarder and a second service function forwarder in a service function path;
initializing a secure service function forwarder between the first service function forwarder and the second service function forwarder in response to the packet replay event; and
providing an indication of an alternative route from the first service function forwarder to the second service function forwarder by replacing an original forwarding rule in the first service function forwarder with a new forwarding rule, wherein the original forwarding rule directs traffic of packets of the service function path from the first service function forwarder to the second service function forwarder through an original route, and the new forwarding rule directs traffic of packets of the service function path from the first service function forwarder to the second service function forwarder through the alternative route comprising the secure service function forwarder.

### Claim 2 (depends on 1)

The anti-replay processing method of claim 1, wherein the step of detecting a packet replay event occurred between a first service function forwarder and a second service function forwarder in a service function path step further comprises:
determining the packet replay event occurred between the first service function forwarder and the second service function forwarder in the service function path in a condition where a difference between the first packet count received from the first service function forwarder and the second packet count received from the second service function forwarder exceeds a predetermined threshold.

### Claim 3 (depends on 1)

The anti-replay processing method of claim 1, wherein the secure service function forwarder directs traffic of packets of the service function path from the secure service function forwarder to the second service function forwarder.

### Claim 4 (depends on 1)

The anti-replay processing method of claim 1, further comprising:
differentiating by the first service function forwarder normal packets in the traffic of packets of the service function path from replayed packets.

### Claim 5 (depends on 4)

The anti-replay processing method of claim 4, further comprising:
asserting a secure flag in a normal packet in the traffic of packets of the service function path to allow packets with the secure flag to flow through the second service function forwarder and prevent replayed packets from flowing through the second service function forwarder.

### Claim 6 (depends on 5)

The anti-replay processing method of claim 5, further comprising:
setting a reserved bit in a network service header of the normal packet in the traffic of packets of the service function path to assert the secure flag.

### Claim 7 (depends on 5)

The anti-replay processing method of claim 5, further comprising:
allowing the second service function forwarder to receive a forwarded packet;
allowing the second service function forwarder to forward the forwarded packet in a condition where the forwarded packet comprises the secure flag asserted; and
allowing the second service function forwarder to discard the forwarded packet in a condition where the forwarded packet does not comprise the secure flag asserted.

### Claim 8 (depends on 1)

The anti-replay processing method of claim 1, further comprising:
utilizing a packet count track table to determine the packet replay event;
wherein a first record of the packet count track table comprises a first service path identifier, a first service index, and a first session identifier, and the first packet count associated with the first service path identifier, the first service index and the first session identifier; and
wherein a second record of the packet count track table comprises a second service path identifier, a second service index, and a second session identifier, and the second packet count associated with the second service path identifier, the second service index and the second session identifier.

### Claim 9

An anti-replay processing method executable by an electronic device, comprising:
detecting a packet replay event occurred between a first service function forwarder and a second service function forwarder in a service function path;
receiving an indication stating a secure service function forwarder initialized between the first service function forwarder and the second service function forwarder in response to the packet replay event; and
providing an indication of an alternative route toward the second service function forwarder by replacing an original forwarding rule in the first service function forwarder with a new forwarding rule, wherein the original forwarding rule directs traffic of packets of the service function path from the first service function forwarder to the second service function forwarder, and the new forwarding rule directs traffic of packets of the service function path from the first service function forwarder to the secure service function forwarder rather than the second service function forwarder.

### Claim 10 (depends on 9)

The anti-replay processing method of claim 9, wherein the secure service function forwarder directs traffic of packets of the service function path from the secure service function forwarder to the second service function forwarder.

### Claim 11 (depends on 9)

The anti-replay processing method of claim 9, further comprising:
differentiating by the first service function forwarder normal packets in the traffic of packets of the service function path from replayed packets.

### Claim 12 (depends on 11)

The anti-replay processing method of claim 11, further comprising:
asserting a secure flag in a service function flow packet in the traffic of packets of the service function path to allow packets with the secure flag to flow through the second service function forwarder and prevent replayed packets from flowing through the second service function forwarder.

### Claim 13 (depends on 11)

The anti-replay processing method of claim 11, further comprising:
setting a reserved bit in a network service header of the service function flow packet to assert the secure flag.
