[Idr] optional transitive - recognised but out of context

"iLya" <ilya@nobulus.com> Tue, 20 September 2011 07:08 UTC

Return-Path: <ilya@nobulus.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 6AAC021F8A56 for <idr@ietfa.amsl.com>; Tue, 20 Sep 2011 00:08:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.298
X-Spam-Level:
X-Spam-Status: No, score=-1.298 tagged_above=-999 required=5 tests=[AWL=-1.300, BAYES_50=0.001, STOX_REPLY_TYPE=0.001]
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 L2PJoie+98Yy for <idr@ietfa.amsl.com>; Tue, 20 Sep 2011 00:08:28 -0700 (PDT)
Received: from nobulus.com (nobulus.com [IPv6:2001:6f8:892:6ff::11:152]) by ietfa.amsl.com (Postfix) with ESMTP id D838D21F8A4E for <idr@ietf.org>; Tue, 20 Sep 2011 00:08:26 -0700 (PDT)
Received: from nobulus.com (localhost [127.0.0.1]) by nobulus.com (Postfix) with ESMTP id D77C3174E3 for <idr@ietf.org>; Tue, 20 Sep 2011 09:10:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at nobulus.com
Received: from nobulus.com ([127.0.0.1]) by nobulus.com (nobulus.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EX62+dipGOWE for <idr@ietf.org>; Tue, 20 Sep 2011 09:10:47 +0200 (CEST)
Received: from hnivarlas1 (unknown [IPv6:2001:6f8:892:6f8:e5e8:3ac8:5411:865b]) by nobulus.com (Postfix) with ESMTPA id D0C5A174D8 for <idr@ietf.org>; Tue, 20 Sep 2011 09:10:44 +0200 (CEST)
Message-ID: <8A40E55A626749F6AEA72EB24BD844EE@hnivarlas1>
From: iLya <ilya@nobulus.com>
To: idr@ietf.org
Date: Tue, 20 Sep 2011 09:10:41 +0200
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="koi8-r"; reply-type="original"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 14.0.8117.416
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416
Subject: [Idr] optional transitive - recognised but out of context
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, 20 Sep 2011 07:08:28 -0000

Hi,

yesterday and few days earlier several people have observed their BGP 
sessions being reset after seeing certain prefix. After some evaluation I've 
found that offending prefix (in global internet table) had optional 
transitive ATTR_SET (code 128) attached. Not having first hand access to 
platforms that exhibited session reset I'm speculating that they've 
recognised attribute as such but found it to be inappropriate for given 
context and so treated update as malformed with all consequences.

BGP specs seem to have only one place that could (with some stretching) 
justify such behaviour - from rfc4271#section-6.3 "...If an optional 
attribute is recognized, then the value of this attribute MUST be 
checked...". Wouldn't it be appropriate to add extra text that would clarify 
that optional transitive attributes out of context should not result in 
session reset?

P.S.: as far as I understood problematic BGP implementation is fixed in 
later software releases, but lack of clarity in BGP specs leaves room for 
similar problems in the future

Cheers,
iLya