Re: [dns-privacy] [EXTERNAL] Re: Review request: draft-btw-dprive-rfc8484-clarification

"Winfield, Alister" <Alister.Winfield@sky.uk> Wed, 09 September 2020 15:24 UTC

Return-Path: <Alister.Winfield@sky.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67DD03A0E0D for <dns-privacy@ietfa.amsl.com>; Wed, 9 Sep 2020 08:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sky.uk
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 PoI-gRnUk79u for <dns-privacy@ietfa.amsl.com>; Wed, 9 Sep 2020 08:24:30 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30089.outbound.protection.outlook.com [40.107.3.89]) (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 B88CD3A0E0A for <dns-privacy@ietf.org>; Wed, 9 Sep 2020 08:24:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iTTWtf7uKtosWIPiRr1er7RT5899PPAVdodJ7+68O7yHcAq9IPmN75Y92JfSv6eJukxxWr2w59MBvkbIq7+9gu2uu7FZFnzal1AxYy99MHSBEEfKuqg6+xBaxCRDa6S+LoFFdH4EO0XLACYBjXN8wLRSEPF3+994TD7FmDW9VloSh62SufbB8CMdfccAu/N6cPaBc0i8SUCpZFMQ+XoskzvgjZZ3Af1bg1VgxHs5mnGJgOEbdhuFK1W85BlEa6FtVHJf96Mtf1ChWeplxaS5ljzFcAtIwdeS/1M2DYQw/xkW/iJr1T3nde52dAQKhW0Opa1tkPUDWokdR5J5q9iU0Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Mu3QZNtXTR/Mtjyhd21V2FgF2pUTmcuwqUXwlpg7zI=; b=fBN7B+txI/eL0xt5WC28e2t6tsfQfogwM47aB8jArxB4mefof11gdEA/fZHt1uK5qxjC71Rgx4ekJFFTwWJhzxD1SXOvvt0Kjl0QMX035/VDR+4F47/eW43A4g91k18ypvvrNUzpLfcvr9kPpOmZTAE0XSRWGxhwx84qDVrqo2bYXFxaXbTEW4yQF8lMB+ECVfhLVFz60k6eKc+kfe+q69zF5TAAC+DwB7zFV6BuzoMOE4GXItHp6s7GDKIHplYCjoVOtNaJubnaJ5JsVPjE5XlLpryaWDHmR9DwfrZaEDi/NDTi9I3pqgxk5CBfxDr62PcDTG8P4FwBOOt+IMU0rw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sky.uk; dmarc=pass action=none header.from=sky.uk; dkim=pass header.d=sky.uk; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sky.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Mu3QZNtXTR/Mtjyhd21V2FgF2pUTmcuwqUXwlpg7zI=; b=lur/VGcih7TIvNT8g7U0MC1YB/ph7Kt8WWf3YYcac49jVmMuKjfXkmGjI6b0T3Mc0IwEoYB6ff0o/JgMIdyykytEUEqgzYFV9l3M4hQogxhZ3Y4+Dob9OKpdTPR7BjSxUhKSoIGMJ5ottRdoPOgi9unD7PHHfPmKARWunvQb3pk=
Received: from VI1PR06MB4112.eurprd06.prod.outlook.com (2603:10a6:802:69::19) by VI1PR0601MB2606.eurprd06.prod.outlook.com (2603:10a6:800:81::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 9 Sep 2020 15:24:27 +0000
Received: from VI1PR06MB4112.eurprd06.prod.outlook.com ([fe80::bcec:b291:3e93:bdde]) by VI1PR06MB4112.eurprd06.prod.outlook.com ([fe80::bcec:b291:3e93:bdde%3]) with mapi id 15.20.3348.019; Wed, 9 Sep 2020 15:24:27 +0000
From: "Winfield, Alister" <Alister.Winfield@sky.uk>
To: Ben Schwartz <bemasc=40google.com@dmarc.ietf.org>
CC: Neil Cook <neil.cook@noware.co.uk>, DNS Privacy Working Group <dns-privacy@ietf.org>
Thread-Topic: [EXTERNAL] Re: [dns-privacy] Review request: draft-btw-dprive-rfc8484-clarification
Thread-Index: AQHWfUlyio67rFWgc0qxS81N2TvuE6leqzsAgAA2WYCAAA6AgIAAQqkAgAA7pYCAAQP9gIAAHmwA
Date: Wed, 09 Sep 2020 15:24:27 +0000
Message-ID: <5BF65F8D-058D-4719-8C7E-D171ED633152@sky.uk>
References: <6e071da2-4281-d525-03ba-4d6dfc843a76@innovationslab.net> <CAHbrMsB7T+5Y=2n4LfcXwyAZQSnK4x72R44_2mCDsLhh_zD9Vw@mail.gmail.com> <8C6ABDA8-9A0E-44BB-AE23-43F97AF29730@noware.co.uk> <CAHbrMsD2y0o+uV9eiAb32_=6ZYwAUoS_zM5+T97SxnHzxB05bQ@mail.gmail.com> <0799B139-E353-4EC7-9340-87CE00C465AA@noware.co.uk> <CAHbrMsC=kOYUL_Ei1uSnWJ3hGxu=7c10eRofXJ=w5sQzcbu6mA@mail.gmail.com> <3A9BCDDD-883D-470E-A547-79839149F8EE@sky.uk> <CAHbrMsDVZMNNhwqTUexRL3R=HoEfDTWsoXnr=bdTaWyTXV_=rw@mail.gmail.com>
In-Reply-To: <CAHbrMsDVZMNNhwqTUexRL3R=HoEfDTWsoXnr=bdTaWyTXV_=rw@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.40.20081000
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=sky.uk;
x-originating-ip: [2a02:c7f:700c:9b00:fc41:6813:846e:b462]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 74edd0ec-7cbe-4f27-c06f-08d854d470b2
x-ms-traffictypediagnostic: VI1PR0601MB2606:
x-microsoft-antispam-prvs: <VI1PR0601MB2606A1919F4CA0E038471A4CE3260@VI1PR0601MB2606.eurprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3EsEpxVg6VKe1HryzVPjtF1pQ/wfJnN1EGKrs79qPkQUNNHEA5/3S6kwgWXQGYGoiNBDxepEWqVBAnPagUJzi/wUT6H6uA697mNcbi82rhqd+jeUKuSI4q9bRU7ohe0vb1NeC0VS8R4VegBTOtDvyzP5fuvmOEAPK+nUTxb24jZp1dzfI6ICy+jthH+rXYNZgfrf/yAFvcO7uS7NnIOV6n3h2M/ybeA2S0LZujH1JnTZYbZb/D9YlorC4faKv4Ie3Cs4BMwPQyGjtF52tc1+C7XbjJJlJH9SUxEvBvtWu9BL8X6qxYu+m0Ojs+k8ai1V0/TOc83xSg9KbiKq/SceZg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4112.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(2906002)(36756003)(53546011)(86362001)(6486002)(186003)(6506007)(316002)(478600001)(64756008)(4326008)(6512007)(54906003)(8676002)(66446008)(76116006)(66556008)(66946007)(66476007)(8936002)(71200400001)(91956017)(33656002)(2616005)(66574015)(83380400001)(5660300002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: Ii2j7RG2PPqpkCTrBLM1tjEYvNYsUdZmnyl4a1i9XWTqBhGssBMnxZ/tdF7BwrL+bxhtG1ISX+Q+BKRzZQsbo9marTMTdNHPN5IlmIxbZN0N7lg+biWkda4KOV0JbeG0CAablNdRiFUABuffLKI9VWOBoncXnAA9RDPoNi0u7w+V/obpj6ERoWs6M85pUoOho7gExepjPbL3BzIlEhYrJfEDMkyniE6jEepuDpXzQotPXCEgobcNscAqbo2iyG/TSlaUy8t9I1WD4olpo0X0E1b5Y6EKq65pWwoDUNLaUHgqYVhwtuzXOsCmCJ74WYb2MDWN1PElDEXtCMRuoF2JgL7SxCxcA5S/coMp/s7YW9UPaUMnwuGTTeWXQnkKpVvp8lvtRASqi2w+2RLhkRZIQZRkFFYrblxGTpe4/MfDtI0diOHJPTKNa+e624oXOy8X5enGNTiv5eFnANGmbN7/6ziTeLQcpLY9TWqiKzf9REhrL6swBi4hRfNMvpMjH1LHq2rH6m8OG2C5VZ/+T1LCPRlmSz3xUwTkPi3GOkYopk/rYiSeQOTvSIyNVM0p6oKnYqqvmOiemda0+Rr3npT9mTHiK03H69SB3Bc0kpFQ03vp3lYcBlAaPzPWDa7zWRGxo6kuWynEnoSEDy6dgJGE6PEeKMJUZAJ/Ns0HsJltsfZxF/DDD48BQgOzCD4TdswA3bYfEwCsIhrYaGxk34q0hA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_5BF65F8D058D47198C7ED171ED633152skyuk_"
MIME-Version: 1.0
X-OriginatorOrg: sky.uk
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR06MB4112.eurprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 74edd0ec-7cbe-4f27-c06f-08d854d470b2
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2020 15:24:27.2378 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68b865d5-cf18-4b2b-82a4-a4eddb9c5237
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: CNRSX0v2MbDURH93EgiFai+lC20y4Ej2RmKayPjt1dWDaXl/V2ZUlM1ZJOBOGicobq6C4K0XUOQhEHtbkQVIiw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0601MB2606
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/ergGoWSsq0tdV-2Nfa6yhs9Nhy4>
Subject: Re: [dns-privacy] [EXTERNAL] Re: Review request: draft-btw-dprive-rfc8484-clarification
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dns-privacy.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy/>
List-Post: <mailto:dns-privacy@ietf.org>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dns-privacy>, <mailto:dns-privacy-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2020 15:24:32 -0000

Yep never said it was a great idea once you hit the security issues. The upsides are tempting but the piece of paper with scribbled diagrams on it hasn’t got a complexly secured answer as of yet.

Best solution I have is to talk CPE vendors into having a small HSM like device in there so they can answer as if they are the public DNS service keeping the secrets secured against attackers. This, however, is a multi-year (>5) type solution so not useful in the short term and potentially not viable for other business reasons.

A.


From: Ben Schwartz <bemasc=40google.com@dmarc.ietf.org>
Date: Wednesday, 9 September 2020 at 15:36
To: "Winfield, Alister" <Alister.Winfield@sky.uk>
Cc: Neil Cook <neil.cook@noware.co.uk>, DNS Privacy Working Group <dns-privacy@ietf.org>
Subject: Re: [EXTERNAL] Re: [dns-privacy] Review request: draft-btw-dprive-rfc8484-clarification

On Tue, Sep 8, 2020 at 6:05 PM Winfield, Alister <Alister.Winfield=40sky.uk@dmarc.ietf.org<mailto:40sky.uk@dmarc.ietf.org>> wrote:
That's an interesting use case, and I think it deserves more exposition.  To me, it raises questions like
* How did the client get configured to use the specified URI template in the first place?

Hopefully some process defined by the working group but right now perhaps it’s from an auto-upgrade list in the client.

My hope is that we can solve this problem in that process, _before_ the client receives a DoH URI.  The "auto-upgrade list" is, I believe, a temporary state of affairs that the ADD process will ultimately resolve.

* Why should the client use the CPE resolver instead of the central resolver, if they are administered by the same entity?

The idea would be that some process as yet undefined gives the URI template to the client but assuming we want to be able to change the template to support differential services possibly changing with time of day eg (malware filtering, no filtering, security monitored etc) plus…


  1.  First mile latency often accounts for >90% of total latency with many home connections so even with a slow CPE cache its faster than going to a central service.
  2.  DoH creates a large connection count issue which you can throw compute and other hardware at to solve but its far easier to reduce it where possible eg reduce the many clients to 1 connection from each CPE to the DoH service. Far easier to scale. To give an idea there is often >10 devices per network service if each connects once you have a problem if it’s actually ~5 clients per device then we have to handle x50 connections. A reasonable sized ISP might be worried about supporting 100,000,000’s of stateful connections instead of 1,000,000’s of nearly stateless requests. (likely overestimating but it’s not hard to get to huge numbers if lots of people, devices and clients use DoH)
  3.  If the customer wants it, the CPE resolver can chose different settings on a per-device basis at the CPE. Yes you can configure different URLs in the clients but that’s hard to get customers to do right. Especially if you have to do it to each application separately.
  4.  Caching at the CPE reduces upstream resolver load by quite a lot more than you might imagine not actually a big problem but it’s nice to avoid adding compute if there is a cheaper solution trivially available.
It sounds like the key goal here is caching at the CPE; the other goals could be served by client-specific logic at the central resolver.  Do ISP-provided CPEs normally operate a DNS cache?  My understanding was that they are usually mostly-stateless forwarders.

* How does the server know which CPE to redirect the client to?

I’m are assuming here that this is an ISP running both elements so knowing how to map the incoming IP to the name its currently using / was told to use is relatively trivial.

Trivial, perhaps, but not necessarily secure.  An adversary in the network could alter the IP headers to change the apparent client location, causing the client to be redirected to an attacker-controlled CPE, thus defeating the integrity assurances of DoH.

Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky Limited and Sky International AG and are used under licence.

Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075), Sky Subscribers Services Limited (Registration No. 2340150) and Sky CP Limited (Registration No. 9513259) are direct or indirect subsidiaries of Sky Limited (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD