发明名称 |
Anti-Replay Method and Apparatus |
摘要 |
An anti-replay method and apparatus are provided. The same maximum agreed value is set at a transmit end and a receive end. The receive end receives an Internet Protocol Security (IPSec) packet, where the IPSec packet includes a sequence number, and acquires an upper limit value of an anti-replay sliding window. If the upper limit value of the anti-replay sliding window is the maximum agreed value, the receive end sets an interval of the anti-replay sliding window to M1 to M2, where M1 is a minimum value of the packet sequence number, and M2 is a sum of M1 and a size of the anti-replay sliding window. When a sequence number of a packet sent by the transmit end reaches a maximum value, a sequence number of a next sent packet starts from the minimum value, thereby resolving a problem that a packet is falsely discarded because of anti-replay. |
申请公布号 |
US2016182453(A1) |
申请公布日期 |
2016.06.23 |
申请号 |
US201514976143 |
申请日期 |
2015.12.21 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Hu Jun;Guan Xinghua |
分类号 |
H04L29/06 |
主分类号 |
H04L29/06 |
代理机构 |
|
代理人 |
|
主权项 |
1. An anti-replay method, comprising:
receiving an Internet Protocol Security (IPSec) packet, wherein the IPSec packet comprises a sequence number; acquiring an upper limit value of an anti-replay sliding window; and setting an interval of the anti-replay sliding window to M1 to M2 when the upper limit value of the anti-replay sliding window is a maximum agreed value, wherein M1 is a minimum value of the packet sequence number, wherein M2 is a sum of M1 and a size of the anti-replay sliding window, and wherein M1 is an integer greater than or equal to 0. |
地址 |
Shenzhen CN |