Re: [sidr] Signed vs unsgned and bgp best path decision

Christopher Morrow <morrowc.lists@gmail.com> Fri, 23 March 2012 11:32 UTC

Return-Path: <christopher.morrow@gmail.com>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB79F21F8527 for <sidr@ietfa.amsl.com>; Fri, 23 Mar 2012 04:32:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.535
X-Spam-Level:
X-Spam-Status: No, score=-103.535 tagged_above=-999 required=5 tests=[AWL=0.064, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 kYfdrtEcx46K for <sidr@ietfa.amsl.com>; Fri, 23 Mar 2012 04:32:55 -0700 (PDT)
Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id 2E99521F851D for <sidr@ietf.org>; Fri, 23 Mar 2012 04:32:55 -0700 (PDT)
Received: by obbtb4 with SMTP id tb4so2739503obb.31 for <sidr@ietf.org>; Fri, 23 Mar 2012 04:32:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sA535UB1ld5rRMmVjAWtEAxGaJXsqiTCXHxrwgkRdVs=; b=fSCIfxGdtxAS1+D9SHXhNDO20+Ae0oUQTDsH74t96/mPOaKLgpkWGNemDPeRuH9IM/ sKzkBB8YvFouSSVEXu1h636Ne48SC5TrGFfZFCdC7igmnKTiXaa09fjxyPaG1oSD5+sf tv/7bH8q17VIlO3sngMTikuulQ5FkMCzxNyPYX4Bw6jjHvhgDDeTS0UN9gIr3C4klf5H b6qFBnSo1VfgAt14che128KJFfmmXf0iYYVYRY3QRSb1GaGX1JVux5mkVgPXi0VXgZ6n khssmzL5vdlntLCbPRrm2rdyUx3oIkD7lezAjAOAClc7pWYaziJqyNG3Zo0TJPQ4YLAr eikg==
MIME-Version: 1.0
Received: by 10.182.155.68 with SMTP id vu4mr13845572obb.61.1332502374789; Fri, 23 Mar 2012 04:32:54 -0700 (PDT)
Sender: christopher.morrow@gmail.com
Received: by 10.182.80.137 with HTTP; Fri, 23 Mar 2012 04:32:54 -0700 (PDT)
In-Reply-To: <4F6C579A.5080702@raszuk.net>
References: <19249.1332451876@x37.NIC.DTAG.DE> <4F6BB594.5040202@raszuk.net> <CAL9jLaZBWFWxCVBDLMnGn+SypnObRzsLH8hCGHB=8tStCkQg4g@mail.gmail.com> <4F6C50C9.8070702@raszuk.net> <CAL9jLaa6TgSv4nx0Y1MkuERDY2_T=4mQACv4+k8oQL0Z8aGg-w@mail.gmail.com> <4F6C579A.5080702@raszuk.net>
Date: Fri, 23 Mar 2012 07:32:54 -0400
X-Google-Sender-Auth: Kby9s0dY6vWCJ_OT2ODhSMFWEo0
Message-ID: <CAL9jLaatmhzbmCokJMTFCQcVmeK8Bqgf48fUTb4ZCaLXqo+G7w@mail.gmail.com>
From: Christopher Morrow <morrowc.lists@gmail.com>
To: robert@raszuk.net
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "sidr@ietf.org list" <sidr@ietf.org>
Subject: Re: [sidr] Signed vs unsgned and bgp best path decision
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sidr>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Mar 2012 11:32:55 -0000

On Fri, Mar 23, 2012 at 6:59 AM, Robert Raszuk <robert@raszuk.net> wrote:
>
>>> When compared to what is today I don't think folks are mandated by any
>>> RFC
>>> to make a choice between two attributes which carry the same metric to
>>> decide which one should win on a per AS basis.
>>
>>
>> they are not, and in the future the 'mandate' is I believe a 'SHOULD',
>> not a 'MUST' so not really a 'mandate', but a 'suggestion', eh?
>>
>> It seems that the intent of the effort here is really just to provide
>> an informational blob to the operators which they can use as they see
>> fit... much like other optional transitive attributes today.
>
>
> Ok that sounds very reasonable indeed.

progress!

> However number of folks have stated that bgpsec protocol proposal calls for
> replacing AS-PATH and AS4_PATH attributes with BGPSEC_Path_Sig attribute. In
> particular this text from /draft-ietf-sidr-bgpsec-protocol-02 sort of
> suggests that:
>
>   The other option is that the BGPSEC speaker

'other option'

>   discards anything in the AS_PATH attribute and reconstructs the

I believe this means: "You could just ignore AS_PATH and reconstruct
the content there from ..."
(or that's how I read the clipping)

>   AS_PATH from the data in the BGPSEC_Path_Signatures attribute.  I
>   believe that there are no interoperability problems if the choice
>   between these two options is left up to the BGPSEC speaker.

probably in this last sentence they mean "bgpsec listener" (since this
is on the receiver, not the sender?)

> Also it says in the same section 5:
>
>   One option the

'option'

>   BGPSEC speaker checks the AS_PATH attribute against the information
>   in the BGPSEC_Path_Signatures attribute and returns "Not Good" if the
>   two do not match.
>
> That means that if AS_PATH for example contains AS_SET that someone doing
> BGP multipath (across non identical paths) has correctly inserted into
> AS_PATH or as mentioned before did replace-as the update will be dropped as
> BGPSEC just can not handle those ....

sure. 'option' I don't think if there were an AS_SET in the update
coming from the BGPSEC speaking peer there would be sig parts to worry
about (since the inclusion of AS_SET means you can't secure the
path...So, I suppose if this condition exists the path is invalid by
default? and likely spoof/bad/malicious?)

>
>
> Meta question:
>
> Can optional attribute result in such drastic actions (nothing to do with
> operator's choice of local behavior) against mandatory attribute(s) ?

I think you created a situation which is actually in violation of the
standard... or which would be seen as a malicious update and which
should be dropped, so I'm not sure your meta-question follows properly
here?

-chris