Re: [Idr] draft-keyupate-idr-bgp-prefix-sid-00 & SP isolations

Robert Raszuk <robert@raszuk.net> Tue, 18 November 2014 17:09 UTC

Return-Path: <rraszuk@gmail.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 9F1E41A1AAA for <idr@ietfa.amsl.com>; Tue, 18 Nov 2014 09:09:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 DhGOKjuIXLCy for <idr@ietfa.amsl.com>; Tue, 18 Nov 2014 09:09:00 -0800 (PST)
Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26F541A1AA4 for <idr@ietf.org>; Tue, 18 Nov 2014 09:09:00 -0800 (PST)
Received: by mail-ie0-f171.google.com with SMTP id rl12so3973800iec.30 for <idr@ietf.org>; Tue, 18 Nov 2014 09:08:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gU3jyA7PVsYFMWfVKoN/VyM7oPPnzn2Lmh6eh/msXzo=; b=S4GysNyhVRFkolKnAxH3wTf6TUcMRw16Qp8x+pPR0c3TyKIGcVUkFKxHZQQZb0k81u JkMGShTaGXRgpDJ+fHquyMl1MtXcem++PxHAfgE/T0tDMsEiTU589RO8QKOyBt7LP+Eb QKZWPFPaBtEpV3k4tXUxi1UEYi3PqoDYlZJI92dw7KPPg1p2LJgx8kQRG5nX1+gNeM4K obkJ8s7ZtHugvPUzlmSbJ3nr2jxAwteQOmWEnH0LAG0Cv3NdEZ6jLxI2UlVBzWWP3sKi PhfyR6LEvWKgPqoZbxh/n5YWXlS7E3MXHyMpmgMQWiPoVh2aBWy2oDZgch66MMvUzwqh jlow==
MIME-Version: 1.0
X-Received: by 10.42.230.15 with SMTP id jk15mr5840827icb.55.1416330539342; Tue, 18 Nov 2014 09:08:59 -0800 (PST)
Sender: rraszuk@gmail.com
Received: by 10.107.171.149 with HTTP; Tue, 18 Nov 2014 09:08:59 -0800 (PST)
In-Reply-To: <8569_1416329672_546B79C8_8569_2021_1_53C29892C857584299CBF5D05346208A07265A06@PEXCVZYM11.corporate.adroot.infra.ftgroup>
References: <8569_1416329672_546B79C8_8569_2021_1_53C29892C857584299CBF5D05346208A07265A06@PEXCVZYM11.corporate.adroot.infra.ftgroup>
Date: Tue, 18 Nov 2014 18:08:59 +0100
X-Google-Sender-Auth: 4xOsHYL7DJ3ASmcNbMETbitFOII
Message-ID: <CA+b+ER=MbsHbSU=qY7mwLEvjQPqKEjy3rW2WqCQqoTXfzqmpEQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
To: Bruno Decraene <bruno.decraene@orange.com>
Content-Type: multipart/alternative; boundary="001a11c35e34aea5f2050825265d"
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/u4LEGoONpv2uM6NOT8H95kZOrNI
Cc: "idr@ietf. org" <idr@ietf.org>
Subject: Re: [Idr] draft-keyupate-idr-bgp-prefix-sid-00 & SP isolations
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: Tue, 18 Nov 2014 17:09:02 -0000

>
> Some routes may be received unlabeled (from untrusted sources) and
> redistributed as labeled. e.g. IPv6 → 6PE, IP --> VPN IP
> How would the AS protect itself (from SID collision) from non
> labeled/trusted  routes received with a SID attributes, and then
> re-advertised as labelled?
>

​Hi Bruno,

Doesn't the above concern is solved by the below sentence from the draft:

"The BGP Label Index attribute SHOULD only be announced with BGP Prefixes
carried in a labeled address-family (SAFI value 4 or SAFI value 128)."​


​With this in mind how can you receive SID attribute with unlabeled route ?

Cheers,
R.




>
> "   A BGP speaker receiving a BGP Label index attribute from its EBGP
>    neighbor SHOULD discard the attribute unless it is configured to
>    accept the attribute from the EBGP neighbor."
>
> Is good but may not be sufficient as the above BGP speaker (ASBR) may not
> support this document and hence will propagate the attribute over iBGP
> sessions. (unless we require that all routers support this document in
> which case we may not need a transitive attribute, which would by itself
> address the problem)
>
> One option would be to mandate that by default a BGP session/peer
> group/AFI remove the received SID attribute. (or at least do not honor it,
> but I don't see the use case to keep the attribute that we don't want to
> use)
>  e.g. something like "To contain distribution of the BGP
>    Label Index attribute beyond its intended scope of applicability,
>    attribute filtering MAY be deployed."
>
> But for _received_ routes and with :s/MAY/SHOULD.
>
> At least the currently empty security consideration section should
> probably discuss this.
>
> Thanks,
> Regards.
> Bruno
>
> PS: On a side note "Segment Routing Architecture" should probably be a
> normative reference.
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>