Re: [Idr] draft-ietf-idr-error-handling-09.txt

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Wed, 28 May 2014 13:57 UTC

Return-Path: <jheitz@cisco.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F97A1A014D for <idr@ietfa.amsl.com>; Wed, 28 May 2014 06:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 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_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 STydeNn5W-Rt for <idr@ietfa.amsl.com>; Wed, 28 May 2014 06:57:48 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 579661A011F for <idr@ietf.org>; Wed, 28 May 2014 06:57:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6902; q=dns/txt; s=iport; t=1401285465; x=1402495065; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zd7klrX7QuMxqrCn+wHYniAeZ8leCiUEHiGim+HfHkI=; b=POxS4T6Eo8vcsTEFsPcaZl6znf67JjoiZBqa1m07e/ewFWO4aZF0HBpn IPL+51+k/BhnjKJhLK5lwq4J5uF9x3ie01ET7ysOlB25D7kDCegL1407O PNhkSAqsLIcXfCHbkfote2/6ZOIzhq8+3VunvKmivAg2QvvMR0+ggv3bP 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApgIABPqhVOtJA2N/2dsb2JhbABZgwdSUbpwhzoBgQkWdIIlAQEBAwEBAQE3NAsFCwIBCBgeECcLJQIEDgUJC4gmCAgF1lUXiTOEbDMHgyuBFQSZdYE9kWqDOA
X-IronPort-AV: E=Sophos;i="4.98,928,1392163200"; d="scan'208";a="47921436"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-2.cisco.com with ESMTP; 28 May 2014 13:57:44 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s4SDvii0006330 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 28 May 2014 13:57:44 GMT
Received: from xmb-aln-x02.cisco.com ([169.254.5.121]) by xhc-rcd-x15.cisco.com ([173.37.183.89]) with mapi id 14.03.0123.003; Wed, 28 May 2014 08:57:43 -0500
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: "<deniz.bahadir@benocs.com>" <deniz.bahadir@benocs.com>
Thread-Topic: [Idr] draft-ietf-idr-error-handling-09.txt
Thread-Index: AQHPemXu8TA/yWDGLUGOLwd2Eve0M5tWLS+A///XnVg=
Date: Wed, 28 May 2014 13:57:43 +0000
Message-ID: <94C526C8-EFDD-411E-B879-DB2AFBB9EEDF@cisco.com>
References: <20140519193351.18689.42022.idtracker@ietfa.amsl.com> <5DA14C09-9BCE-4B7C-A5BE-8F7BA3A180F2@juniper.net> <537B01EF.1000802@benocs.com> <5385C4D5.7030703@benocs.com>,<5385C6E9.7080105@benocs.com>
In-Reply-To: <5385C6E9.7080105@benocs.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/Vi23Qj7UEOIgjKvsNYuKwbam3eo
Cc: "idr@ietf.org" <idr@ietf.org>
Subject: Re: [Idr] draft-ietf-idr-error-handling-09.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Wed, 28 May 2014 13:57:50 -0000

We know better than to ever invent an attribute type that can appear more than once in an UPDATE. An UPDATE with multiple attributes of a single type would never survive a trip through a legacy router. It is not a serious restriction. For example, we can fit many communities into a community attribute.

--
Jakob Heitz.


> On May 28, 2014, at 4:22 AM, "Deniz Bahadir" <dbahadir@benocs.com> wrote:
> 
> My English seems not to be the best. I should probably replace "realized" with "identified" in my proposed-sentence.
> I replaced it inline further down.
> 
> Deniz
> 
> Am 28.05.2014 13:13, schrieb Deniz Bahadir:
>> Hi there,
>> 
>> while trying to implement this draft I stumbled across a point which
>> made me think if I really understood it correctly.
>> 
>> 
>> The sentence I stumbled across is in section 3.g. of the draft:
>> 
>> "[...] If any other attribute appears more than once in an UPDATE
>> message, then all the occurrences of the attribute other than the first
>> one SHALL be discarded and the UPDATE message continue to be processed."
>> 
>> This pretty much says the same as the corresponding sentence from
>> section 6.3 of RFC 4271 (except for the action taken):
>> 
>> "If any attribute appears more than once in the UPDATE message, then the
>> Error Subcode MUST be set to Malformed Attribute List."
>> 
>> 
>> What I am asking myself (and now you) is:
>> Does this really address *any* attribute which appears more than once,
>> or only *recognized* attributes?
>> 
>> 
>> Of course, my implementation could realize by the attribute's type-code
>> that an unrecognized (most likely optional) attribute appeared more than
>> once in an UPDATE-message. But maybe, that could be valid for that
>> unrecognized path-attribute?
>> 
>> So, if there is any chance of a (new) path-attribute to be allowed to
>> appear more than once in an UPDATE-message, I would recommend to change
>> the sentence in question to the following in the next version of this
>> draft:
>> 
>> 
>> "[...] If any other recognized attribute appears more than once in an
>> UPDATE message, then all the occurrences of the attribute other than the
>> first one SHALL be discarded and the UPDATE message continue to be
>> processed. Unrecognized attributes are still allowed to appear more than
>> once."
>> 
>> 
>> If this it not what is intended, then I would recommend to explicitly
>> state that this sentence is meant for recognized as well as unrecognized
>> attributes, so that nobody might misinterpret it (as I might have done):
> 
> OLD:
>> "[...] If any other attribute (no matter if recognized or not) appears
>> more than once in an UPDATE message, then all the occurrences of the
>> attribute other than the first one SHALL be discarded and the UPDATE
>> message continue to be processed. (Multiple appearances of even
>> unrecognized attributes can be be realized by the attributes' type-codes.)"
> 
> NEW:
> "[...] If any other attribute (no matter if recognized or not) appears
> more than once in an UPDATE message, then all the occurrences of the
> attribute other than the first one SHALL be discarded and the UPDATE
> message continue to be processed. (Multiple appearances of even
> unrecognized attributes can be be identified by the attributes'
> type-codes.)"
> 
> 
>> 
>> (The sentence in parentheses is just for clarification and could be
>> removed if it is too obvious.)
>> 
>> Deniz
>> 
>> 
>> Am 20.05.2014 09:19, schrieb Deniz Bahadir:
>>> I have nothing to complain or to add.
>>> Therefore, I support this draft being the final version and becoming an
>>> RFC.
>>> 
>>> Thanks for the good work,
>>> Deniz
>>> 
>>> 
>>> Am 19.05.2014 21:51, schrieb John G. Scudder:
>>>> There are just a few relatively small changes in this version:
>>>> 
>>>> - Note that when MP-BGP is in use, NEXT_HOP is discretionary.
>>>> - Better text for NLRI section (thanks to Ondrej).
>>>> - Fix typos.
>>>> 
>>>> With luck, we are spiraling in to a final version.
>>>> 
>>>> Thanks, all.
>>>> 
>>>> --John
>>>> 
>>>>> On May 19, 2014, at 3:33 PM, 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 Working Group
>>>>> of the IETF.
>>>>> 
>>>>>        Title           : Revised Error Handling for BGP UPDATE
>>>>> Messages
>>>>>        Authors         : Enke Chen
>>>>>                          Juniper Networks
>>>>>                          Pradosh Mohapatra
>>>>>                          Keyur Patel
>>>>>    Filename        : draft-ietf-idr-error-handling-09.txt
>>>>>    Pages           : 14
>>>>>    Date            : 2014-05-19
>>>>> 
>>>>> Abstract:
>>>>>   According to the base BGP specification, a BGP speaker that receives
>>>>>   an UPDATE message containing a malformed attribute is required to
>>>>>   reset the session over which the offending attribute was received.
>>>>>   This behavior is undesirable as a session reset would impact not
>>>>> only
>>>>>   routes with the offending attribute, but also other valid routes
>>>>>   exchanged over the session.  This document partially revises the
>>>>>   error handling for UPDATE messages, and provides guidelines for the
>>>>>   authors of documents defining new attributes.  Finally, it revises
>>>>>   the error handling procedures for a number of existing attributes.
>>>>> 
>>>>>   This document updates error handling for RFCs 1997, 4271, 4360,
>>>>> 4456,
>>>>>   4760 and 5701.
>>>>> 
>>>>> 
>>>>> The IETF datatracker status page for this draft is:
>>>>> https://datatracker.ietf.org/doc/draft-ietf-idr-error-handling/
>>>>> 
>>>>> There's also a htmlized version available at:
>>>>> http://tools.ietf.org/html/draft-ietf-idr-error-handling-09
>>>>> 
>>>>> A diff from the previous version is available at:
>>>>> http://www.ietf.org/rfcdiff?url2=draft-ietf-idr-error-handling-09
>>>>> 
>>>>> 
>>>>> 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/
>>> 
>>> _______________________________________________
>>> 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
> 
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr