Re: [Driu] [DNSOP] [Doh] Resolverless DNS Side Meeting in Montreal

Mike Bishop <mbishop@evequefou.be> Tue, 10 July 2018 18:09 UTC

Return-Path: <mbishop@evequefou.be>
X-Original-To: driu@ietfa.amsl.com
Delivered-To: driu@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2875130EAA; Tue, 10 Jul 2018 11:09:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=evequefou.onmicrosoft.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 8edN_97smWhc; Tue, 10 Jul 2018 11:09:39 -0700 (PDT)
Received: from NAM05-BY2-obe.outbound.protection.outlook.com (mail-eopbgr710110.outbound.protection.outlook.com [40.107.71.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18A2E131036; Tue, 10 Jul 2018 11:09:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evequefou.onmicrosoft.com; s=selector1-evequefou-be; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k9BZoUmLZ12sPFY6boOH52R0h7rbFM2eySAoMhW1DjA=; b=s7YIRkT4wtA0WSKFcJI2lBuZmdpAPwxViBQi8xMRzd2FrvoBYbzM8dMIkqJ/T1Qw++bnYVQSN7EN/4B2rsynqaFXOWF++TnAOXOVm79jBz2vFQj+e8Sho2W1n0P/pzdUDLmy653GLjv0J/AHm0kpUulHEQaEsggJjIf3ZQ24Kg0=
Received: from BYAPR08MB3944.namprd08.prod.outlook.com (52.135.194.30) by BYAPR08MB4903.namprd08.prod.outlook.com (20.176.255.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.20; Tue, 10 Jul 2018 18:09:34 +0000
Received: from BYAPR08MB3944.namprd08.prod.outlook.com ([fe80::2080:90d4:850e:af3]) by BYAPR08MB3944.namprd08.prod.outlook.com ([fe80::2080:90d4:850e:af3%2]) with mapi id 15.20.0952.017; Tue, 10 Jul 2018 18:09:34 +0000
From: Mike Bishop <mbishop@evequefou.be>
To: Ryan Sleevi <ryan-ietf@sleevi.com>, Adam Roach <adam@nostrum.com>
CC: Ted Lemon <mellon@fugue.com>, Joe Abley <jabley@hopcount.ca>, DoH WG <doh@ietf.org>, "driu@ietf.org" <driu@ietf.org>, dnsop WG <dnsop@ietf.org>, Paul Wouters <paul@nohats.ca>, Patrick McManus <pmcmanus@mozilla.com>, Philip Homburg <pch-dnsop-3@u-1.phicoh.com>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: [Driu] [DNSOP] [Doh] Resolverless DNS Side Meeting in Montreal
Thread-Index: AQHUGHcUEnMDtFq0KECSgsWzR+27KaSIv4hg
Date: Tue, 10 Jul 2018 18:09:34 +0000
Message-ID: <BYAPR08MB3944C30A1016F6978EA325F8DA5B0@BYAPR08MB3944.namprd08.prod.outlook.com>
References: <m1fcoe5-0000GuC@stereo.hq.phicoh.net> <alpine.LRH.2.21.1807101056140.5219@bofh.nohats.ca> <4a845808-5348-d6e4-dda2-59aaf0e85c14@nostrum.com> <3DF5A66C-CCBF-4116-A1FC-35CF8E05808B@hopcount.ca> <e1675184-f0bc-670d-3db1-b99a9daf1657@nostrum.com> <CAJhMdTOZtOpF_aK-ZzP0DfkDMcAtTKFLdSpKkrSPvP1cOgnOjQ@mail.gmail.com> <CAPt1N1=Xky1MjmbzdnR2zxcVbD3mz0O3Qo_uEVK96uMLUrwu8g@mail.gmail.com> <22df8aac-7b9d-0d0b-5eac-694e52be251d@nostrum.com> <CAErg=HGMkYFBMG2gHykXpPc5ry=DVsZHohSen-tT7-_281q7VQ@mail.gmail.com>
In-Reply-To: <CAErg=HGMkYFBMG2gHykXpPc5ry=DVsZHohSen-tT7-_281q7VQ@mail.gmail.com>
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=mbishop@evequefou.be;
x-originating-ip: [38.134.241.6]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR08MB4903; 7:JTavA3z8oo217M6erlWzeqkgZ4iDn0tvPxzFCjnBkj7XhMn7+H7StFADGupE1nCM5Ek/j6cFbdc5Dgn2a+7dy40Ue7Nlu37lW0k4rzQvfnajybPjlFhGMxobmnMRbAOoDgqA8W8WCSy8Sc1WUYJQ28Id0OJRZeK0/sXL1PNp3nc4h32N2vzTdbudmiQOcBCk2aFLKtikb/M362Jk6nX/rlA8B0/6xkzeVgk4YE46ZNYeHOLwk0Kum4ufhz6bOJge
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: f76556fb-7879-4bcf-4252-08d5e6904a9a
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989117)(5600053)(711020)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:BYAPR08MB4903;
x-ms-traffictypediagnostic: BYAPR08MB4903:
x-microsoft-antispam-prvs: <BYAPR08MB4903FE95E75FFA21B3880FE8DA5B0@BYAPR08MB4903.namprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(192374486261705)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123558120)(2016111802025)(20161123564045)(20161123562045)(20161123560045)(6072148)(6043046)(201708071742011)(7699016); SRVR:BYAPR08MB4903; BCL:0; PCL:0; RULEID:; SRVR:BYAPR08MB4903;
x-forefront-prvs: 0729050452
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(136003)(366004)(396003)(39830400003)(199004)(189003)(25786009)(106356001)(14454004)(966005)(74482002)(11346002)(186003)(68736007)(26005)(45080400002)(478600001)(105586002)(76176011)(446003)(86362001)(7696005)(5070765005)(316002)(476003)(6506007)(53546011)(110136005)(99286004)(486006)(102836004)(54906003)(33656002)(236005)(74316002)(55016002)(9686003)(6306002)(93886005)(7736002)(54896002)(8936002)(8676002)(81156014)(81166006)(66066001)(53936002)(256004)(14444005)(229853002)(4326008)(97736004)(6116002)(2900100001)(6436002)(3846002)(790700001)(5660300001)(7416002)(19609705001)(5250100002)(53386004)(6246003)(2906002)(606006); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR08MB4903; H:BYAPR08MB3944.namprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: evequefou.be does not designate permitted sender hosts)
x-microsoft-antispam-message-info: U+BdcX6mwRUFbJ4Ikn/doYbxngkiyu3crljeQOtugikpKO2PlH9nGXF82W5KF8BWWi7RnY9Iiy6Iyeqhp4D/4akQMqo1tct2xj1twOWkjqho/SNml8BI+JDbENdWjf2xoHrka1l5/wTGIAYOUHXjCURZ3AanFgiGhCCGyNtJ1HsX2TwP/UBUocuDdwmvfu7pA07Z3Cl+kO/eIj/atdTUkJXfM1eA/foXeG0Yjl97uKQS4uoDJzdMD1x8u0waOI+jur+pKHc59+wt764m9JTP1a7MJG1NRJp/wTTCuyXnODnVJ0c+9uaX1KY/ZW3ZQDYpvBtAEInEwbB9DaeHe7i65RXdvmisMse793PTeX0L/TA=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BYAPR08MB3944C30A1016F6978EA325F8DA5B0BYAPR08MB3944namp_"
MIME-Version: 1.0
X-OriginatorOrg: evequefou.be
X-MS-Exchange-CrossTenant-Network-Message-Id: f76556fb-7879-4bcf-4252-08d5e6904a9a
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2018 18:09:34.1283 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 41eaf50b-882d-47eb-8c4c-0b5b76a9da8f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR08MB4903
Archived-At: <https://mailarchive.ietf.org/arch/msg/driu/GaPH6IMdbYIl7jxXPPVRpdG82SM>
X-Mailman-Approved-At: Tue, 10 Jul 2018 11:46:03 -0700
Subject: Re: [Driu] [DNSOP] [Doh] Resolverless DNS Side Meeting in Montreal
X-BeenThere: driu@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "DNS Resolver Identification and Use \(DRIU\)." <driu.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/driu>, <mailto:driu-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/driu/>
List-Post: <mailto:driu@ietf.org>
List-Help: <mailto:driu-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/driu>, <mailto:driu-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2018 18:09:43 -0000

Yes, the multi-CDN case is the scariest aspect of coalescing and the various DNS tricks we’ve been doing in recent years.  The server may not be malicious, may not even be misconfigured – site X uses DNS to dynamically share load between CDNs A and F.  If X decides to start moving more load to A, F could in all good faith continue to route clients to itself by providing cached, signed DNS records.

The industry norm is that changing the DNS record’s CNAME to a different CDN is the cut-over, regardless of whether the other CDN remains configured.  It’s effectively acting as a “hot standby.”  If it had to provided better proof of freshness, that might be sufficient, but how fresh is sufficiently fresh?  And does DNSSEC provide that freshness guarantee?

However, F could do this today with Alt-Svc and have the same impact.  Secondary Certificates provides another way this might happen.  So this ship might have already sailed.

From: Ryan Sleevi [mailto:ryan-ietf@sleevi.com]
Sent: Tuesday, July 10, 2018 10:52 AM
To: Adam Roach <adam@nostrum.com>
Cc: Ted Lemon <mellon@fugue.com>; Joe Abley <jabley@hopcount.ca>; DoH WG <doh@ietf.org>; driu@ietf.org; dnsop WG <dnsop@ietf.org>; Paul Wouters <paul@nohats.ca>; Patrick McManus <pmcmanus@mozilla.com>; Philip Homburg <pch-dnsop-3@u-1.phicoh.com>; HTTP Working Group <ietf-http-wg@w3.org>
Subject: Re: [Driu] [DNSOP] [Doh] Resolverless DNS Side Meeting in Montreal



On Tue, Jul 10, 2018 at 1:05 PM, Adam Roach <adam@nostrum.com<mailto:adam@nostrum.com>> wrote:
On 7/10/18 11:41 AM, Ted Lemon wrote:
On Tue, Jul 10, 2018 at 12:34 PM, Joe Abley <jabley@hopcount.ca<mailto:jabley@hopcount.ca>> wrote:
> But this is really equivalent in just about every important way to sending the normal <img src="https://example.com/img/f.jpg"> along with a pushed DNS record that indicates that "example.com<http://example.com>" resolves to "192.0.2.1" -- and this latter thing is (to my understanding, at least) in scope of the conversation that Patrick is proposing to have.

My question is why you would involve the DNS at all if all the
performance-based resolution decisions can be made without it. You're
just adding cost and complexity without benefit

The ip= modifier would be a great way to arrange for something to look like it came from a different source than its actual source.   I'm sure there's an attack surface in there somewhere.



Keeping in mind that the certificate provided by whatever machine you reached would necessarily have to match the URL's origin, this is very much one of the questions that is being asked: is there?

/a
Yes. Consider Site A (foo.example) and Site B (bar.example). Both point themselves to CDN 1, which then obtains a certificate for both their names in subjectAltNames. Site B then decides that CDN 1 is an unreliable partner, and goes CDN 2, updating DNS appropriately.

This is the same problem in considering the HTTP/2 coalescing without doing DNS resolution (either because of poor security posture or by combining ORIGIN + Secondary Certificates). RFC 8336 briefly touches on this ( https://tools.ietf.org/html/rfc8336#section-4 ) but doesn't really explore the policy implications of the proposed or recommended mitigations.

If you start with no mitigations, the net effect of both an ip= or a DNS-ignoring ORIGIN frame is to effectively treat the certificate as a 825-day DNS TTL. By framing the problem as "What's the worst that could happen if DNS entries had their TTLs ignored and were cached for 825 days", that might help explore things further. The suggestion of OCSP reduces that TTL to 7 days (effectively; due to Microsoft's contractual requirements on publicly trusted CAs), but that's still substantially longer.

That's why involving DNS is at least relevant to that discussion, especially given that publicly trusted certificates are themselves predicated on DNS. Further, considering that the CA only has to validate a DNS once per 825-day period, and can issue unlimited 825-day certificates during that period, then the effective extension of relying solely on certificates 1650 days minus a second.