Re: Mirja Kühlewind's Discuss on draft-ietf-bfd-multipoint-18: (with DISCUSS)

"Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net> Mon, 09 July 2018 14:28 UTC

Return-Path: <ietf@kuehlewind.net>
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 9808F130E2F for <rtg-bfd@ietfa.amsl.com>; Mon, 9 Jul 2018 07:28:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level:
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (1024-bit key) header.from=ietf@kuehlewind.net header.d=kuehlewind.net
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 fdrQFJ3HPfHy for <rtg-bfd@ietfa.amsl.com>; Mon, 9 Jul 2018 07:28:07 -0700 (PDT)
Received: from kuehlewind.net (kuehlewind.net [83.169.45.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9CFE130DC4 for <rtg-bfd@ietf.org>; Mon, 9 Jul 2018 07:28:06 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kuehlewind.net; b=bVO1yUNMZzsXceLNklWNlJ24peuJDUK2y3eDJ+Vt8phXT58pniQaMWexOl7cVhzUXGy7Cp7cNixfDHianAzcPBNQkKPZIq3IchdPDlmosTTZJzonAKCCzPHA6GByvDGzL4V2ml3h91zSiGibQsvcbe0yLSM1uzdCkrEgCFvsf3k=; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;
Received: (qmail 10883 invoked from network); 9 Jul 2018 16:01:23 +0200
Received: from i577bcefb.versanet.de (HELO ?192.168.178.24?) (87.123.206.251) by kuehlewind.net with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 9 Jul 2018 16:01:23 +0200
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Subject: Re: Mirja Kühlewind's Discuss on draft-ietf-bfd-multipoint-18: (with DISCUSS)
From: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>
In-Reply-To: <CA+RyBmX0vYfWG=y3idNPw9=58LOwm7V0LqkzJvXgSk2sdFJb+w@mail.gmail.com>
Date: Mon, 09 Jul 2018 16:01:22 +0200
Cc: Reshad Rahman <rrahman@cisco.com>, draft-ietf-bfd-multipoint@ietf.org, rtg-bfd@ietf.org, The IESG <iesg@ietf.org>, bfd-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <0A22867A-042D-448C-9F4A-45ECDB45635D@kuehlewind.net>
References: <153064270085.5078.5189673902650964259.idtracker@ietfa.amsl.com> <CA+RyBmX0vYfWG=y3idNPw9=58LOwm7V0LqkzJvXgSk2sdFJb+w@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
X-Mailer: Apple Mail (2.3445.8.2)
X-PPP-Message-ID: <20180709140123.10874.99285@lvps83-169-45-111.dedicated.hosteurope.de>
X-PPP-Vhost: kuehlewind.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/f39MKZUCwndoTtoW_O88IqdoBao>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 09 Jul 2018 14:28:09 -0000

Hi Greg,

please see below.

> Am 05.07.2018 um 21:27 schrieb Greg Mirsky <gregimirsky@gmail.com>:
> 
> Hi Mirja,
> thank you for the review and your comments. Please find my answers in-line and tagged GIM>>.
> 
> Regards,
> Greg
> 
> On Tue, Jul 3, 2018 at 11:31 AM, Mirja Kühlewind <ietf@kuehlewind.net> wrote:
> Mirja Kühlewind has entered the following ballot position for
> draft-ietf-bfd-multipoint-18: Discuss
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-bfd-multipoint/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> This mechanism has the potentially to easily overload the network as there is
> no handshake and therefore also no feedback mechanism (as already noted by the
> TSV-ART review of Bob - Thanks!). Regarding the base spec in RFC5880, this
> mechanism can only be used under certain constrains which should be clearly
> stated in this doc, which are:
> 
> 1) See sec 6.8.1 of RFC5880:
> "bfd.DesiredMinTxInterval
>       [...] The actual
>       interval is negotiated between the two systems.  This MUST be
>       initialized to a value of at least one second (1,000,000
>       microseconds) according to the rules described in section 6.8.3."
> As there no negotiation in this spec, bfd.DesiredMinTxInterval MUST always be
> at least one second. Actually RFC8085 even recommend 3 sec (see sec 3.1.3).
> GIM>> I believe that such limit will negatively impact applicability of this method to detect defects in networks. Analysis of BFD transmission intervals provided in RFC 7419. The conclusion was:
>    This document defines the set of Common Interval values to be: 3.3
>    msec, 10 msec, 20 msec, 50 msec, 100 msec, and 1 sec.
> I believe that systems that intended to use mpBFD should use RFC 7419 as guidance.
> Also, consider two proposals to use mpBFD in VRRP and PIM-SM that been discussed by RTGWG and PIM WGs. The goal is to ensure sub-second detection of head's failure by tails - Master in case of VRRP, DR in PIM-SM case.

I understand that this makes failure detection harder, however, the BFD base spec has a feedback mechanism that can be used to limit the rate, e.g. if the receiver is overloaded. This is not the case for multipoint BFD and therefore a higher interval than 1 sec is not permitted by the BFD base spec.

> 
> 2) See sec 7 of RFC 8085
> "When BFD is used across multiple hops, a congestion control mechanism
>    MUST be implemented, and when congestion is detected, the BFD
>    implementation MUST reduce the amount of traffic it generates. "
> GIM>> I couldn't find this in RFC 8085 and had to broaden my search. I believe that thsi quote is from RFC 7880 Seamless BFD. I'm puzzled why this specification, when talking about challenges S-BFD may face, switches to requirement for BFD. Doesn't look right. And more, increasing transmission interval to avoid packet drop defeats the purpose of using proactive defect detection mechanism. The purpose of the fault management is to detect failures, not to avoid the detection. If active OAM generates excess of traffic, then other OAM mechanisms can be considered and used. But loosening OAM is not, in my view, proper way to address network problem as it rather hides them, not detets and reports as it intended to do. 
>   
> As there is no feedback and therefore no congestion control, this spec can only
> be used for one-hop scenarios and the TTL or Hop Count MUST be set to one.
> GIM>> For VRRP and PIM-SM use cases TTL will be set to one as that is mandated by the use cases. But making this generic requirement may be too restrictive. As Martin noted, this specification, as BFD base specification in RFC 5880, is centered on protocol, not encapsulation (with exception of the last paragraph in section 5.8 with details of IP/UDP over MPLS encapsulation).

Again, I understand the concern here about being very restrictive, however, this is what is specified in the BFD base spec in RFC5880 and you would need to update the base spec if you would like to change this.

However, even if you update/remove the restriction, you would still need to specify additional safety measures to ensure that no BFD packets overflow the whole network or leak to other networks, as there is not feedback what clearly indicated that there is a receiver listing at the other end. 
> 
> 
> 3) Also given the traffic load multipoint BFD generates depends on the number
> of active session, and there is no feedback mechanism, I recommend to also
> limit the number of active session of MultipointHead type to a small number
> (per link).
> GIM>> Perhaps we can recomend limit the overall number of active sessions so that distribution can be decided by implementation and operator. I think that text suggested by Martin clearly communicates such recomendation to be added to the list in the Security Considerations section:
>       The implementation should have a reasonable upper bound on the
>       number of MultipointHead sessions that can be created, with the
>       upper bound potentially being computed based on the load these
>       would generate. 

More guidance is needed to specify what „reasonable“ means here. 

All these point were also discussed with Martin at the last telechat. Please consult further with him.

Thanks!
Mirja


> 
>