Re: [Idr] AD Review of draft-ietf-idr-bgp-extended-messages-20

"Susan Hares" <shares@ndzh.com> Thu, 09 March 2017 01:24 UTC

Return-Path: <shares@ndzh.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 507B61294EB; Wed, 8 Mar 2017 17:24:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.946
X-Spam-Level:
X-Spam-Status: No, score=0.946 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 XkL2kEJpXkMy; Wed, 8 Mar 2017 17:24:03 -0800 (PST)
Received: from hickoryhill-consulting.com (50-245-122-97-static.hfc.comcastbusiness.net [50.245.122.97]) (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 BE7DE1294CE; Wed, 8 Mar 2017 17:24:02 -0800 (PST)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=70.194.24.193;
From: Susan Hares <shares@ndzh.com>
To: 'Enke Chen' <enkechen@cisco.com>, "'Jakob Heitz (jheitz)'" <jheitz@cisco.com>
References: <DAEE98CC-8483-499E-B71C-FE4C6FC15A4A@cisco.com> <20170228210627.GB17448@pfrc.org> <3eb4d853-1d44-6250-c70a-26f60eac39e6@cisco.com> <006e01d296db$a7c4c320$f74e4960$@ndzh.com> <CA+b+ERmddHoq+4FmU+Ct3MhH46om8yUt69EoQMyLnzweHF=JgQ@mail.gmail.com> <010101d2974a$8520d060$8f627120$@ndzh.com> <CA+b+ERnejrof2dfvb4YuKpWieLxWOF7mTXkZpaOgJc=y=2V+XA@mail.gmail.com> <018c01d29756$c8b4f610$5a1ee230$@ndzh.com> <CA+b+ER=r6tF3t-THjN_zz5hOLETRV5MjpcoEo+79exeafWBNfQ@mail.gmail.com> <01b301d29758$180458e0$480d0aa0$@ndzh.com> <e2fd2bc1-94fa-66fb-e2f0-668ee5a1f1a1@cisco.com> <CE23F9A0-DC7B-4AC1-A6E4-6BF5A287B71D@nist.gov> <7657b686-0685-9bdf-17ba-e7d618a237aa@cisco.com> <C83C3A72-5059-4345-B0E7-AB7F9FD48E53@nist.gov> <edf306511fd84fbe8bceb4b5801be8ea@XCH-ALN-014.cisco.com> <bc0e6deb-f07b-4234-0c19-85acd162f5b6@cisco.com>
In-Reply-To: <bc0e6deb-f07b-4234-0c19-85acd162f5b6@cisco.com>
Date: Wed, 08 Mar 2017 20:19:21 -0500
Message-ID: <003e01d29873$31b2d430$95187c90$@ndzh.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQInnAj+Yxa8tap/yfCJFXAjQYwk1wJi0XFfAwzFclUBlnEaYAHWMN+rAr58MhwCyGvcFQMczvZ5Ak2aXIwCIxMNygKhSz2mAkKflqECNogRigHZPoiMAtOA/wsCBpBH+p/Druyw
Content-Language: en-us
X-Authenticated-User: skh@ndzh.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/Y3RKQGRH3uhoXbiWFSSXiVnbxZ8>
Cc: 'idr wg' <idr@ietf.org>, draft-ietf-idr-bgp-extended-messages@ietf.org, 'Robert Raszuk' <robert@raszuk.net>, idr-chairs@ietf.org
Subject: Re: [Idr] AD Review of draft-ietf-idr-bgp-extended-messages-20
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Mar 2017 01:24:05 -0000

Enke and Jakob: 

I am not commenting on the operational desires or your implementations in this message, only to clarify that the "slow retry" is not an absolute in the state machine.  There is also no logical difference in the current statement machine between BGP header error (Event 21) or an OPEN message header error (Event 22) in the FSM. 

So, if you are talking code and the RFC4271 specification in your messages - I do not understand your comments.  RFC4271 consider the issues you are indicating and put in optional switches to control behaviors.  There are knobs to have no peer damping, little peer damping or lots of peer damping.    It is also possible to have logic in implementations which sets these options based on a previous response. 

If you are speaking about your implementations, you know best. 

Sue 

==========================

If the OPEN exceeds the maximum size, it is a header size error (Event 21, p 49, RFC4271 ) in the state machine.  If the logical flag SendNOTIFICATIONwithoutOPEN (p. 37, RFC4271), then the state machine will respond to an open with a Notification with the header error message. 

Two possible sequences in the FSM if the logical SENDNOTIFICATIONwithoutOpen is sent 

Sequence 1 - Peer with Extended BGP message establishes first 

TCP connection establish ------
Send Open ---> 
[open sent state] 
(5000)                 <----- NOTIFICATION (header error) 
		      Performs peer damping (if this option is set) 
		       Peer 2 goes to idle and restarts 
		      [p. 57, RFC4271] 

Reception of NOTIFICATON
Clears all BGP resources 
Goes to IDLE.
Manual/automatic start can restart session 

If you configure peer damping, then you have a delay. 
If you configure "no peer damping" and "automatic start"
And the implementation logic knows to switch back to 4096,  
This sequence does not have to delay the peer. 

If you configure peer damping, then it does damp.
If not, you can sequence through this quickly.  
 
Sequence 2 - Peer with Normal BGP sends first open 

TCP connection 
          <--------- (open) (less than or equal to 4096) 
		No extended message capability 

Open ----> 
Extended peer should not send  a OPEN with more than 4096. 

====================
You could specify in a specification these optional settings + peer logic without changing RFC4271 FSM. 
You just would specify some optional settings as mandatory and a logic around them. 
I agree with Enke that additional text should be created to define these for open. 

If you specify that the Open cannot be greater than 4096, then the logic changes in the 
OPEN validation code.  And the errors messages is OPEN-MSG-Format error. 
You would go through the exact sequence in the FSM (see page 57 of RFC4271), 
And the error is not specific to the error length.  

Sue 
 

-----Original Message-----
From: Enke Chen [mailto:enkechen@cisco.com] 
Sent: Wednesday, March 8, 2017 3:14 PM
To: Jakob Heitz (jheitz)
Cc: Borchert, Oliver (Fed); 'idr wg'; draft-ietf-idr-bgp-extended-messages@ietf.org; 'Robert Raszuk'; Susan Hares; idr-chairs@ietf.org; Enke Chen
Subject: Re: [Idr] AD Review of draft-ietf-idr-bgp-extended-messages-20

If one has to send a large OPEN, then it is rejected by the remote speaker, then the session needs to be held down (or for slow retry) until the remote speaker is upgraded or the OPEN size reduced locally as you are saying.

The details need to be specified in a new revision.

Thanks.  -- Enke

On 3/8/17 12:04 PM, Jakob Heitz (jheitz) wrote:
> I don't think it makes sense to fallback if a long OPEN message fails.
> Suppose the OPEN message is 4100 bytes long and it fails.
> How will you shrink it?
> The operator will need to remove some features from the configuration before trying again.
> 
> Thanks,
> Jakob.
> 
>> -----Original Message-----
>> From: Idr [mailto:idr-bounces@ietf.org] On Behalf Of Borchert, Oliver 
>> (Fed)
>> Sent: Tuesday, March 07, 2017 5:21 PM
>> To: Enke Chen (enkechen) <enkechen@cisco.com>
>> Cc: 'idr wg' <idr@ietf.org>; 
>> draft-ietf-idr-bgp-extended-messages@ietf.org; 'Robert Raszuk' 
>> <robert@raszuk.net>; Susan Hares <shares@ndzh.com>; 
>> idr-chairs@ietf.org
>> Subject: Re: [Idr] AD Review of 
>> draft-ietf-idr-bgp-extended-messages-20
>>
>> Enke,
>>
>> thanks for the pointer. With this in mind, it makes perfectly sense 
>> then to have all bgp messages included rather than “cherry picking” some of them.
>>
>> Oliver
>>
>> On 3/7/17, 6:49 PM, "Enke Chen" <enkechen@cisco.com> wrote:
>>
>>     Please check out the following document:
>>
>>     Extended Optional Parameters Length for BGP OPEN Message
>>     draft-ietf-idr-ext-opt-param-02
>>
>>     -- Enke
>>
>>     On 3/7/17 3:44 PM, Borchert, Oliver (Fed) wrote:
>>     > I am wondering – according to RFC 4271, how can an OPEN message ever exceed 284 bytes?
>>     > The bgp message header has 19 bytes and the OPEN message payload adds 10. This is 29, then the only
>>     > addition here are the Optional Parameters which cannot exceed 
>> 255 bytes combined due to the 1 byte length field.
>>     >
>>     > Therefore, an open message cannot exceed 284 bytes and if larger than 284 bytes, wouldn’t it be invalid.
>>     >
>>     > In this regard, I don’t really understand the whole discussion about allowing an OPEN message larger than 4K.
>>     > It shouldn’t even be larger than 284 bytes?  Maybe I am missing something.
>>     >
>>     > BTW, same is true for KEEPALIVE (max 19 bytes)
>>     >
>>     > Oliver
>>     >
>>     >
>>     >
>>     > On 3/7/17, 1:45 PM, "Idr on behalf of Enke Chen" <idr-bounces@ietf.org on behalf of enkechen@cisco.com> wrote:
>>     >
>>     >     Hi, Folks:
>>     >
>>     >     o There is no extra work for a receiver to cover message types other than UPDATE.
>>     >     o There is a little bit work for a sender that wishes to send a large OPEN (e.g.,
>>     >       using the prior capability and possibly subsequent NOTIFICATION).
>>     >
>>     >     Additionally, I do not see a need to touch on the FSM specified in RFC 4271 even
>>     >     in the case of sending a large OPEN, which potentially may involve two separate
>>     >     consecutive sessions but each session would just follow the existing FSM.
>>     >
>>     >     Thanks.   -- Enke
>>     >
>>     >     On 3/7/17 7:32 AM, Susan Hares wrote:
>>     >     > Robert:
>>     >     >
>>     >     > <individual contributor’s hat on>
>>     >     >
>>     >     > Yep  - Easier to just include all messages.
>>     >     >
>>     >     >
>>     >     >
>>     >     > Sue
>>     >     >
>>     >     >
>>     >     >
>>     >     > *From:*rraszuk@gmail.com [mailto:rraszuk@gmail.com] *On Behalf Of *Robert Raszuk
>>     >     > *Sent:* Tuesday, March 7, 2017 10:33 AM
>>     >     > *To:* Susan Hares
>>     >     > *Cc:* Randy Bush; Enke Chen; Jeffrey Haas; Alvaro Retana (aretana); idr-chairs@ietf.org; draft-ietf-idr-
>> bgp-extended-messages@ietf.org; idr wg
>>     >     > *Subject:* Re: [Idr] AD Review of draft-ietf-idr-bgp-extended-messages-20
>>     >     >
>>     >     >
>>     >     >
>>     >     > Hi Sue,
>>     >     >
>>     >     >
>>     >     >
>>     >     >> My suggestion is to include all messages including future messages if approved.
>>     >     >
>>     >     >
>>     >     >
>>     >     > Ahh then it is great - we are in sync !
>>     >     >
>>     >     >
>>     >     >
>>     >     > My other comments were just an opinion ... but if it is easier to extend all messages then perfect.
>>     >     >
>>     >     >
>>     >     >
>>     >     > Cheers,
>>     >     >
>>     >     > R.
>>     >     >
>>     >     >
>>     >     >
>>     >     >
>>     >     >
>>     >
>>     >     _______________________________________________
>>     >     Idr mailing list
>>     >     Idr@ietf.org
>>     >     https://www.ietf.org/mailman/listinfo/idr
>>     >
>>     >
>>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr