Hi,

I have observed an incorrect behavior in BFD code of VPP.
I have brought BFD session UP between VPP and peer router.
Due to interface shutdown on peer router BFD session on VPP goes to DOWN state.
Once it goes to DOWN state, it is continuously sending control packets using 
its old remote discriminator in its control packet's "Your Discriminator" field.
This is a wrong behavior. Below RFC section tells that once BFD goes DOWN due 
to non-receipt of BFD control packet, "Your Discriminator" field should be set 
to zero.

RFC 5880 6.8.1 ( https://tools.ietf.org/html/rfc5880#section-6.8.1 ). State 
Variables

  bfd.RemoteDiscr

     The remote discriminator for this BFD session.  This is the
     discriminator chosen by the remote system, and is totally opaque
     to the local system.  This MUST be initialized to zero.  If a
     period of a Detection Time passes without the receipt of a valid,
     authenticated BFD packet from the remote system, this variable
     MUST be set to zero.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15193): https://lists.fd.io/g/vpp-dev/message/15193
Mute This Topic: https://lists.fd.io/mt/69820780/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to