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:16 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 8D6F51200DE; Mon, 10 Jun 2019 15:16:54 -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 A4hSNvbi8MwZ; Mon, 10 Jun 2019 15:16:51 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 3CFC0120025; Mon, 10 Jun 2019 15:16:50 -0700 (PDT)
Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5AMAnSI009233; Mon, 10 Jun 2019 15:16:43 -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=+QgyeHN6wBW2z5/vo2UbXVR5ijlvm0i3q+dLdSG86ec=; b=BNx7sJ6pmgHFDill/mzk9Xj/DV9nkvaRGE/Pj2ozVbtvFr6hbyzoq/eCWdw/SrJ7lyKp aJpbSPaLL1+/9c0p40Q8SXFPcKh6nBRLwY1/9JCarK4ExbH9rf7QN/pYRyTD+jMQWKS6 e5mMNz8RkbcQMI/r5UtgXrR7PLIhm+e4z7Sm1oPQkywb2/L2iHOxDz8BVvkUjvVvinfG JClJgWJMewIWY591K3JlIIMPSVxXHKQVBLwAIC06AG5n76dtl4PaMnemB69N8n8Y/uNz 5JsbeIcv8ZEt+KhaOT1gEmcS7yjy3hD50XzeIywoY5qV1a6cPlEgCKOl1DurRFW4IcjX vQ==
Received: from nam03-dm3-obe.outbound.protection.outlook.com (mail-dm3nam03lp2056.outbound.protection.outlook.com [104.47.41.56]) by mx0b-00273201.pphosted.com with ESMTP id 2t1wf5072w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2019 15:16:43 -0700
Received: from DM6PR05MB4714.namprd05.prod.outlook.com (20.176.109.215) by DM6PR05MB5548.namprd05.prod.outlook.com (20.176.122.219) 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:16:41 +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:16:41 +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: recap my questions and issues raised during IDR Thurs session for draft-ietf-idr-tunnel-encaps-12
Thread-Index: AdUfzDTwk+JWx4NrTbCw24feqIEcxQADfhQA
Date: Mon, 10 Jun 2019 22:16:41 +0000
Message-ID: <234E41A5-F754-4630-B73C-8A9D52E44198@juniper.net>
References: <MN2PR13MB358247036D97F6620E2CB987A9130@MN2PR13MB3582.namprd13.prod.outlook.com>
In-Reply-To: <MN2PR13MB358247036D97F6620E2CB987A9130@MN2PR13MB3582.namprd13.prod.outlook.com>
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: 03d0f383-04f1-40a4-b1d5-08d6edf150c1
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:DM6PR05MB5548;
x-ms-traffictypediagnostic: DM6PR05MB5548:
x-microsoft-antispam-prvs: <DM6PR05MB5548D72A8FAE33B6C6A70B8AAA130@DM6PR05MB5548.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0064B3273C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(366004)(346002)(39860400002)(136003)(199004)(189003)(73956011)(6436002)(11346002)(66946007)(76116006)(6512007)(476003)(54896002)(229853002)(53936002)(2906002)(66446008)(8676002)(99286004)(8936002)(3846002)(6116002)(81156014)(66476007)(81166006)(66556008)(64756008)(236005)(446003)(2616005)(33656002)(6486002)(102836004)(186003)(26005)(478600001)(53546011)(36756003)(6506007)(6916009)(68736007)(25786009)(4326008)(76176011)(6246003)(5660300002)(82746002)(256004)(86362001)(486006)(7736002)(71190400001)(71200400001)(83716004)(14454004)(66066001)(14444005)(5024004)(66574012)(316002)(54906003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB5548; 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: xrAyjCXqAWTrJocVCMEaBmd0SHb9wyl24Hbsp8vpm6Bk9ktOjsJze8rCT2kU/WW9H0NEf8KwzHMo3bqJoc+ApyvG+wk9P1N/5gEU3FzRRqmBv2DUoWGGg5HydVmSYJxSqpJWBnbWIn9FV/iGRgtOdNwd/RjL1APOj4MyDL0xlM1qXyLp+Wx4QOAS55Rm72Oehle4+/BrOhkRRcwsb77+iA3bLz/uqp3q+gTg1QmP0EVt11EUxtzmJqftcfoDiPk8GxfZwdOf6FkR2QV8LJFYTaPhHR5G92DMSXzu5a7JcQS24F6bDI3laaKe8Q9HP5X2Xt91dj7Yb4O9HKPRHWtmeFDGdrL9d4dh8W1kxxaZvYtqgIc2MBJvPMwYgYtQupdsbkJ6t8opGJSGqW/YY8ai+lh8ODXuoREmy7PJ6trI9xo=
Content-Type: multipart/alternative; boundary="_000_234E41A5F7544630B73C8A9D52E44198junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 03d0f383-04f1-40a4-b1d5-08d6edf150c1
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 22:16:41.6666 (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: DM6PR05MB5548
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-1906100149
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/7LEUfkS7zNuwDEvXI8rBON0Oa6U>
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:16:55 -0000

(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