VERIFICATION METHOD AND NODE FOR BIDIRECTIONAL FORWARDING DETECTION SESSION
First Claim
Patent Images
1. A verification method for a bidirectional forwarding detection BFD session, comprising:
- generating a first random number, adding the first random number to a first BFD control packet, and sending the first BFD control packet added with the first random number to a remote node;
receiving a second BFD control packet sent by the remote node, and obtaining and saving a second random number generated by the remote node in the second BFD control packet; and
in subsequent communication, sending a random number pair formed of the first random number and the second random number, or a third random number generated according to the first random number and the second random number, along with a packet, so as to implement freshness verification of the packet subsequently.
1 Assignment
0 Petitions
Accused Products
Abstract
A verification method and node for a BFD session relate to the field of communications technologies. The method includes: adding, by an initiating node, a first random number to a first BFD control packet and sending the first BFD control packet to a remote node; obtaining and saving, by the remote node, the first random number in the received first BFD control packet; adding, by the remote node, a second random number to the received first BFD control packet and sending the first BFD control packet to the initiating node; and obtaining and saving, by the initiating node, the second random number in the received second BFD control packet.
-
Citations
11 Claims
-
1. A verification method for a bidirectional forwarding detection BFD session, comprising:
-
generating a first random number, adding the first random number to a first BFD control packet, and sending the first BFD control packet added with the first random number to a remote node; receiving a second BFD control packet sent by the remote node, and obtaining and saving a second random number generated by the remote node in the second BFD control packet; and in subsequent communication, sending a random number pair formed of the first random number and the second random number, or a third random number generated according to the first random number and the second random number, along with a packet, so as to implement freshness verification of the packet subsequently. - View Dependent Claims (2, 3)
-
-
4. An initiating node, comprising:
-
a first generating module, configured to generate a first random number; a first adding and sending module, configured to add the first random number generated by the first generating module to a first bidirectional forwarding detection BFD control packet, and send the first BFD control packet added with the first random number to a remote node; a first receiving and obtaining module, configured to receive a second BFD control packet sent by the remote node and obtain a second random number generated by the remote node in the second BFD control packet; and a first saving and verification module, configured to save the second random number generated by the remote node and obtained by the first receiving and obtaining module. - View Dependent Claims (5, 6)
-
-
7. A verification method for a bidirectional forwarding detection BFD session, comprising:
-
receiving a first BFD control packet sent by an initiating node, and obtaining and saving a first random number generated by the initiating node in the first BFD control packet; generating a second random number, adding the second random number to the received first BFD control packet, and sending the first BFD control packet added with the second random number to the initiating node; and in subsequent communication, sending a random number pair formed of the first random number and the second random number, or a third random number generated according to the first random number and the second random number, along with a packet, so as to implement freshness verification of the packet subsequently. - View Dependent Claims (8)
-
-
9. A remote node, comprising:
-
a second receiving and obtaining module, configured to receive a first bidirectional forwarding detection BFD control packet sent by an initiating node and obtain a first random number generated by the initiating node in the first BFD control packet; a second saving and verification module, configured to save the first random number generated by the initiating node and obtained by the second receiving and obtaining module; a second generating module, configured to generate a second random number; and a second adding and sending module, configured to add the second random number generated by the second generating module to the received first BFD control packet, and send the first BFD control packet added with the second random number to the initiating node. - View Dependent Claims (10)
-
-
11. An apparatus comprising:
-
an initiating node; and a remote node, wherein; the initiating node is configured to generate a first random number, to add the first random number to a first bidirectional forwarding detection BFD control packet, to send the first BFD control packet added with the first random number to the remote node, to receive a second BFD control packet sent by the remote node and obtain a second random number generated by the remote node in the second BFD control packet, and to save the second random number generated by the remote node, and the remote node is configured to receive the first bidirectional forwarding detection BFD control packet sent by the initiating node, obtain the first random number generated by the initiating node in the first BFD control packet, to save the first random number generated by the initiating node, generate the second random number, to add the second random number to the received first BFD control packet, and send the first BFD control packet added with the second random number to the initiating node.
-
Specification