Re: [Idr] I-D Action: draft-ietf-idr-bgp-extended-messages-25.txt

Greg Skinner <gregskinner0@icloud.com> Thu, 24 May 2018 08:04 UTC

Return-Path: <gregskinner0@icloud.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E07E12D961 for <idr@ietfa.amsl.com>; Thu, 24 May 2018 01:04:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=icloud.com
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 rCqTwH_SgYnc for <idr@ietfa.amsl.com>; Thu, 24 May 2018 01:04:21 -0700 (PDT)
Received: from mr90p54im-ztdg04151901.me.com (mr90p54im-ztdg04151901.me.com [17.120.66.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A43B12D95F for <idr@ietf.org>; Thu, 24 May 2018 01:04:21 -0700 (PDT)
Received: from process-dkim-sign-daemon.mr90p54im-ztdg04151901.me.com by mr90p54im-ztdg04151901.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P9800N003R7PP00@mr90p54im-ztdg04151901.me.com> for idr@ietf.org; Thu, 24 May 2018 08:04:20 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1527149060; bh=1gs7t1CDWosYzIo9VOdCY/vEPbL/cRwiGdMLR8AnnJM=; h=From:Content-type:MIME-version:Subject:Date:To:Message-id; b=TCSwNXuWHazcTYHLduqm2maOr7f5QDWk4gI69Vcfir3FzRo0thaW8vok5o7sJ/uR5 b7Kip/wsn/qVa15AzTj2HwJnAVa0YNW0jtwWnJfvOkfZmyQojbOUHTFCkDXhNtox4c EIhm2l9Vg5Q8WUdL0VxWUsgSst2Y39rFreiGUrthDT3AgrDpsmW8w/wQAWAcVGD75/ eAyUmzCv+xW5nL5HarqtlN8B5bwt6YLSSuQMwKSKKf518cItiMWiwbXElsZblHxfyn xCZQqXso4aZG7DImE7jnUFFFkZIDxV31hZEUpnKvnwOmvzj1BHCpjhA5RCLCu1IDsO lmCSbS7cMfN0g==
Received: from icloud.com ([127.0.0.1]) by mr90p54im-ztdg04151901.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0P9800IV93R60900@mr90p54im-ztdg04151901.me.com> for idr@ietf.org; Thu, 24 May 2018 08:04:20 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-05-24_02:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=50 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1805240099
From: Greg Skinner <gregskinner0@icloud.com>
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: quoted-printable
MIME-version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Thu, 24 May 2018 01:04:18 -0700
References: <152691925195.23085.2224548530108903025@ietfa.amsl.com>
To: idr@ietf.org
In-reply-to: <152691925195.23085.2224548530108903025@ietfa.amsl.com>
Message-id: <A8418B2F-DD4C-4B85-B77A-3A5473788E87@icloud.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/6uIHak_cltybrxn3de_lhzRC0Uk>
Subject: Re: [Idr] I-D Action: draft-ietf-idr-bgp-extended-messages-25.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 May 2018 08:04:24 -0000

I have a few nits, some suggestions, and some general thoughts about the draft.

Some nits (in diff format):

*** original text	2018-05-23 17:09:06.000000000 -0700
--- new text      	2018-05-23 18:53:18.000000000 -0700
***************
*** 77,83 ****
  
     1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     2.  BGP Extended Message  . . . . . . . . . . . . . . . . . . . .   2
!    3.  Extended message Capability for BGP . . . . . . . . . . . . .   3
     4.  Operation . . . . . . . . . . . . . . . . . . . . . . . . . .   3
     5.  Error Handling  . . . . . . . . . . . . . . . . . . . . . . .   4
     6.  Changes to RFC4271  . . . . . . . . . . . . . . . . . . . . .   4
--- 77,83 ----
  
     1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     2.  BGP Extended Message  . . . . . . . . . . . . . . . . . . . .   2
!    3.  Extended Message Capability for BGP . . . . . . . . . . . . .   3
     4.  Operation . . . . . . . . . . . . . . . . . . . . . . . . . .   3
     5.  Error Handling  . . . . . . . . . . . . . . . . . . . . . . .   4
     6.  Changes to RFC4271  . . . . . . . . . . . . . . . . . . . . .   4
***************
*** 96,102 ****
     newer capabilities (e.g., [I-D.ietf-sidr-bgpsec-protocol]), there is
     a need to extend the maximum message size beyond 4096 octets.  This
     draft provides an extension to BGP to extend its current message size
!    limit from 4096 octets to 65535 octetsfor all except the OPEN
     message.
  
  2.  BGP Extended Message
--- 96,102 ----
     newer capabilities (e.g., [I-D.ietf-sidr-bgpsec-protocol]), there is
     a need to extend the maximum message size beyond 4096 octets.  This
     draft provides an extension to BGP to extend its current message size
!    limit from 4096 octets to 65535 octets for all except the OPEN
     message.
  
  2.  BGP Extended Message
***************
*** 114,120 ****
  Internet-Draft      Extended Message support for BGP            May 2018
  
  
! 3.  Extended message Capability for BGP
  
     To advertise the BGP Extended Message Capability to a peer, a BGP
     speaker uses BGP Capabilities Advertisement [RFC5492].  By
--- 114,120 ----
  Internet-Draft      Extended Message support for BGP            May 2018
  
  
! 3.  Extended Message Capability for BGP
  
     To advertise the BGP Extended Message Capability to a peer, a BGP
     speaker uses BGP Capabilities Advertisement [RFC5492].  By
***************
*** 137,144 ****
     Extended Message Capability from that peer.
  
     The Extended Message Capability only applies to all messages except
!    for the OPEN message.  This exception is reduce compexity of
!    providing backward compatibility
  
     An implementation that advertises support for BGP Extended Messages
     MUST be capable of receiving a message with a length up to and
--- 137,144 ----
     Extended Message Capability from that peer.
  
     The Extended Message Capability only applies to all messages except
!    for the OPEN message.  This exception is made to reduce the
!    complexity of providing backward compatibility.
  
     An implementation that advertises support for BGP Extended Messages
     MUST be capable of receiving a message with a length up to and
***************
*** 150,163 ****
  
     A BGP announcement will, in the normal case, propagate throughout the
     BGP speaking Internet; and there will undoubtedly be BGP speakers
!    which do not have the Extended Message capability.  Therefore putting
!    an attribute which can not be decomposed to 4096 octets or less in an
!    Extended Message is a likely path to routing failure.
  
     It is RECOMMENDED that BGP protocol developers and implementers are
     conservative in their application and use of Extended Messages.
     Future protocol specifications will need to describe how to handle
!    peers which can only accomodate 4096 octet messages.
  
  
  
--- 150,163 ----
  
     A BGP announcement will, in the normal case, propagate throughout the
     BGP speaking Internet; and there will undoubtedly be BGP speakers
!    which do not have the Extended Message capability.  Therefore,
!    putting an attribute which can not be decomposed to 4096 octets or
!    less in an Extended Message is a likely path to routing failure.
  
     It is RECOMMENDED that BGP protocol developers and implementers are
     conservative in their application and use of Extended Messages.
     Future protocol specifications will need to describe how to handle
!    peers which can only accommodate 4096 octet messages.
  
  
  
***************
*** 204,210 ****
  
  7.  IANA Considerations
  
!    The IANA has made an early allocation for this new BGP BGP Extended
     Message Capability referring to this document.
  
     Registry:  BGP Capability Code
--- 204,210 ----
  
  7.  IANA Considerations
  
!    The IANA has made an early allocation for this new BGP Extended
     Message Capability referring to this document.
  
     Registry:  BGP Capability Code
***************
*** 227,233 ****
  
  
     Section 5 allowed a receiver to accept an Extended Message even
!    though they had not advertised the capability.  This slippery slope
     will surely lead to sloppy implementations sending Extended Messages
     when the receiver is not prepared to deal with them, e.g. to peer
     groups.  At best, this will result in errors; at worst, buffer
--- 227,233 ----
  
  
     Section 5 allowed a receiver to accept an Extended Message even
!    though it had not advertised the capability.  This slippery slope
     will surely lead to sloppy implementations sending Extended Messages
     when the receiver is not prepared to deal with them, e.g. to peer
     groups.  At best, this will result in errors; at worst, buffer

Some suggestions:

Section 5:

   A BGP speaker that does not advertise the BGP Extended Messages
   capability might also genuinely not support Extended Messages.  Such
   a speaker would be expected to follow the error handling procedures
   of [RFC4271] if it receives an Extended Message.  Similarly, any
   speaker that treats an improper Extended Message as a fatal error,
   MUST treat it similarly.

Since this draft updates 4271, why not make the second sentence normative, such
as: Such a speaker MUST follow the error handling procedures of [RFC4271] ...


Section 8:

   Section 5 allowed a receiver to accept an Extended Message even
   though they had not advertised the capability.  This slippery slope
   will surely lead to sloppy implementations sending Extended Messages
   when the receiver is not prepared to deal with them, e.g. to peer
   groups.  At best, this will result in errors; at worst, buffer
   overflows.

The second sentence is (understandably) pessimistic.  Perhaps it could be toned
down a bit, such as: This slippery slope could lead to sloppy implementations …

   Due to increased (over [RFC4272]) memory requirements for buffering,
   there may be increased exposure to resource exhaustion, intentional
   or unintentional.

I wasn't sure what "over [RFC4272]" was referring to, because I couldn't find
any mention of "memory requirements for buffering" (or words to that effect)
in 4272.


Some general thoughts:

After reading many idr list messages and the datatracker history of the draft, and reviewing it myself, I am concerned that what has been proposed needs more input, especially from the ops community, before being published.   However, I understand that there are people who have worked very hard on the draft and would like to see it published.  A good deal of the commentary is operational in nature. Perhaps two separate drafts are needed, focusing on the protocol specification and operations, similarly to how 7947 and 7948 were handled, respectively.  On the other hand, I hope this would not impact the entire effort too much.

Regards,
Greg 

> On May 21, 2018, at 9:14 AM, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Inter-Domain Routing WG of the IETF.
> 
>        Title           : Extended Message support for BGP
>        Authors         : Randy Bush
>                          Keyur Patel
>                          Dave Ward
> 	Filename        : draft-ietf-idr-bgp-extended-messages-25.txt
> 	Pages           : 6
> 	Date            : 2018-05-21
> 
> Abstract:
>   The BGP specification mandates a maximum BGP message size of 4096
>   octets.  As BGP is extended to support newer AFI/SAFIs and other
>   features, there is a need to extend the maximum message size beyond
>   4096 octets.  This document updates the BGP specification RFC4271 by
>   providing an extension to BGP to extend its current maximum message
>   size from 4096 octets to 65535 octets for all except the OPEN
>   message.
> 
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-extended-messages/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-idr-bgp-extended-messages-25
> https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-extended-messages-25
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-idr-bgp-extended-messages-25
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
>