RE: bfd-unsolicited, possible RFC 5880 ambiguity for passive mode

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Wed, 02 March 2022 20:39 UTC

Return-Path: <ginsberg@cisco.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 656483A0C9E; Wed, 2 Mar 2022 12:39:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level:
X-Spam-Status: No, score=-9.605 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=h02EprmJ; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=jGke394N
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aD36kdhehLJb; Wed, 2 Mar 2022 12:39:01 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4BF03A0C88; Wed, 2 Mar 2022 12:39:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4252; q=dns/txt; s=iport; t=1646253541; x=1647463141; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=RNsY/m0FipJ29vkhkLV5tSiAP506GcYk+o6xbIRUqII=; b=h02EprmJNSng8LO9W921JLo57eemZk8X/0nRCYAMYAx0FyELyuaHlql5 7cOZr3oM+EZ7BOUXA44ma8KWEScLFJEhWJY+bHZp7T5c97Px613kCe/zE /MCzjyiPuYoUhXYPdOfiqx1vDXOOB64C3zmOrNOW47ktY20vH/FzkfOIm I=;
IronPort-PHdr: A9a23:HOmDSRWsj+RpOgTDx+VRvyQu4LLV8K36AWYlg6HPw5pCcaWmqpLlOkGXpfBgl0TAUoiT7fVYw/HXvKbtVS1lg96BvXkOfYYKW0oDjsMbzAAlCdSOXEv8KvOiZicmHcNEAVli+XzzMUVcFMvkIVPIpXjn5j8JERK5Pg1wdYzI
IronPort-Data: A9a23:ixWktapAEXSpn76+LBz6bsZIQvBeBmLTZxIvgKrLsJaIsI4StFCztgarIBmBOfiMZTGmed11O9m3pkhXuZSAm4dlQVE6rSxmQiwao+PIVI+TRqvS04x+DSFioHqKZKzyU/GYRCwPZiKa9kfF3oTJ9yEmj/nSHuOkUYYoBwgoLeNaYHZ54f5cs7ZRbr5A2bBVMivV0T/Ai5S31GyNg1aYBlkpB5er83uDihhdVAQw5TTSbdgT1LPXeuJ84Jg3fcldJFOgKmVY83LTegrN8F251juxExYFENiplPPwdVcHB+KUNgmVgX0QUK+n6vRAjnVtieBga7xNMgEO1mjhc9NZkL2hsbS/SAEyNKDWl8wWUgJTFGd1OqguFLrvfiPl4JLNlRaWG5fr67A0ZK0sBqUU4O95HSRP+OAWbToDYlWegfmxxLOwS/VhiuwiIdXleoQFtRlI1y3WSPwoTbjCTrnEo9hC018YhMBHFO32f8QDYnxodhuoXvHlEj/7E7okl+uuw3L4aTAd9BSepLE85C7YywkZ7VQkC/KNEvTieCmfth/wSrr6wlnE
IronPort-HdrOrdr: A9a23:KVHOxax9VjfdcLH8ZwH1KrPxgOskLtp133Aq2lEZdPULSK2l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;i="5.88,333,1635206400"; d="scan'208";a="732966238"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 02 Mar 2022 20:39:00 +0000
Received: from mail.cisco.com (xbe-aln-004.cisco.com [173.36.7.19]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 222Kd0Fe025569 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 2 Mar 2022 20:39:00 GMT
Received: from xfe-rcd-005.cisco.com (173.37.227.253) by xbe-aln-004.cisco.com (173.36.7.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 2 Mar 2022 14:39:00 -0600
Received: from xfe-aln-002.cisco.com (173.37.135.122) by xfe-rcd-005.cisco.com (173.37.227.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 2 Mar 2022 14:38:59 -0600
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (173.37.151.57) by xfe-aln-002.cisco.com (173.37.135.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Wed, 2 Mar 2022 14:38:59 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OhWq8rtS6e7nEHFzGKbuNp+iQ6f/omVZFv+cAHI7YdBKikMnLzMAnRO3sFIMFWa21GFY6gKznVFMCLTf+3FnvmGt96DSu2wGEIEJNxSSaUPecjxjqG9PgZNqoyWGe+r1QisGblQCzNcCNv6xK34TGSdkc+tl4ZmCnG40R6SeJ3fSwmjT98GOu94qI3KriA01gaHYXFG2vYoxhFmAznnRit4RyAqO8AcekS0p9JDb5cV31eqIQV5L7muzymnoMtxVTttIA6EaS0gQoSEHfXLrUHNyxHjGF75Vp86/gneSp/EfcdL5whNGthIoC0KrK5WM4QtY0a6iDmDtrpEms6KPbQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XGFo7sPw32oo31TsUf5hkDQ4HmowGOgOErmk+sTWeI8=; b=hwn7fjaw9uO4FndYMxSHCh6qlenhL7sTLQSciIwh/GmVnfNYQDee8S+e1m/OuWQx6TbPe8Ext/4gvrf5LhLNwHNLjISk5iPTAK6oKPwSjMZFCUnLNqickS+PWn4j6Hpvxcry4f9B/ILExU13xQUHnv7rBGdpwrl0/mABe0HfS40snT66GU4mEXlo97dqYCq9aPxOkfFcUKCOZvj4kj+Qwgy2UvMJ2S1nybvniuLZ3bgM/5XxBlrkTvRz4HlyM9MWgsqRhmwVZZpGwJZmUDdpKCgt0a+k1HyEXZVv7dcyQiiTZe+9aYbed8CI9rxkrGuepmXdbA43ztd6aDqDm5KtCw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XGFo7sPw32oo31TsUf5hkDQ4HmowGOgOErmk+sTWeI8=; b=jGke394NX7CbWaOB2bfOIFkHPAHWbP8BKScr5FWUDtLiUOvz+RSqimEKegoWlqX4oDKRwQgJC/142BNDiYd9SRePowaOmWmRQIR28iESIQ2HB6VtFOGZH4M3NWTcw1f6ePgO5Cecq8ThpVWb1bvRKu1x5a+wH/2UNHXzAeP0q4Y=
Received: from BY5PR11MB4337.namprd11.prod.outlook.com (2603:10b6:a03:1c1::14) by MWHPR1101MB2239.namprd11.prod.outlook.com (2603:10b6:301:5b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.25; Wed, 2 Mar 2022 20:38:58 +0000
Received: from BY5PR11MB4337.namprd11.prod.outlook.com ([fe80::e5e9:b7d1:1f45:29ee]) by BY5PR11MB4337.namprd11.prod.outlook.com ([fe80::e5e9:b7d1:1f45:29ee%4]) with mapi id 15.20.5038.015; Wed, 2 Mar 2022 20:38:58 +0000
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: Jeffrey Haas <jhaas@pfrc.org>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
CC: "draft-ietf-bfd-unsolicited@ietf.org" <draft-ietf-bfd-unsolicited@ietf.org>
Subject: RE: bfd-unsolicited, possible RFC 5880 ambiguity for passive mode
Thread-Topic: bfd-unsolicited, possible RFC 5880 ambiguity for passive mode
Thread-Index: AQHYLmhlihQxpbxj+U2l4VG6t1T9S6ysiR9g
Date: Wed, 02 Mar 2022 20:38:58 +0000
Message-ID: <BY5PR11MB433730112E0FEED3F6D371ACC1039@BY5PR11MB4337.namprd11.prod.outlook.com>
References: <20220302190431.GI13378@pfrc.org>
In-Reply-To: <20220302190431.GI13378@pfrc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 602ad89d-9215-459e-9424-08d9fc8cad38
x-ms-traffictypediagnostic: MWHPR1101MB2239:EE_
x-microsoft-antispam-prvs: <MWHPR1101MB22396AD4C2BE757FD4520ED1C1039@MWHPR1101MB2239.namprd11.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: djT+B2sVQxy7pAMzfTYF9lFPOAa8lMW7fbuob7lWbJvVVNqouDbYtlKr+uYHPerLrURlXwsaY4NMWUR2yf0nxbY5Mf7IStGVoEqDfUsGJCktvf0wI5Y4H1uAtrdRxUaBCRB/UHvev3mnvmYP7vt1tTfbMCQfPzcie66htjk+6hSvCLDihiXn3w3zpoAjkwWzcsojLOXWwSCwgsI6IEdbGmQIV6uhlQJHS9ocuUdg8ljCqVkjDlfIMfu+F15nbhELR1jujCA4mY806cV8XizzM6VrbQCOTfuIeq0POdBCmkSICxZFV4Wvi0BmgZ/JzH5PAoLeNRBKaNoI8Vng4bdHxoxJ1DW6T0ptIkNxAX8ruOizX2dKayEdes+H1oQfneT5f12PdrI24qFgO697m37Y8dkn+R1p5mbwQq7GTz08LLFZgLqvs1++JtDmWmIe1trzqIEFDTzuYqA1mlxxxrUys39frxJiD00sLforraPDweSrG7Gi3fzKrCLpJeKUmdHuyqAXp9A29WKj2Cvx8FN4/5JC+QSPPLkAq4cnoBEF6edisBhg4B1/MjPytIb6HzTEipIVM3hn38f70J0YsGKuGXm1RqwKK0T5tyQgIwBg4ngScbSuQrC7gV8Df7SVOIkNx3zxr8o72jNC/uCTbwQtURpqfW9Sr5eKIklLiUcocC+nC7q3umSsJX1K4QT9r4LQ4bHOoCDGd9SKrgs4slqCbg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4337.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(316002)(86362001)(52536014)(5660300002)(110136005)(38100700002)(83380400001)(8676002)(64756008)(122000001)(4326008)(66946007)(76116006)(66446008)(66476007)(66556008)(55016003)(7696005)(186003)(9686003)(6506007)(71200400001)(38070700005)(33656002)(8936002)(2906002)(53546011); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: yP99GFp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NfdvTxfwqs5V8VWcbJ2drzjX6z2tRk8tjtdp3OVQuVZjOQi8AZtGMvvg6K1gNdvmBNK/uNod2eXWWeh95iOVL+/Vu9IDUkxglVJXCVR+t3v5EhUJRr9BdIWZFCAp2R05dhCsbIRoIaKKbx7WFws1Ma/XEZKkWRRcR+TP7Cy3lce9f0A1JjWynZD3rYLOwuHaFVJxof7cYqDlF6Dn2A0jv2kXh/FpklJW5EN7UYYpk99rZImBWmjfEWh1llE6qMoCVYutAqiTsEa2g7mTRdqnBPAGM8y74n2ZxG+C581YdI3rK2xVvcrSpfZDFP2Fw4oD5NERBgftpvDIoyFHkORWld8RjxIUuWOzlF2Lcmu6CS5dJQgwkeQRj1lCTBB4ahtSs+IGnlXt13z59E3m1ijs401d9M4MGdzuc9v6w281N89NV73pyfDKEo7Sw5qU8ux7l58bt2U5zf1GeHpPQQhKjpsRVM7oaWr6chUfBelQhb9BvSeryud6dQOl0OwGCovlNrYqpD7UQFfTSG0C0pe9YBLZxcCQsfDF3T16FyRJ25BhlfvCFUgL1dD1oyJAzMN6Tj3DH/3DcI8wkF8D/ZCQeysjd4ypguMI3I=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4337.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 602ad89d-9215-459e-9424-08d9fc8cad38
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2022 20:38:58.0329 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: E5UanHHVdo4UMY142n8nzNox09ibs0grOYMLjj2NykzB4QhcHeTD85Lqde4ESy9520RE3mB+jLo+wJWxNU1AFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2239
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.19, xbe-aln-004.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/ZpjgeqSV0MXT4rnrkAtwLdyMmMM>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Mar 2022 20:39:07 -0000

Jeff -

I don't know for certain what our implementations do, but I will hazard a guess that for any platform where BFD is supported in hardware that the hardware is unaware of passive mode. It will simply continue to send DOWN packets until the control plane destroys the BFD session. Which likely means multiple DOWN packets will be sent (depending on the TxInterval in use) even when in passive mode - which is actually the behavior that is desired.

You could file an errata and specify that even in Passive mode some minimum # of DOWN packets should be sent (or for some minimum duration), but I suspect in practice this wouldn't result in an implementation change because (as I indicated above) I would be surprised if hardware implementations are aware of passive mode.

For me, the intent of the statement:

" A system MUST NOT transmit BFD Control packets if bfd.RemoteDiscr is
   zero and the system is taking the Passive role."

is as a means of implementing passive mode for the session bringup (as you mention below). And I would argue that transmitting multiple DOWN packets following a DOWN transition doesn't violate the "spirit" of RFC 5880.

I won't argue the pedantic points.

   Les


> -----Original Message-----
> From: Rtg-bfd <rtg-bfd-bounces@ietf.org> On Behalf Of Jeffrey Haas
> Sent: Wednesday, March 2, 2022 11:05 AM
> To: rtg-bfd@ietf.org
> Cc: draft-ietf-bfd-unsolicited@ietf.org
> Subject: bfd-unsolicited, possible RFC 5880 ambiguity for passive mode
> 
> Working Group,
> 
> Greg Mirsky brought to our attention that we may have an undefined edge
> case
> covering Passive mode in RFC 5880.  This discussion is partially a result of
> prior analysis about Demand mode, but Demand mode is not the relevant
> detail
> here.
> 
> Presuming Greg's observation is correct, this is at least deserving an Errata.
> 
> Copying selectively from the thread with Greg:
> 
> RFC 5880, §6.1:
> :   A system taking the
> :   Passive role MUST NOT begin sending BFD packets for a particular
> :   session until it has received a BFD packet for that session, and thus
> :   has learned the remote system's discriminator value
> 
> Passive governs the initial connection.  A system desiring to be passive
> can't fully go back to being passive until signaling to the remote system
> sufficiently to take the session to the Down state.
> 
> RFC 5880 §6.8.7:
> :   A system MUST NOT transmit BFD Control packets if bfd.RemoteDiscr is
> :   zero and the system is taking the Passive role.
> 
> We have a session that's transitioning, the RemoteDiscr was known, but
> procedure says to clear it:
> 
> RFC 5880 §6.8.1:
> :   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.
> 
> So, without a deep comb-through of the RFC to find something that causes
> us
> to send Down "long enough", passive mode could indeed imply with
> pedantic
> reading of the RFC that you'd not do work that lets the remote take the
> state down.  (See the Daves' caveat about excess pedantry.)
> 
> The obvious thing to do here is that we need to send packets in the Down
> state for some period.  The reasonable question is, how long?  And even if
> we provide a length of time, the obvious point is "is that long enough?"
> 
> Since Demand mode isn't a core scenario for the bfd-unsolicited draft, we
> don't have the unfortunate circumstance that reporting the BFD state is
> difficult.  A session that was Up minimally in the presence of such pedantic
> behavior would simply go Down at the Active side once the Detection
> Interval
> expired.
> 
> Since bfd-unsolicited has implementations, what do YOUR implementations
> do?
> 
> One option would be to transmit Down for at least DetectMult number of
> packets.
> 
> -- Jeff