Re: [CDNi] Jon's commet on draft-ietf-cdni-redirection

Kevin Ma J <kevin.j.ma@ericsson.com> Thu, 10 December 2015 00:54 UTC

Return-Path: <kevin.j.ma@ericsson.com>
X-Original-To: cdni@ietfa.amsl.com
Delivered-To: cdni@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 091861A6F3E for <cdni@ietfa.amsl.com>; Wed, 9 Dec 2015 16:54:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
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 B1_JVcCrnY0B for <cdni@ietfa.amsl.com>; Wed, 9 Dec 2015 16:54:36 -0800 (PST)
Received: from usplmg21.ericsson.net (usplmg21.ericsson.net [198.24.6.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99C511A6F29 for <cdni@ietf.org>; Wed, 9 Dec 2015 16:54:36 -0800 (PST)
X-AuditID: c6180641-f799c6d000007d66-86-5668cd46d0a9
Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 92.A4.32102.64DC8665; Thu, 10 Dec 2015 01:54:31 +0100 (CET)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC005.ericsson.se ([147.117.188.87]) with mapi id 14.03.0248.002; Wed, 9 Dec 2015 19:54:35 -0500
From: Kevin Ma J <kevin.j.ma@ericsson.com>
To: "Peterson, Jon" <jon.peterson@neustar.biz>, "Francois Le Faucheur (flefauch)" <flefauch@cisco.com>, Niven-Jenkins Ben <ben@niven-jenkins.co.uk>
Thread-Topic: [CDNi] Jon's commet on draft-ietf-cdni-redirection
Thread-Index: AQHRB0Snkq4vCB0pNUWs9BHaBcT/a55tfYGAgACFV4CAAIrmgIAAGj0AgABc0wCAANIKgIAAa4+AgAcwhICACDRggIAHlXwAgB5HeuCAHilkgP//v5FQgABfQ4D//7Ey8IAAB7nTgABZvgD//8B+AAAMc5CAAAkxVhA=
Date: Thu, 10 Dec 2015 00:54:34 +0000
Message-ID: <A419F67F880AB2468214E154CB8A556206C0E082@eusaamb103.ericsson.se>
References: <73F3A4F6-FC5D-4BC8-BEEC-82F27BA3641F@tno.nl> <102272CE-9EF0-4959-B9E2-8A2F10147BF7@cisco.com> <853CC284-D147-4A1F-8C47-213775F47768@cisco.com> <D24513A6.162A5C%jon.peterson@neustar.biz> <437C224B-1C0E-4705-8D52-98E139DDD75E@niven-jenkins.co.uk> <D246687E.164DFF%jon.peterson@neustar.biz> <CF0138DC-609E-4A1D-993A-5CC022450CE2@niven-jenkins.co.uk> <D2468554.16520D%jon.peterson@neustar.biz> <46A08C98-7B12-4F98-8826-8E9FE904B83C@niven-jenkins.co.uk> <D247D7A3.168019%jon.peterson@neustar.biz> <EAE2DE25-7D4B-4495-A360-9B2CEEE92B04@niven-jenkins.co.uk> <B76799A9-6DB0-4FD7-A422-43174B0D095F@niven-jenkins.co.uk> <6DF9C32E-A750-4CF6-A613-489225FC5042@cisco.com> <A419F67F880AB2468214E154CB8A556206BEBA0C@eusaamb103.ericsson.se> <D28DAF8A.1753CF%jon.peterson@neustar.biz> <A419F67F880AB2468214E154CB8A556206C0D76E@eusaamb103.ericsson.se> <D28DD340.1754C7%jon.peterson@neustar.biz> <A419F67F880AB2468214E154CB8A556206C0D9C6@eusaamb103.ericsson.se> <F84FB219-2F2A-4276-89CB-36DA36BC2B9B@ericsson.com> <D28DE286.1754D9%jon.peterson@neustar.biz> <A419F67F880AB2468214E154CB8A556206C0DD8A@eusaamb103.ericsson.se> <D28DFCD6.1754F5%jon.peterson@neustar.biz>
In-Reply-To: <D28DFCD6.1754F5%jon.peterson@neustar.biz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.11]
Content-Type: multipart/alternative; boundary="_000_A419F67F880AB2468214E154CB8A556206C0E082eusaamb103erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsUyuXRPuK772Ywwg/ddrBYLzk1gs3g6+w+r xb8Fp5kszjRYOrB4TPm9kdVjyZKfTB47Gp4ze/y8PokxgCWKyyYlNSezLLVI3y6BK6P5xjrm gr9pFR/PTmJvYPwW0cXIySEhYCJx9fYnZghbTOLCvfVsXYxcHEICRxglfvV8YoJwljFKdN78 AlbFJqAl8fjrXyYQW0RgKqPEo9/1IDazgLLElua9jCC2sIC9RO/lDjaIGgeJVd9WMELYmxgl dj3W6GLk4GARUJU4vVcdJMwr4Cux9Nc9VohdGzklVvd2ge3iFDCXmHtzFtguRqDrvp9awwSx S1zi1pP5TBBXC0gs2XMe6gNRiZeP/7FC2EoSH3/PZ4eoz5fYua2dEWKZoMTJmU9YJjCKzkIy ahaSsllIyiDiOhILdn9ig7C1JZYtfM0MY5858JgJWXwBI/sqRo7S4oKc3HQjw02MwOg7JsHm uINxb6/nIUYBDkYlHt4PCelhQqyJZcWVuYcYJTiYlUR4dU5nhAnxpiRWVqUW5ccXleakFh9i lOZgURLnZWRgYBASSE8sSc1OTS1ILYLJMnFwSjUwlh9YPF/9v5pLt4fP9Iney1ON7WqXVcav cYqNfKK8mqUp9PEDOU/LjWs7Rc7vKk503shyf/2TqqBuA5fAlt+yeVa/X4pYnsy9sI0lctlH mZVtVZ9aGkTPvZfwsAkq3zq3UyeiIGeyfe0Xobe606f7zGz65qq+vtNz+fcJltZ/Fx/u3PHa PkVJiaU4I9FQi7moOBEAvjjPuLoCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/cdni/ZzgUznZHgaUyBO7trBeVB5rI6P0>
Cc: "cdni@ietf.org" <cdni@ietf.org>
Subject: Re: [CDNi] Jon's commet on draft-ietf-cdni-redirection
X-BeenThere: cdni@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This list is to discuss issues associated with the Interconnection of Content Delivery Networks \(CDNs\)" <cdni.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cdni>, <mailto:cdni-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cdni/>
List-Post: <mailto:cdni@ietf.org>
List-Help: <mailto:cdni-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cdni>, <mailto:cdni-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Dec 2015 00:54:39 -0000

Hi Jon,

  Fair enough.  I'm ok with the text below.  I'm torn between being more explicit about the issues and maybe adding a few SHOULDs/MUSTs, and coming up with the least controversial text; I agree with deferring the discussion to draft-fieau.

thanx!

--  Kevin J. Ma

From: Peterson, Jon [mailto:jon.peterson@neustar.biz]
Sent: Wednesday, December 09, 2015 7:09 PM
To: Kevin Ma J; Francois Le Faucheur (flefauch); Niven-Jenkins Ben
Cc: cdni@ietf.org
Subject: Re: [CDNi] Jon's commet on draft-ietf-cdni-redirection

No, we really cannot say in our specification text that we assume the UA will (or even should) continue despite the presence of security warnings - my email was just being snarky by pointing out that users in fact tend to do that, but that is a bad thing, and it is our job as spec authors to prevent them from being in that position. I think we're shifting the focus here too much to the warnings themselves and not to the problem that is causing the warnings. The problem causing the warnings is that in this HTTPS case, the DNS redirect insecurely directs you to another domain, and that HTTPS should fail when that happens, if the domain does not hold the keying material that the UA expects.

The proper, long-term way to actually fix this is either to use DNSSEC, or to give up DNS redirection entirely and just use HTTPS. In that case the UA securely learns that it should negotiate TLS with the RT's domain instead of the original domain. But we're not going to tell people they have to do that.

The immediate solution (i.e. workaround) is "operational mechanisms" that we assume here, but do not detail - that is, the uCDN giving away its private key to all relevant devices in all dCDNs that could conceivably be RTs. All of your partners/competitors can now impersonate you: enjoy! That is why this is just a workaround.

The mid-term way to address this is the problem space that draft-fieau is trying (I think, anyway) to shape.

Are we home yet? Here's some proposed edits:

  In all three of the above cases, either HTTP or HTTPS could be used to connect to the Redirection Target. When HTTPS is used to connect to the uCDN, if the uCDN uses DNS redirection to identify the RT to the User Agent, then the new target domain name may not match the domain in the URL dereferenced to reach the uCDN: without operational precautions, and in the absence of DNSSEC, this can make a legitimate redirection look like a DNS-based attack to a User Agent and trigger false-negative security warnings. When DNS-based redirection with HTTPS is used, this specification assumes that any RT can complete the necessary TLS handshake with the User Agent. Any operational mechanisms this requires, e.g., private key distribution to surrogates and request routers in dCDNs, are outside the scope of this document. Further mechanisms to notify User Agents of trusted redirection are also outside the scope of this document.

Jon Peterson
Neustar, Inc.