Re: [Idr] recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12

Linda Dunbar <ldunbar@futurewei.com> Tue, 11 June 2019 03:41 UTC

Return-Path: <ldunbar@futurewei.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 9635A1200E0; Mon, 10 Jun 2019 20:41:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.415
X-Spam-Level:
X-Spam-Status: No, score=-2.415 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.415, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.com
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 TkbN5Lr2mhuJ; Mon, 10 Jun 2019 20:41:34 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-eopbgr780102.outbound.protection.outlook.com [40.107.78.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3E7112007C; Mon, 10 Jun 2019 20:41:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lp9Os2R/ad66sokuTfshzFj1v9CfJ1CTNtzSt2fuJU8=; b=oMvbmrCKXN/TaofMm2S0auKcOjRg1QCxWnmaUVJACyrIEDEIuy8N7cvReLagj0eTkF5VlGzRPWwRz7M6m8Q1CL2L6go2LL0Zl2DBn26Vky5C0OweuZt9VtZB/8EhMf5BDOrSoLin3mmA8HI8aDxKuxGwZ/t0JWPFO//9jQQoEFU=
Received: from MN2PR13MB3582.namprd13.prod.outlook.com (10.255.238.139) by MN2PR13MB3183.namprd13.prod.outlook.com (20.179.150.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Tue, 11 Jun 2019 03:41:31 +0000
Received: from MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::b5e8:95cb:5d8e:9397]) by MN2PR13MB3582.namprd13.prod.outlook.com ([fe80::b5e8:95cb:5d8e:9397%7]) with mapi id 15.20.1987.010; Tue, 11 Jun 2019 03:41:31 +0000
From: Linda Dunbar <ldunbar@futurewei.com>
To: John Scudder <jgs@juniper.net>
CC: Keyur Patel <keyur@arrcus.com>, "draft-ietf-idr-tunnel-encaps@ietf.org" <draft-ietf-idr-tunnel-encaps@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12
Thread-Index: AdUfzDTwk+JWx4NrTbCw24feqIEcxQADfhQAAAsC6QA=
Date: Tue, 11 Jun 2019 03:41:31 +0000
Message-ID: <MN2PR13MB3582D2ECC20AB6F5B3F1ABC8A9ED0@MN2PR13MB3582.namprd13.prod.outlook.com>
References: <MN2PR13MB358247036D97F6620E2CB987A9130@MN2PR13MB3582.namprd13.prod.outlook.com> <234E41A5-F754-4630-B73C-8A9D52E44198@juniper.net>
In-Reply-To: <234E41A5-F754-4630-B73C-8A9D52E44198@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ldunbar@futurewei.com;
x-originating-ip: [12.111.81.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5fdaff59-32d2-47ce-0e7d-08d6ee1eb17f
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR13MB3183;
x-ms-traffictypediagnostic: MN2PR13MB3183:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <MN2PR13MB3183BA5B2290986AC55E2927A9ED0@MN2PR13MB3183.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 006546F32A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(396003)(376002)(39850400004)(136003)(346002)(366004)(199004)(189003)(9686003)(14444005)(66574012)(236005)(256004)(55016002)(1941001)(2906002)(6436002)(6306002)(71200400001)(5024004)(71190400001)(68736007)(11346002)(54896002)(8936002)(7736002)(26005)(3846002)(186003)(446003)(6116002)(790700001)(25786009)(486006)(476003)(86362001)(229853002)(81156014)(81166006)(99286004)(8676002)(7696005)(53546011)(14454004)(508600001)(66946007)(54906003)(102836004)(6246003)(53936002)(76176011)(6506007)(76116006)(66476007)(66446008)(64756008)(66556008)(33656002)(4326008)(6916009)(52536014)(316002)(5660300002)(73956011)(66066001)(74316002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR13MB3183; H:MN2PR13MB3582.namprd13.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: futurewei.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: qoPIb3BDp1cI9MtkR+iJ+nH+GAXyKextRtInQKwtpt6Rbkzz2K6oVSd8GhJiYwWHRECoFhSLOXHIQYf/mz2E+u2YfE/x72BMjdzrCb/7HOWrZopnzyn9P0/dfq5YVE5Dr85UsAHnAagRHl5XKQn4UOKaNTsMH+B3/hRrEypNC+Twy8RS9D+7Eo7ZmLMcpw/CtsixrVn+uaSaMgDR9/+0qHD61gMjOyuQomp0cLvuJGbgWE3dm/G1+KYedi4RGyVQPtlpd5i+d2BHzcqMXDXP/B9BaXPpe6ROGk3lERFWgFZnDN77a+AYwAGcWXUBraMHaoJ+K0OGPksvQH5IADPoS2HeYgkFivZS2jyhl/etz86H4hDjfPDaPcm2KVtjwSNQtgJUX608h1kOdeZR6AQkThjdn7u5LFZVmvC9IjQkaxI=
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3582D2ECC20AB6F5B3F1ABC8A9ED0MN2PR13MB3582namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5fdaff59-32d2-47ce-0e7d-08d6ee1eb17f
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2019 03:41:31.1888 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ldunbar@futurewei.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3183
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/82iLLvUvH1Hz8s_we4DMMLmPQcg>
Subject: Re: [Idr] recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 11 Jun 2019 03:41:38 -0000

John,

You raised a good point.

In RFC5512, the BGP speaker indicates the originating Interface address in the NLRI. I would imagine the receiver can validate the information.

the draft-ietf-idr-tunnel-encaps-12 doesn’t have the information, is it correct?

Linda

From: John Scudder <jgs@juniper.net>
Sent: Monday, June 10, 2019 5:17 PM
To: Linda Dunbar <ldunbar@futurewei.com>
Cc: Keyur Patel <keyur@arrcus.com>; draft-ietf-idr-tunnel-encaps@ietf.org; idr@ietf.org
Subject: Re: recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12

(As a WG contributor)

Hi Linda,

I have a question for you — when you say RFC5512 doesn’t allow a third party to inject routes on behalf of a legitimate router, what do you think would prevent it? You mention the endpoint address in the NLRI, but what would prevent the malicious entity you mention for falsifying it?

Thanks,

—John


On Jun 10, 2019, at 4:47 PM, Linda Dunbar <ldunbar@futurewei.com<mailto:ldunbar@futurewei.com>> wrote:

Keyur,

Thank for the email.
One more question:

  *   Does the “Remote Endpoint” in draft-ietf-idr-tunnel-encaps-12 represent the BGP speaker that originates the update? Or the remote end point that the “Tunnel” is established to?

     *   I have been told two different versions of the answers. I need confirmation from the authors.


Reading through the Section 13 Security Consideration, I don’t think the following questions have been addressed:


  1.  In RFC5512, the BGP speaker indicates the originating Interface address in the NLRI (section 3):

<image001.png>

Questions:


  *   draft-ietf-idr-tunnel-encaps-12  no longer has the BGP speaker originating the update. Is it intended?


If Yes, does it mean that it allows a third party (which could be malicious entity) to inject routes on behalf of a legitimate router (but RFC5512 doesn’t)?


  *   Why add this scenario? If it is a conscious decision, should have some text to explain why and how to mitigate the security threats introduced.


  *   Section 13 suggests using BGP Origin Validation to obtain the additional assurances of the origin AS is valid. But being valid origin AS doesn’t mean the specific flow is supposed to go/come from there.


#Keyur: Section 13 of the draft version 12 describes Security Considerations that should address your security questions. The option is to provide flexibility.


Thank you,

Linda Dunbar

From: Keyur Patel <keyur@arrcus.com<mailto:keyur@arrcus.com>>
Sent: Saturday, June 08, 2019 3:45 AM
To: Linda Dunbar <ldunbar@futurewei.com<mailto:ldunbar@futurewei.com>>; draft-ietf-idr-tunnel-encaps@ietf.org<mailto:draft-ietf-idr-tunnel-encaps@ietf.org>; idr@ietf.org<mailto:idr@ietf.org>
Cc: John Scudder <jgs@juniper.net<mailto:jgs@juniper.net>>
Subject: Re: recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-11

Hi Linda,

Apologies for the delayed response. Responses are inline. #Keyur

From: Linda Dunbar <linda.dunbar@huawei.com<mailto:linda.dunbar@huawei.com>>
Date: Thursday, March 28, 2019 at 6:52 AM
To: idr wg <idr@ietf.org<mailto:idr@ietf.org>>, "draft-ietf-idr-tunnel-encaps@ietf.org<mailto:draft-ietf-idr-tunnel-encaps@ietf.org>" <draft-ietf-idr-tunnel-encaps@ietf.org<mailto:draft-ietf-idr-tunnel-encaps@ietf.org>>
Subject: recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-11
Resent-From: <keyur@arrcus.com<mailto:keyur@arrcus.com>>
Resent-To: <erosen52@gmail.com<mailto:erosen52@gmail.com>>, <keyur@arrcus.com<mailto:keyur@arrcus.com>>, <gunter.van_de_velde@nokia.com<mailto:gunter.van_de_velde@nokia.com>>
Resent-Date: Thursday, March 28, 2019 at 6:52 AM

Just want to reiterate my questions and issues I raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-11, to make it easier for the authors to address them in the next revision (I have sent the questions multiple times on the IDR mailing list, but no one responded):


  1.  When a client route can egress multiple egress ports (each with different IP addresses), does the Tunnel-Encap allow multiple “Remote-endpoint” SubTLV to be attached one UPDATE?

#Keyur: Yes. Section 5 of the draft version 12 has a following  text:

<snip>
A Tunnel Encapsulation attribute may contain several TLVs that all
   specify the same tunnel type.  Each TLV should be considered as
   specifying a different tunnel.  Two tunnels of the same type may have
   different Remote Endpoint sub-TLVs, different Encapsulation sub-TLVs,
   etc.  Choosing between two such tunnels is a matter of local policy.
</snip>



  1.  Section 3.1 Page 10: The last paragraph states that if “Remote-Endpoint sub-TLV contains address is valid but not reachable, and the containing TLV is NOT be malformed ..”. Why a address not reachable is considered as “Not Malformed”?

#Keyur: That is because the Remote-Endpoint could become reachable at the later time. Making it malformed would mean that the Remote-Endpoint has to be dropped upon a receipt of the update message (and could never be used).



  1.  In RFC5512, the BGP speaker indicates the originating Interface address in the NLRI (section 3):

<image001.png>

draft-ietf-idr-tunnel-encaps-11  no longer has the BGP speaker originating the update. Is it intended? If Yes, does it mean that it allows a third party (which could be malicious entity) to inject routes on behalf of a legitimate router (but RFC5512 doesn’t)?  Why add this scenario? How to address the security threats introduced? If it is a conscious decision, should have some text to explain why and how to mitigate the security threats introduced.

#Keyur: Section 13 of the draft version 12 describes Security Considerations that should address your security questions. The option is to provide flexibility.

Regards,
Keyur



Thanks, Linda Dunbar