Re: [Idr] Last Call: <draft-ietf-idr-rfc4893bis-06.txt> (BGP Support for Four-octet AS Number Space) to Proposed Standard

Enke Chen <enkechen@cisco.com> Tue, 12 June 2012 17:37 UTC

Return-Path: <enkechen@cisco.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 1E9C621F8643 for <idr@ietfa.amsl.com>; Tue, 12 Jun 2012 10:37:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrhqN5N5ZJWl for <idr@ietfa.amsl.com>; Tue, 12 Jun 2012 10:37:04 -0700 (PDT)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id 632B721F8655 for <idr@ietf.org>; Tue, 12 Jun 2012 10:37:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=enkechen@cisco.com; l=2804; q=dns/txt; s=iport; t=1339522624; x=1340732224; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=WwVSJOELQcCd93Twe4t2Dl8QXSWtq3i5jJ1xjgaWzdU=; b=FqcInlvl9KvFVtvYA4duEF7IFbKfRIxmsS5DPhKk1pFinENkADggdit+ Do+CrhsbZmqpaRXUmROR3b5/BNIUEbAyiYqZqimud2AfH8264irZUbhPT Ee9DOGnzqI44AabG7hpgyqV0vyjlnXjR0e5bT3sIouiqdJpbcRiPpBwzP c=;
X-IronPort-AV: E=Sophos;i="4.75,759,1330905600"; d="scan'208";a="48560356"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-4.cisco.com with ESMTP; 12 Jun 2012 17:37:04 +0000
Received: from sjc-vpn2-1460.cisco.com (sjc-vpn2-1460.cisco.com [10.21.117.180]) by mtv-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q5CHb4eB015263; Tue, 12 Jun 2012 17:37:04 GMT
Message-ID: <4FD77E8A.8000103@cisco.com>
Date: Tue, 12 Jun 2012 10:38:18 -0700
From: Enke Chen <enkechen@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: Claudio Jeker <cjeker@diehard.n-r-g.com>
References: <20120601185444.8409.85777.idtracker@ietfa.amsl.com> <20120601220000.GB9448@diehard.n-r-g.com> <4FD71A33.8040901@cisco.com> <20120612135455.GC18025@diehard.n-r-g.com> <4FD76275.5040205@raszuk.net> <20120612171401.GH9448@diehard.n-r-g.com>
In-Reply-To: <20120612171401.GH9448@diehard.n-r-g.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: idr@ietf.org, Robert Raszuk <robert@raszuk.net>
Subject: Re: [Idr] Last Call: <draft-ietf-idr-rfc4893bis-06.txt> (BGP Support for Four-octet AS Number Space) to Proposed Standard
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 12 Jun 2012 17:37:05 -0000

Hi, Claudio:

Not sure if you are aware of the large scale outage that occurred a few 
years ago from the leak of the confed related segments by one 
implementation. At the time quite a few implementations were resetting 
the sessions when receiving such updates.

While discarding the whole AS4_PATH would be simpler and less disruptive 
(than session resetting), it would still lose the vital as-path info 
contained in the AS4_PATH which can otherwise be recovered by 
"repairing" the attribute.  That is why the approach specified in the 
rfc4893bis is adopted, and it has been implemented widely.

-- Enke

On 6/12/12 10:14 AM, Claudio Jeker wrote:
> On Tue, Jun 12, 2012 at 08:38:29AM -0700, Robert Raszuk wrote:
>> Hi Claudio,
>>
>> One clarification question to your comment ...
>>
>>> It forces bgp implementations that don't have
>>> confederation support to strip out something that will cause an error in
>>> the regular path and for those systems ignoring the AS4_PATH attribute
>>> is perfectly fine.
>> Why are you saying that there will be an error in the regular
>> AS_PATH ? As far as I can see the above quote refers only to
>> AS4_PATH.
> If an implementation does not support confederations then an AS_PATH with
> confederation elements will cause an error. Sure an invalid AS4_PATH as
> that does not imply that the AS_PATH will have the same structure.
>
>> The motivation is that instead of dropping the session or treating
>> as withdraw robust BGP speaker can just remove the unexpected bad
>> elements from AS4_PATH. In that respect this paragraph seems to add
>> value and should be kept.
> It seems you did not finish reading the draft:
>
>     The AS4_PATH attribute in an UPDATE message SHALL be considered
>     malformed under the following conditions:
>
> ...
>
>        - the path segment type in the attribute is not one of the
>          types defined: AS_SEQUENCE, AS_SET.
>
>     A NEW BGP speaker that receives a malformed AS4_PATH attribute in an
>     UPDATE message from an OLD BGP speaker MUST discard the attribute,
>     and continue processing the UPDATE message.  The error SHOULD be
>     logged locally for analysis.
>
> So there is no dropping of the session and also no treat as withdraw.
> It will just remove a malformed AS4_PATH from the received attributes.
> Since an AS4_PATH attribute MUST NOT include AS_CONFED_SEQUENCE and
> AS_CONFED_SET (or anything else but AS_SEQUENCE and AS_SET) it can be
> considered malformed.
>
> What will we gain from having to add complex code for something that
> should not happen in the first place instead of using the default of
> reverting back to the regular 2-byte AS_PATH attribute because the
> AS4_PATH attribute was considered malformed?
>