US 11,855,888 B2
Packet verification method, device, and system
Jingrong Xie, Beijing (CN); Yang Xia, Beijing (CN); and Xuesong Geng, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Oct. 10, 2022, as Appl. No. 18/045,175.
Application 18/045,175 is a continuation of application No. PCT/CN2021/081471, filed on Mar. 18, 2021.
Claims priority of application No. 202010287068.8 (CN), filed on Apr. 13, 2020.
Prior Publication US 2023/0115034 A1, Apr. 13, 2023
Int. Cl. H04L 45/00 (2022.01); H04L 9/08 (2006.01); H04L 9/32 (2006.01); H04L 45/741 (2022.01)
CPC H04L 45/566 (2013.01) [H04L 9/0825 (2013.01); H04L 9/3242 (2013.01); H04L 45/741 (2013.01)] 30 Claims
OG exemplary drawing
 
1. A packet verification method, comprising:
receiving, by a first network device, a bit index explicit replication (BIER) packet, wherein packet header information of the BIER packet comprises a first keyed-hash message authentication code (HMAC) for verifying whether the BIER packet is a valid BIER packet;
determining, by the first network device, a second HMAC based on a first key and first information in the packet header information, wherein the first information indicates forwarding information of the BIER packet;
determining, by the first network device, whether the first HMAC is the same as the second HMAC; and
when the first network device determines that the first HMAC is different from the second HMAC, determining, by the first network device, that the BIER packet is an invalid BIER packet.