Re: [Idr] recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12
John Scudder <jgs@juniper.net> Mon, 10 June 2019 22:26 UTC
Return-Path: <jgs@juniper.net>
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 6D1D01201B5; Mon, 10 Jun 2019 15:26:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.709
X-Spam-Level:
X-Spam-Status: No, score=-2.709 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 UAFLx-OMd0mO; Mon, 10 Jun 2019 15:26:17 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 AD56C120025; Mon, 10 Jun 2019 15:26:17 -0700 (PDT)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5AMJKWS010478; Mon, 10 Jun 2019 15:26:14 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=Tgc6eWDhodNBIibPqJk3ZlHsGGcHUEB/bL2hNi5RxHs=; b=pvXjxf5D6hGaP0xFnBl20x9BiAMONV+llwQa4u/ZY6nYGXZP92mNAlcBSOKTynQQx2aF ItYYV4x/YOe2wdFLn/hYlHnH0wM6RlDZc0iba9xlbQJt6jB98cgkwlUa+LL1GgHQPwJG Ys8gybT1vX9CQe68rg6QzSc0ioAZuLSTh6O78qKBUksEnO09H8pzEWUS7P4gkQ5xQX2A xuYkGKMc4I/tDtTDYTfOSnZxlq0SVDWbu3wP4cZ7iIiVm0/jNNaynIKNgrk2PjufzMYK Bh6Ae2ZB852wU16UsoEd/6sLDqdp73G86CckPKLcU/D9nrxMJauW5+J9zJHBAer6IyBh dg==
Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp2055.outbound.protection.outlook.com [104.47.37.55]) by mx0a-00273201.pphosted.com with ESMTP id 2t1wjug744-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2019 15:26:13 -0700
Received: from DM6PR05MB4714.namprd05.prod.outlook.com (20.176.109.215) by DM6PR05MB4044.namprd05.prod.outlook.com (20.176.71.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Mon, 10 Jun 2019 22:26:11 +0000
Received: from DM6PR05MB4714.namprd05.prod.outlook.com ([fe80::1549:ffd0:8373:4593]) by DM6PR05MB4714.namprd05.prod.outlook.com ([fe80::1549:ffd0:8373:4593%3]) with mapi id 15.20.1987.008; Mon, 10 Jun 2019 22:26:11 +0000
From: John Scudder <jgs@juniper.net>
To: Linda Dunbar <ldunbar@futurewei.com>
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: [Idr] recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12
Thread-Index: AdUfzDTwk+JWx4NrTbCw24feqIEcxQADfhQAAABU8AA=
Date: Mon, 10 Jun 2019 22:26:11 +0000
Message-ID: <6691B6FF-E9F5-4E9B-8D91-E8371993EDB5@juniper.net>
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:
x-originating-ip: [162.225.191.79]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a1b9bc12-f931-42f7-613e-08d6edf2a464
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DM6PR05MB4044;
x-ms-traffictypediagnostic: DM6PR05MB4044:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <DM6PR05MB4044D29C1EBC71E9DD8F6C3DAA130@DM6PR05MB4044.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0064B3273C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(136003)(396003)(366004)(39860400002)(376002)(199004)(189003)(2616005)(476003)(33656002)(68736007)(99286004)(14454004)(8936002)(81166006)(81156014)(14444005)(11346002)(256004)(486006)(5660300002)(6116002)(446003)(86362001)(53936002)(5024004)(3846002)(83716004)(66574012)(316002)(71200400001)(54906003)(71190400001)(966005)(236005)(66446008)(91956017)(102836004)(6306002)(76116006)(54896002)(66556008)(7736002)(66476007)(66946007)(76176011)(6512007)(26005)(6916009)(6486002)(73956011)(186003)(478600001)(6436002)(36756003)(6246003)(6506007)(4326008)(64756008)(53546011)(229853002)(25786009)(8676002)(66066001)(82746002)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4044; H:DM6PR05MB4714.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: Ym/emlzKH2KYh+DSLRWj8zXHJz5GAhuBbratd/tXUo7aj8IUyksut6KZbmQ8NJbM31hbMQbZjyH8nc5OUG1Imq9RMW/TjceUw/VwG83EkLoqoniYGj0LpeqVamK3GgouH4n1HrbGlgFPNByi3Up4qO6GEJlOzkMcO4KG4yomS840PwasC39QGNapxVDe1GXfPgTliScpBNMqWy5gE6v7hvdsCEuExSF8pKO7H8ax0g/v1lW1SsuhISFcO5jBZVjYCH0tkjVwnte2IIpo1LvkXWK46GA5vyTKRGLcJBOOjlUlgwkbwUOecaA7PVbtwbfafHQvo2ourfgfnHzI249deDG/2ALttMb13IOcwfTzob2aBLAt6fye1cigm3fBmL9SC+IdInpFoAEvLa9QlXXJfQvtYl7LjJGfTd+dRINueuc=
Content-Type: multipart/alternative; boundary="_000_6691B6FFE9F54E9B8D91E8371993EDB5junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: a1b9bc12-f931-42f7-613e-08d6edf2a464
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 22:26:11.4814 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jgs@juniper.net
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4044
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-10_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906100150
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/IMluL6bp5zpN9nv3OXa-iXvSiAg>
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: Mon, 10 Jun 2019 22:26:27 -0000
(Still as a WG contributor) A little bit more on this. Your comments led me to go look back at the draft’s Security section again. The first paragraph reads The Tunnel Encapsulation attribute can cause traffic to be diverted from its normal path, especially when the Remote Endpoint sub-TLV is used. This can have serious consequences if the attribute is added or modified illegitimately, as it enables traffic to be "hijacked". This seems like an explicit acknowledgement of the general class of attack you describe. It might be helpful if you provide a worked example of a specific attack that would succeed against a tunnel-encaps implementation, but would not succeed against a 5512 implementation. I can’t think of one off the top of my head, but you clearly have something in mind. Thanks, —John On Jun 10, 2019, at 6:16 PM, John Scudder <jgs=40juniper.net@dmarc.ietf.org<mailto:jgs=40juniper.net@dmarc.ietf.org>> wrote: (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 from 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 _______________________________________________ Idr mailing list Idr@ietf.org<mailto:Idr@ietf.org> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_idr&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=hLt5iDJpw7ukqICc0hoT7A&m=ss5r9k8Dew3MPUscEO1GEzNXkyfGpMlZLZUarUnS3Ys&s=_MC-6zg-U8xFzoGxuXaXYA3GVjY7anTiHQ-cuyr9Pfw&e=
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Robert Raszuk
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Robert Raszuk
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Srihari Sangli
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Acee Lindem (acee)
- Re: [Idr] recap my questions and issues raised du… 徐小虎(义先)
- Re: [Idr] recap my questions and issues raised du… Dongjie (Jimmy)
- Re: [Idr] recap my questions and issues raised du… Keyur Patel
- Re: [Idr] recap my questions and issues raised du… Linda Dunbar
- Re: [Idr] recap my questions and issues raised du… Susan Hares
- Re: [Idr] recap my questions and issues raised du… Ali Sajassi (sajassi)
- Re: [Idr] recap my questions and issues raised du… Ali Sajassi (sajassi)
- Re: [Idr] recap my questions and issues raised du… John Scudder
- Re: [Idr] recap my questions and issues raised du… Acee Lindem (acee)