Reflections on new state machine

"Chris Nogradi" <cnogradi@laurelnetworks.com> Thu, 24 March 2005 16:24 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA29449; Thu, 24 Mar 2005 11:24:40 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1DEVEB-0000Yj-Nx; Thu, 24 Mar 2005 11:30:36 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DEV7H-000615-43; Thu, 24 Mar 2005 11:23:27 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DEV7F-00060x-Vn for rtg-bfd@megatron.ietf.org; Thu, 24 Mar 2005 11:23:26 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA29301 for <rtg-bfd@ietf.org>; Thu, 24 Mar 2005 11:23:23 -0500 (EST)
Received: from paperclip.laurelnetworks.com ([63.94.127.69] ident=nobody) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1DEVCw-0000V5-AG for rtg-bfd@ietf.org; Thu, 24 Mar 2005 11:29:19 -0500
Received: from postit.laurelnetworks.com (postit.laurelnetworks.com [63.94.127.21]) by paperclip.laurelnetworks.com (Laurel/Laurel) with ESMTP id j2OGNMLp026501; Thu, 24 Mar 2005 11:23:22 -0500
Received: from sherlock.pit.laurelnetworks.com (washer.pit.laurelnetworks.com [10.0.0.46]) by postit.laurelnetworks.com (Laurel/Laurel) with ESMTP id j2OGNMtI000403; Thu, 24 Mar 2005 11:23:22 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 24 Mar 2005 11:23:05 -0500
Message-ID: <44467058B41F7E4CB6305769819D5E631DF274@SHERLOCK.pit.laurelnetworks.com>
Thread-Topic: Reflections on new state machine
Thread-Index: AcUwjcIld3EUNo8LSEOjFtYUxCz1yA==
From: Chris Nogradi <cnogradi@laurelnetworks.com>
To: dkatz@juniper.net
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Content-Transfer-Encoding: quoted-printable
Cc: rtg-bfd@ietf.org
Subject: Reflections on new state machine
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
Sender: rtg-bfd-bounces@ietf.org
Errors-To: rtg-bfd-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0bc60ec82efc80c84b8d02f4b0e4de22
Content-Transfer-Encoding: quoted-printable

Dave,
 
section 6.7.6 of the new base document (v2) reads:
 
      If received state is AdminDown
          If bfd.SessionState is not Down
              Set bfd.LocalDiag to 3 (Neighbor signaled session down)
              Set bfd.SessionState to Down

      Else
          If bfd.SessionState is AdminDown
              Discard the packet
 
shouldn't the local state remain AdminDown even if the received state is AdminDown?
 
Two other observations:
1. we remain indefinitely in the init state if peer keeps sending down state since packet is not discarded and timer is reset
2. we remain in the up state if the peer keeps sending init state since packet is not discarded and timer is reset
The first seems to be ok but the second does not seem right?
 
Thanks,
 
Chris