RE: Request for WG adoption of draft-mahesh-bfd-authentication

Gregory Mirsky <gregory.mirsky@ericsson.com> Tue, 24 November 2015 06:46 UTC

Return-Path: <gregory.mirsky@ericsson.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A85571A0060; Mon, 23 Nov 2015 22:46:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.201
X-Spam-Level:
X-Spam-Status: No, score=-104.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham
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 UL7AKy6U4Cj3; Mon, 23 Nov 2015 22:46:42 -0800 (PST)
Received: from usevmg20.ericsson.net (usevmg20.ericsson.net [198.24.6.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6C1E1A0051; Mon, 23 Nov 2015 22:46:42 -0800 (PST)
X-AuditID: c618062d-f799d6d000000ec2-9f-5653b5f474bd
Received: from EUSAAHC004.ericsson.se (Unknown_Domain [147.117.188.84]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 19.AA.03778.4F5B3565; Tue, 24 Nov 2015 01:57:24 +0100 (CET)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC004.ericsson.se ([147.117.188.84]) with mapi id 14.03.0248.002; Tue, 24 Nov 2015 01:46:41 -0500
From: Gregory Mirsky <gregory.mirsky@ericsson.com>
To: Dacheng Zhang <dacheng.zdc@alibaba-inc.com>, Marc Binderberger <marc@sniff.de>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "draft-mahesh-bfd-authentication@ietf.org" <draft-mahesh-bfd-authentication@ietf.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
Subject: RE: Request for WG adoption of draft-mahesh-bfd-authentication
Thread-Topic: Request for WG adoption of draft-mahesh-bfd-authentication
Thread-Index: AQHRI4t1BhxwWi4DrkqzzQbDKMhgLp6mm9wAgARy5ID//66DQA==
Date: Tue, 24 Nov 2015 06:46:40 +0000
Message-ID: <7347100B5761DC41A166AC17F22DF11221947B4A@eusaamb103.ericsson.se>
References: <D2747638.109021%rrahman@cisco.com> <20151121022956672568.a3e4948f@sniff.de> <D27A1EEE.300E7%dacheng.zdc@alibaba-inc.com>
In-Reply-To: <D27A1EEE.300E7%dacheng.zdc@alibaba-inc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsUyuXRPiO6XrcFhBmdfKVtMfn6W0eJG3wx2 i9lX/jNbXFvRym7x+c82Rovpe6+xO7B5THz7kcVjyu+NrB5ru6+yeSxZ8pPJo3V1N0sAaxSX TUpqTmZZapG+XQJXxv/nDYwFLxQrLp/by9jAuEG6i5GTQ0LAROLH3FfMELaYxIV769m6GLk4 hASOMErs+NDKCOEsZ5R4f/s+I0gVm4CRxIuNPewgtohAP5PE9FfuIDazgKZE04nPYHFhAXeJ Zz+2QtV4SBzbvIQNwnaS2H7mAJjNIqAqce7cAbCZvAK+EkvP/YDa3MkocePTVSaQBKeApcS9 KZ/AGhiBzvt+ag0TxDJxiVtP5jNBnC0gsWTPeagXRCVePv7HCmErSUxaeo4Vol5fYs/EUywQ trbEsoWvmSEWC0qcnPmEZQKj2CwkY2chaZmFpGUWkpYFjCyrGDlKi1PLctONDDYxAuPtmASb 7g7GPS8tDzEKcDAq8fB+0AwOE2JNLCuuzD3EKMHBrCTCu/wVUIg3JbGyKrUoP76oNCe1+BCj NAeLkjjv/iX3Q4UE0hNLUrNTUwtSi2CyTBycUg2MmpZ3Wv/Uft1yhPnbFQ2/09ufr9/3tHp+ wIWUD0kHFO7ufPukXrLTl3u/kmfmsn9HzvNY/zCaWrlphlBI+e4Q5hNOjuZ8TWYpK/KNuI/3 z8x4sme7bue6NyfWXdx+SFXx8OeQJdH525sio14bR7hua7E7K32Y3Yavcu1O5Urvmser/qRO WBOrrsRSnJFoqMVcVJwIAIOv/AezAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-bfd/DBe9aBL90DPjd90jWw0Dlu_F2uI>
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 24 Nov 2015 06:46:44 -0000

Dear All,
I'd like to share comment by Security AD Stephen Farrell on a work that is directly related to BFD, draft-ietf-mpls-lsp-ping-mpls-tp-oam-conf (hope it is OK to raise security awareness in BFD community):

> - 2.1.1, is there any chance of moving on from the "Keyed SHA1"
> 
> from RFC5880 to e.g. HMAC-SHA256 for this? We're generally trying to 
> get that kind of transition done as we can and moving to use of a 
> standard integrity check rather than a more home-grown one has some 
> benefits. The HMAC-SHA1-like thing you're doing is still probably ok, 
> (though could maybe do with crypto eyeballs on it as there may have 
> been relevant new results since 2010) but future-proofing would 
> suggest moving to HMAC-SHA256 if we can. (I can imagine such a change 
> might require a new document, but am asking anyway:-)
> 
> GIM>> The fact is that we're bound by what is defined in RFC 5880.

I wonder for how long though, that's now a five year old RFC.
Assuming it takes a few years for new deployments to pick up new algorithms, isn't it time that a whole bunch of algorithm choices were revisited?

> There was a proposal to strengthen BFD security BFD Generic 
> Cryptographic  Authentication<http://tools.ietf.org/html/draft-bhatia-bfd-crypto-auth-03> but the document had expired.

Pity that.

> - 2.1.1, I'd recommend saying any password auth-type MUST NOT be used - would that be possible?
> 
> GIM>> I think that we’ll need to make changes to RFC 5880 first (5880bis?). 

I don't see any reason why that is true. This document can easily say "you MUST NOT use the horribly weak option specified in that old RFC" with changing that old RFC.

The point? It may be sacrificing security for sake of performance may be not the better choice. I can rationalize such choice for BFD over LSP, micro-BFD as these effectively monitor not Layer 3 but Layer 2.5 and Layer 2 entities respectively. I would not support such choice for multi-hop BFD. Single-hop BFD? Open for discussion.

	Regards,
		Greg

-----Original Message-----
From: Rtg-bfd [mailto:rtg-bfd-bounces@ietf.org] On Behalf Of Dacheng Zhang
Sent: Monday, November 23, 2015 10:26 PM
To: Marc Binderberger; Reshad Rahman (rrahman); draft-mahesh-bfd-authentication@ietf.org
Cc: rtg-bfd@ietf.org
Subject: Re: Request for WG adoption of draft-mahesh-bfd-authentication

Hi,I think this is an interesting draft. It is quite common that we have make a trade off between performance and security. Support for the adoption. ^_^

Some comments and questions:
1) discuss which types of frames MUST be authenticated and which ones SHOULD be authentication.
2) There is a discussion about how the sequence number should be increased in RFC5880, maybe you could follow that one and so avoid any unnecessary confusion.
3) Q: since in this solution, only a small number of frames need to be authenticated, maybe we could consider again to use SHA-2 since the influence in the performance brought by the strong algorithms will no longer be that serious.
4) Q: do you plan to propose a negotiation mechanism for the peers to decide the frames which should be authenticated? If not, please clarify this part of work is out of scope.

Cheers

Dacheng

在 15-11-21 下午6:29, "Rtg-bfd on behalf of Marc Binderberger"
<rtg-bfd-bounces@ietf.org on behalf of marc@sniff.de> 写入:

>Hello Reshad and authors (and BFD experts on the list),
>
>it's a smart idea so I support the WG support ;-)
>
>But reading the document: it's at this point mainly outlining an idea 
>and I would expect more details to allow for interoperable 
>implementations.
>
>
>Regards, Marc
>
>
>
>
>
>On Fri, 20 Nov 2015 12:03:25 +0000, Reshad Rahman (rrahman) wrote:
>> BFD WG members,
>> 
>> Please indicate to the WG mailing list whether you would support or 
>> not support BFD WG adoption of the following document.
>> 
>> https://datatracker.ietf.org/doc/draft-mahesh-bfd-authentication/
>> 
>> Authors, as was mentioned at IETF94, you should get your proposal 
>>reviewed  by the security group.
>> 
>> Regards,
>> Jeff & Reshad.