Dear BFD WG and authors,
While comparing Holo, FRR, and GoBFD, we observed two differences in how these
implementations handle Poll Sequences. We would appreciate the working group's
guidance on the intended behavior in each case.
1. Should a receiver in AdminDown respond to a Poll?
Section 6.8.6 specifies the order in which a receiver processes a BFD Control
packet:
When a BFD Control packet is received, the following procedure MUST be
followed, in the order specified. If the packet is discarded according to
these rules, processing of the packet MUST cease at that point.
The check on the local session state precedes the Poll-response step:
If bfd.SessionState is AdminDown
Discard the packet
The Poll-response step appears later in the same section:
If the Poll (P) bit is set, send a BFD Control packet to the remote system
with the Poll (P) bit clear, and the Final (F) bit set (see section 6.8.7).
Section 6.8.7 specifies the receiver's obligation to send a Final:
If a BFD Control packet is received with the Poll (P) bit set to 1, the
receiving system MUST transmit a BFD Control packet with the Poll (P) bit clear
and the Final (F) bit set as soon as practicable, without respect to the
transmission timer or any other transmission limitations, without respect to
the session state, and without respect to whether Demand mode is active on
either system.
Under the ordering in Section 6.8.6, a receiver whose local session is in
AdminDown discards the packet before reaching the Poll-response step. Section
6.8.7, however, says that the receiver must send a Final "without respect to
the session state."
We observed both behaviors. When the local session was in AdminDown, Holo
discarded the Poll without sending a Final. FRR and GoBFD each sent a Final.
Does the requirement in Section 6.8.7 apply to a Poll that Section 6.8.6
discards solely because the receiver's local session is in AdminDown, or does
it apply only to a Poll that reaches the Poll-response step?
2. What happens to an outstanding Poll Sequence when the initiator transitions
from Up to Down?
Section 6.5 describes how a Poll Sequence ends on receipt of a Final:
When the system sending the Poll sequence receives a packet with Final, the
Poll Sequence is terminated, and any subsequent BFD Control packets are sent
with the Poll bit cleared.
Section 6.8.6 gives the corresponding reception rule:
If a Poll Sequence is being transmitted by the local system and the Final
(F) bit in the received packet is set, the Poll Sequence MUST be terminated.
Our question concerns a sequence that is still outstanding when the initiator
transitions from Up to Down, before it receives a Final. We could not find an
instruction in either section on how to handle the sequence at that transition.
We observed that FRR cleared the outstanding Poll Sequence when the session
went Down. Holo retained the sequence and continued sending BFD Control packets
with P=1 while Down. In the test where the peer was administratively disabled
and then re-enabled, both endpoints returned to Up approximately 0.3 seconds
after re-enablement, and the pending interval change took effect.
When the initiator transitions from Up to Down before receiving a Final, should
it clear the outstanding Poll Sequence, retain it, or is either behavior
permitted?
Would the working group consider clarifying these two cases in RFC 5880bis?
Best regards,
Zhi Zheng
Wuhan University
_______________________________________________
Rtg-bfd mailing list -- [email protected]
To unsubscribe send an email to [email protected]