On September 16, 2026 at 7:45:30 PM, Jeffrey Haas wrote:
Jeff:
Hi!
I'm responding only to places where we could continue discussing, or to
confirm or clarify.
Thanks!
Alvaro.
...
> > The use of BfdAdminDown, for example in §8.3.1:
> >
> > =====
> > 8.3.1. Connect - Handling BfdAdminDown / BfdDisabled / BfdUp
> > In response to the BfdAdminDown event (Event 30), the BfdDisabled
> > event (Event 33), or the BfdUp event (Event 32) the the local system
> > checks to see if it is in the ConnectDelayOpenBfdUpPending sub-state.
> > If the FSM is in the ConnectDelayOpenBfdUpPending sub-state, the
> > local system:
> >
> > * sends a KEEPALIVE message,
> > ...
> > =====
> >
> > ...is not consistent with how strict-mode is defined: "BFD
"strict-mode"
> > operation as preventing BGP session establishment until both the local
and
> > remote speakers have an established BFD session." (from the
Introduction).
>
> The relevant operation here is that if we have negotiated strict mode,
but
> the operator disables bfd or the bfd session is moved to admin down
(caused
> operationally), the desire is to get out of the way and let the session
come
> up. I suspect you'd agree that's reasonable procedure.
>
> Your concern seems to be that the Introduction is insufficiently
normative
> about permitting strict mode's Up behavior to be bypassed by these
> conditions.
>
> Is it that you want those procedures to be added to the Introduction? If
so,
> how much of the entire FSM are you wanting to insist get copied to the
> Introduction to cover this detail? It'd make the document very short
> section-wise if the introduction was the entire document. :-)
>
> More tersely, what do you want to see in the Introduction to address this
> point?
You're right, we can't put everything in the Introduction.
However, the Introduction is the only place that provides an overview. So
you may need a section for that, or you can include it in §7 (Starting and
Stopping BFD Sessions Associated BGP BFD Strict-Mode).
The explanation ("operator disables...") is reasonable.
It opens a different attack surface: disabling BFD (rogue operator) would
leave these sessions without protection, causing longer convergence, lost
traffic, etc. It could also make maintenance/troubleshooting harder
because the system state is "inconsistent": it is configured for strict
mode, but BFD is disabled. [I read what you wrote about the Security
Considerations -- so I'm just writing this in for the record.]
...
> > 204 Status:
> > 205 Optional
> >
> > 207 Optional Attribute Status:
> > 208 The BfdEnabled attribute for this BGP session SHOULD be set to
> > 209 TRUE.
> >
> > [major] Setting BfdEnabled to TRUE when BFD is AdminDown doesn't make
sense
> > to me. Did you mean FALSE?
>
> The intent here is, effectively, "assert(BfdEnabled == TRUE)". We can't
get
> admin events unless bfd is configured for the session.
Yes, it does make sense.
...
> > 242 Event 34: BfdHoldTimerExpires
> > 243 Definition:
> > 244 The BFD holdtimer, which is set when the negotiated BGP hold
> > 245 time is zero, has expired.
> >
> > 247 Status:
> > 248 Optional
> >
> > 250 Optional Attribute Status:
> > 251 * The HoldTimer SHOULD NOT be running.
> >
> > 253 * The negotiated HoldTime SHOULD be zero.
> >
> > 255 * The BGP session state SHOULD be in Connect, Active, or
> > 256 OpenSent.
> >
> > [major] These 3 sentences sound like statements (expectations), not
> > normative actions, which makes the use of SHOULD/SHOULD NOT
inappropriate.
> > Is that the intent?
>
> See prior comment.
The difference here is that the text doesn't say, for example, that the
"HoldTimer SHOULD be stopped/reset" (an action, as in the other cases here
and in §8.1.2/rfc4271). Instead, it seems to make a statement.
> > 258 Event 35: BfdStrictConfigChanged
> > 259 Definition:
> > 260 The configuration for the BFD strict configuration for the BGP
> > 261 session has been changed.
> >
> > 263 Status:
> > 264 Optional
> >
> > 266 Optional Attribute Status:
> > 267 If BfdEnabled is FALSE, this event MUST NOT occur. When BFD
> > 268 has been disabled, the local system will trigger a BfdAdminDown
> > 269 event instead.
> >
> > [major] "this event MUST NOT occur"
> >
> > This fragment seems to be a statement of fact, not a Normative
requirement: s/MUST NOT/must not
>
> See prior comment. This is an assertion and the form of that assertion is
conditional.
I couldn't find a similar formulation in rfc4271. I understand the
conditional formulation. Help me understand: what are you specifying in
this sentence? I understand that if BfdEnabled is FALSE, then we should
never have the BfdStrictConfigChanged event. I don't understand the
Normative value of using "MUST NOT". I'm guessing the indication is that if
this event is somehow triggered while BfdEnabled is FALSE, then it's an FSM
error.
...
> > 1064 9. Closing BGP Sessions
> >
> > 1066 When BGP sessions are closed according to the procedures in this
> > 1067 document, the session SHOULD be terminated with a NOTIFICATION
> > 1068 message with the Cease Code (6) and the "BFD Down" Subcode (10);
see
> > 1069 [RFC9384]. This informs the operator that interaction with BFD is
> > 1070 the root cause of the BGP session being unable to move to the
> > 1071 Established state.
> >
> > [major] rfc9384 only considers using this NOTIFICATION when BFD goes
Down,
> > but this document adds other reasons. IMO, this document should
explicitly
> > Update rfc9384.
>
> Perhaps this paragraph prior to the above?
> This document updates with
> additional conditions which the "BFD Down" subcode will be sent. That
> RFC previously only included the condition of a BFD session going into
> the Down state.
>
> And also the change of status for the updated RFC.
WFM
> > 1073 10. Stability Considerations
> > ...
> > 1082 To avoid deadlock when utilizing both BFD hold-down and BFD
strict-
> > 1083 mode, when strict-mode is enabled for a peer, the BGP FSM MUST be
> > 1084 enabled. That is, BFD hold-down procedures MUST NOT prevent BGP
from
> > 1085 establishing a connection with the remote BGP speaker.
> >
> > [major] "BGP FSM MUST be enabled"
> >
> > What does this mean? Isn't the BGP FSM enabled whenever BGP runs? I see
no
> > interoperability requirement to use "MUST".
>
> There is some imprecision (hah!) in the BGP FSM covering this point. See
in
> particular the various *Start/*Stop Events and also, in particular, RFC
4271
> Section 8.2.2 covering the Idle state and the *Start events.
>
> When we've received a Start event, the FSM is initialized for a
configured
> session.
> When we've received a Start event with Passive establishment, the FSM is
> loosely initialized for the listen socket.
>
> The condition section 10 is attempting to deal with is the connection
> covering the related BFD session for that connection must have its FSM
> enabled and running - namely a Start event of some sort must have been
done.
>
> While this seems to hint that text could be written, this would mean
> normatively defining a BGP BFD Holddown feature, which is out of scope of
the
> document. In particular, it'd involve defining the various interactions
with
> FSM instantiation (not clearly specified in RFC 4271) for individual
sessions
> and its interaction with Start and Stop events of various sorts.
>
> The requirement here is that no matter how we implement hold down, the
BGP
> session needs to be able to move forward and not wait for BFD itself to
get
> started.
>
> Given this, what text do you want to see instead? And I'd warn against
trying
> to simply make this about the FSM for a given connection instance since
not
> all implementation work that way either.
<sigh>
I get where you're coming from, but I also worry that we continue carrying
issues down a rabbit hole that compounds them...and that the institutional
knowledge is not well-known. We'll eventually get to a point where it'll be
too hard/impossible to track things back. :-(
I don't understand the FSM well enough to even say I can help untangle it
(with others)...
...
> > 1093 It is RECOMMENDED that the BFD hold-down intervals used with BFD
> > 1094 strict-mode, when configured, use similar values. Similarly, the
> > 1095 negotiated BGP holdtime SHOULD be long enough to account for the
time
> > 1096 between the BGP FSM reaching the OpenConfirm state, the BFD
hold-down
> > 1097 interval, and any delay for the BFD session being initiated.
Failure
> > 1098 to do so can result in the BGP speaker that has transitioned to
the
> > 1099 Established state expiring its BGP holdtime and closing the
> > 1100 connection. This is because the remote BGP speaker hasn't
> > 1101 transitioned to Established and begun sending KEEPALIVE messages.
> >
> > [major] "RECOMMENDED that the BFD hold-down intervals used with BFD
strict-
> > mode, when configured, use similar values"
...
> In the absence of fully specified hold-down procedures (out of scope),
how
> could we know this should be a MUST?
In the absence of fully specified hold-down procedures, how could we even
RECOMMEND something? ;-)
IMHO Normative language shouldn't be used if there's no specification to
point at…
_______________________________________________
Rtg-bfd mailing list -- [email protected]
To unsubscribe send an email to [email protected]