
From nobody Tue Mar 11 11:15:44 2014
Return-Path: <tjw.ietf@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AB3F1A0646 for <dns-privacy@ietfa.amsl.com>; Tue, 11 Mar 2014 11:15:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 yZYwdrqj905C for <dns-privacy@ietfa.amsl.com>; Tue, 11 Mar 2014 11:15:41 -0700 (PDT)
Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id 900601A047E for <dns-privacy@ietf.org>; Tue, 11 Mar 2014 11:15:41 -0700 (PDT)
Received: by mail-wg0-f49.google.com with SMTP id a1so6230838wgh.32 for <dns-privacy@ietf.org>; Tue, 11 Mar 2014 11:15:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=7ARgINY2rrxawjALa5iKiLkkFafq0D76VTl3c3tcYZ8=; b=OwNdzjMTbyg+Ivr6bdijO3GoYTbWlE9AwTAqw1ttBtrzFYUU42PRosAisRUVbfne21 2WP9WbHsXNZzzOzjDENVcTw9xfMY/oVsuWjIRrDfLAoY3nVtFRS/07aXSZnf0sQKMY9/ G5scgUBJqOQOpvqDBLNcjMPGTFdXnu6ekxUvtq+thFraPNQugVs9CTVIVB61hUYJJ0it TTTZIi4u+PvP9p8ECZan+QjVTwHfh3KfYRWb37vGNkO+4qat8NyN3XU8L+erSTQWhP2z mAn8iFaWt3UA79zBtCSiQQs5VCdQoHw60RqVIi14GlLVjzrtfY1gx25qCMy18J+oCBJ7 VT4Q==
X-Received: by 10.194.190.10 with SMTP id gm10mr2978144wjc.55.1394561735298; Tue, 11 Mar 2014 11:15:35 -0700 (PDT)
Received: from [10.3.42.43] (nat-204-14-239-161-sfo.net.salesforce.com. [204.14.239.161]) by mx.google.com with ESMTPSA id pm2sm8697939wic.0.2014.03.11.11.15.33 for <dns-privacy@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 11:15:34 -0700 (PDT)
Message-ID: <531F52D2.4010008@gmail.com>
Date: Tue, 11 Mar 2014 11:15:46 -0700
From: Tim Wicinski <tjw.ietf@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: dns-privacy@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/mqJHtnJmoaP9E8UIw9QlJrpIjeI
Subject: [dns-privacy] Greetings
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 11 Mar 2014 18:15:43 -0000

Welcome to the dns-privacy list. This is where we'll have those 
discussions surrounding DNS privacy and confidentiality.

tim


From nobody Mon Mar 17 04:58:19 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CB251A03F5 for <dns-privacy@ietfa.amsl.com>; Mon, 17 Mar 2014 04:58:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 bHzqm1YQK6uE for <dns-privacy@ietfa.amsl.com>; Mon, 17 Mar 2014 04:58:16 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [IPv6:2001:4b98:dc0:41:216:3eff:fece:1902]) by ietfa.amsl.com (Postfix) with ESMTP id 074781A03D3 for <dns-privacy@ietf.org>; Mon, 17 Mar 2014 04:58:15 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 682F93B7FC; Mon, 17 Mar 2014 11:58:04 +0000 (UTC)
Received: by mail.sources.org (Postfix, from userid 1000) id 8A688CBA43; Mon, 17 Mar 2014 12:54:53 +0100 (CET)
Date: Mon, 17 Mar 2014 12:54:53 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: dns-privacy@ietf.org
Message-ID: <20140317115453.GA5548@sources.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.3
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/BLFrSskpkenaZiP5tZxProtXCoI
Subject: [dns-privacy] Google Public DNS redirected through BGP
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 17 Mar 2014 11:58:18 -0000

https://twitter.com/bgpmon/status/445266642616868864

What's the link with DNS privacy? It's an example on a possible
threat when you use a public DNS resolver without authentication. I do
not know the motivactions of the attacker (it may have been a simple
fat-fingering) but such a BGP hijacking could be used to spy on Google
Public DNS traffic.

See also <http://thehackernews.com/2014/03/google-public-dns-server-traffic.html>
(confused explanations at the end)


From nobody Mon Mar 17 11:15:54 2014
Return-Path: <ietf-secretariat@ietf.org>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 665AE1A0476; Mon, 17 Mar 2014 11:10:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 PBh8B8qfPRnp; Mon, 17 Mar 2014 11:10:46 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B732A1A0444; Mon, 17 Mar 2014 11:10:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Secretariat <ietf-secretariat@ietf.org>
To: IETF Announcement List <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 5.1.0p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140317181046.3237.82092.idtracker@ietfa.amsl.com>
Date: Mon, 17 Mar 2014 11:10:46 -0700
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/r_bCjWBXS7tniSEEcYMluuE94X0
X-Mailman-Approved-At: Mon, 17 Mar 2014 11:15:51 -0700
Cc: tjw.ietf@gmail.com, pk@denic.de, dns-privacy@ietf.org
Subject: [dns-privacy] New Non-WG Mailing List: dns-privacy
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
Reply-To: ietf@ietf.org
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: <http://www.ietf.org/mail-archive/web/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: Mon, 17 Mar 2014 18:10:48 -0000

A new IETF non-working group email list has been created.

List address: dns-privacy@ietf.org
Archive: http://www.ietf.org/mail-archive/web/dns-privacy/
To subscribe: https://www.ietf.org/mailman/listinfo/dns-privacy

Purpose: This list is for the discussion of the problem statement surrounding the addition of privacy to the DNS protocol.

For additional information, please contact the list administrators.


From nobody Wed Mar 19 10:40:16 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 763BA1A0410 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 10:40:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 Zl0_3EGVyHNC for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 10:40:12 -0700 (PDT)
Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id B0D411A02F5 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 10:40:11 -0700 (PDT)
Received: by mail-la0-f54.google.com with SMTP id mc6so6117853lab.41 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 10:40:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=rOzfAnEUGmUtT1f6uY/rZm+0VAZZCqkwAaPWezYaJuQ=; b=rS32MfJcZ/gbKChLUZ86bpwvWeVK9+bhmvoiJfVUpdsK5SIhGNpW2wyhplprZAnu1D GPBUVUd+RQhQbDwGkZqEjwdF+CjX+JHjIuwV1bpbMMnoPeqqd6AbUVyQ1FYF8a2ji1bq QKAJ1JNFXFrj2qH5rL3z6Y1cma1IdsobUYA99PVq8WAwDm1lsH4+dLKbxSOOZ/09rZAJ 74U4LvQScaszbqzl94mKn1TE9TlWT+TNUGZ0HAqiXieZuUOxmwATrSlq+dMIqHZa+Obs NZBk6Bn9N88jktijOVA8TeAeuTb6uYyviUjngRwwmP/SDsPJmSUudlm5wx/l92Phb8zs belQ==
MIME-Version: 1.0
X-Received: by 10.152.209.70 with SMTP id mk6mr26825398lac.13.1395250801306; Wed, 19 Mar 2014 10:40:01 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 10:40:01 -0700 (PDT)
Date: Wed, 19 Mar 2014 13:40:01 -0400
Message-ID: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: dns-privacy@ietf.org
Content-Type: multipart/alternative; boundary=001a113802466274cc04f4f924fd
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/_oGwA1qdLvCgbfDbNjNuFAu4ybk
Subject: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 17:40:14 -0000

--001a113802466274cc04f4f924fd
Content-Type: text/plain; charset=ISO-8859-1

One consequence of encrypting DNS traffic is that we break backwards
compatibility. Since we are going to break backwards compatibility we
should take the opportunity to fix some of the problems in the DNS protocol.

In particular, to guarantee compatibility with legacy DNS infrastructure, a
query must:

* Be 500 bytes or less
* Have only one query (QDCOUNT = 1)
* Have a response of 500 bytes or less

Now in practice the first limit it 'usually' not enforced. But going to
encryption is an opportunity to go from 'not enforced' to 'knock it off, if
your implementation does not accept decent sized packets then its broken,
broken, broken'.

I would also like to fix the other two issues. In particular, if we let a
DNS query ask more than one question at a time then we improve latency of
responses. But much more importantly, we also make more interesting
discovery strategies possible because asking for the AAAA, SRV, NAPTR and
URI record along with the A record is no longer a 5 request penalty. And
yes, it really is a penalty because much of the deployed infrastructure
limits the number of parallel DNS queries an app can make in interesting
and painful ways.

So I would like to require a server that supports the crypto query protocol
to be required to actually implement what is written in 1035 and respond to
multiple queries. As in Servers SHALL implement RFC1035 and respond to
queries with QDCOUNT>1. But since I don't think I will get that I will
settle for this being an option that a server can advertise during the key
setup. If the server can tell the client what its key is then it can tell
the client what options it supports.


One problem that comes of multiple requests is the potential for multiple
responses being longer than one packet. And here the traditional thinking
is rather limited.

It is of course highly undesirable for a DNS server to have to respond to
queries that are more than one packet long because that requires the server
to maintain state. And state is expensive. It wrecks anycast, massively
parallel server farms and any number of things that we don't want wrecked.

But returning multiple response packets does not require additional state.
The server just receives a packet, does some work and returns zero to 16
packets in response. Moreover, even though individual queries are slightly
more expensive, the overall load on the server goes down.


One possible objection here is that this would enable more effective
amplification attacks or complicate the DDoS against the server scenario.
These are important considerations and are the main reason I don't want to
try to use IPSEC or DTLS as the basis of a solution. When I started working
on OmniBroker in 2012, these were the issues that drove me to adopt the
architecture I did.

In brief, I don't think we should worry about making DDoS or amplification
attacks worse. Instead we have to have a strategy that allows us to
mitigate them to the point where they are not worth the results.

-- 
Website: http://hallambaker.com/

--001a113802466274cc04f4f924fd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">One consequence of encrypting DNS traffic is that we break=
 backwards compatibility. Since we are going to break backwards compatibili=
ty we should take the opportunity to fix some of the problems in the DNS pr=
otocol.<div>
<br></div><div>In particular, to guarantee compatibility with legacy DNS in=
frastructure, a query must:</div><div><br></div><div>* Be 500 bytes or less=
</div><div>* Have only one query (<span style=3D"color:rgb(0,0,0);white-spa=
ce:pre-wrap">QDCOUNT =3D 1)</span></div>
<div>* Have a response of 500 bytes or less</div><div><br></div><div>Now in=
 practice the first limit it &#39;usually&#39; not enforced. But going to e=
ncryption is an opportunity to go from &#39;not enforced&#39; to &#39;knock=
 it off, if your implementation does not accept decent sized packets then i=
ts broken, broken, broken&#39;.</div>
<div><br></div><div>I would also like to fix the other two issues. In parti=
cular, if we let a DNS query ask more than one question at a time then we i=
mprove latency of responses. But much more importantly, we also make more i=
nteresting discovery strategies possible because asking for the AAAA, SRV, =
NAPTR and URI record along with the A record is no longer a 5 request penal=
ty. And yes, it really is a penalty because much of the deployed infrastruc=
ture limits the number of parallel DNS queries an app can make in interesti=
ng and painful ways.</div>
<div><br></div><div>So I would like to require a server that supports the c=
rypto query protocol to be required to actually implement what is written i=
n 1035 and respond to multiple queries. As in Servers SHALL implement RFC10=
35 and respond to queries with=A0<span style=3D"color:rgb(0,0,0);white-spac=
e:pre-wrap">QDCOUNT&gt;1. But since I don&#39;t think I will get that I wil=
l settle for this being an option that a server can advertise during the ke=
y setup. If the server can tell the client what its key is then it can tell=
 the client what options it supports.</span></div>
<div><br clear=3D"all"><div><br></div><div>One problem that comes of multip=
le requests is the potential for multiple responses being longer than one p=
acket. And here the traditional thinking is rather limited.</div><div><br>
</div><div>It is of course highly undesirable for a DNS server to have to r=
espond to queries that are more than one packet long because that requires =
the server to maintain state. And state is expensive. It wrecks anycast, ma=
ssively parallel server farms and any number of things that we don&#39;t wa=
nt wrecked.</div>
<div><br></div><div>But returning multiple response packets does not requir=
e additional state. The server just receives a packet, does some work and r=
eturns zero to 16 packets in response. Moreover, even though individual que=
ries are slightly more expensive, the overall load on the server goes down.=
</div>
<div><br></div><div><br></div><div>One possible objection here is that this=
 would enable more effective amplification attacks or complicate the DDoS a=
gainst the server scenario. These are important considerations and are the =
main reason I don&#39;t want to try to use IPSEC or DTLS as the basis of a =
solution. When I started working on OmniBroker in 2012, these were the issu=
es that drove me to adopt the architecture I did.</div>
<div><br></div><div>In brief, I don&#39;t think we should worry about makin=
g DDoS or amplification attacks worse. Instead we have to have a strategy t=
hat allows us to mitigate them to the point where they are not worth the re=
sults.</div>
<div><br></div>-- <br>Website: <a href=3D"http://hallambaker.com/">http://h=
allambaker.com/</a><br>
</div></div>

--001a113802466274cc04f4f924fd--


From nobody Wed Mar 19 11:06:41 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 064DD1A0451 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:06:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 kNvZ1z9-XfHl for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:06:38 -0700 (PDT)
Received: from ppsw-50.csi.cam.ac.uk (ppsw-50-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f50]) by ietfa.amsl.com (Postfix) with ESMTP id C84511A0410 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:06:37 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:46229) by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:25) with esmtpa (EXTERNAL:fanf2) id 1WQKsl-0002vC-si (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 19 Mar 2014 18:06:27 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQKsl-0000ee-T0 (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 19 Mar 2014 18:06:27 +0000
Date: Wed, 19 Mar 2014 18:06:27 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
Message-ID: <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/8dSf7W5HRzo4q6CbYxfQoEeaRNg
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:06:40 -0000

Phillip Hallam-Baker <hallam@gmail.com> wrote:
>
> In particular, if we let a DNS query ask more than one question at a
> time then we improve latency of responses.

No need to change the protocol, just make the queries concurrently. If
your implementation makes that slow, fix the implementation. You would
have to fix it anyway in order to support the protocol changes, so you
might as well do the fix without the protocol change. No need to waste
time and money on talking about paper protocols.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Lundy, Fastnet: Southwest 5 to 7, occasionally gale 8, perhaps severe gale 9
later. Moderate or rough, becoming rough or very rough. Rain later. Good,
occasionally poor.


From nobody Wed Mar 19 11:10:21 2014
Return-Path: <ted.ietf@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1EF41A0418 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:10:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 TXomENhgN1Ko for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:10:18 -0700 (PDT)
Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by ietfa.amsl.com (Postfix) with ESMTP id E011E1A0410 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:10:17 -0700 (PDT)
Received: by mail-ie0-f178.google.com with SMTP id lx4so9272766iec.37 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:10:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nowDLalyxcz2T2bKuaG5z0l3ZOf56LZU4pGTrNK4oLw=; b=Dj7QfOkOKp/jf4lA2pLYUQyIy37n3MMsKGcDuHG+YlR2fIW3elPOkimQjdZHpHa+WU /BfCGk39yDOS6VMyLplv2maMPiFWc8ho/xIe33jbpmdOXRUtucYGaSAAg4SD/Rai54vv IId9Foeerhiou4yr0hhYCDa35yr2jDe5WGmx3B2GkMDx/0CBo7LDtOIjsH2Td0PpCXnR 73ECMwu1epoH/QEePTIrHk8orK8EzFD8OnG3AzAWOWGbV2S0uZl2v8HlLo6/5H2StLwa RyjW7UthyR13hhGpu8pcLO6WO5wgdwwH0wXyIz92sA2yvr/JgGP8ryb+eg1k+UoxKEru 3caA==
MIME-Version: 1.0
X-Received: by 10.50.57.17 with SMTP id e17mr27131302igq.13.1395252557582; Wed, 19 Mar 2014 11:09:17 -0700 (PDT)
Received: by 10.42.237.206 with HTTP; Wed, 19 Mar 2014 11:09:17 -0700 (PDT)
In-Reply-To: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
Date: Wed, 19 Mar 2014 11:09:17 -0700
Message-ID: <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Content-Type: multipart/alternative; boundary=e89a8f2354fd1138f204f4f98d20
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/bhrnUT3RVcH2IumPWrgUq2tkTFU
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:10:21 -0000

--e89a8f2354fd1138f204f4f98d20
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Mar 19, 2014 at 10:40 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> One consequence of encrypting DNS traffic is that we break backwards
> compatibility.
>

Howdy,

Backwards compatibility with what part of the system?  Or perhaps first,
what question are we answering, that makes you presume this?

Imagine for a moment that the question is: "How do I prevent exposure of
clear text DNS queries from pervasive surveillance when they are sent from
my home to a recursive resolver in a data center?"  One answer certainly
could be "Set up an IPSEC tunnel between yourself and that data
center-based resolver, then run DNS across it".  There are a bunch of
trade-offs that will tell you whether that is a good idea, but one piece of
the puzzle is that the DNS bits would look exactly the same.

There are other approaches which retain the current syntax and change out
only the transport (for many other values of transport).  There is no
reason to believe those are wrong  on first principles, so let's not start
with a "this means DNS 2.0" until we've worked out what the actual issues
are, okay?

regards,

Ted Hardie


> Since we are going to break backwards compatibility we should take the
> opportunity to fix some of the problems in the DNS protocol.
>
> In particular, to guarantee compatibility with legacy DNS infrastructure,
> a query must:
>
> * Be 500 bytes or less
> * Have only one query (QDCOUNT = 1)
> * Have a response of 500 bytes or less
>
> Now in practice the first limit it 'usually' not enforced. But going to
> encryption is an opportunity to go from 'not enforced' to 'knock it off, if
> your implementation does not accept decent sized packets then its broken,
> broken, broken'.
>
> I would also like to fix the other two issues. In particular, if we let a
> DNS query ask more than one question at a time then we improve latency of
> responses. But much more importantly, we also make more interesting
> discovery strategies possible because asking for the AAAA, SRV, NAPTR and
> URI record along with the A record is no longer a 5 request penalty. And
> yes, it really is a penalty because much of the deployed infrastructure
> limits the number of parallel DNS queries an app can make in interesting
> and painful ways.
>
> So I would like to require a server that supports the crypto query
> protocol to be required to actually implement what is written in 1035 and
> respond to multiple queries. As in Servers SHALL implement RFC1035 and
> respond to queries with QDCOUNT>1. But since I don't think I will get
> that I will settle for this being an option that a server can advertise
> during the key setup. If the server can tell the client what its key is
> then it can tell the client what options it supports.
>
>
> One problem that comes of multiple requests is the potential for multiple
> responses being longer than one packet. And here the traditional thinking
> is rather limited.
>
> It is of course highly undesirable for a DNS server to have to respond to
> queries that are more than one packet long because that requires the server
> to maintain state. And state is expensive. It wrecks anycast, massively
> parallel server farms and any number of things that we don't want wrecked.
>
> But returning multiple response packets does not require additional state.
> The server just receives a packet, does some work and returns zero to 16
> packets in response. Moreover, even though individual queries are slightly
> more expensive, the overall load on the server goes down.
>
>
> One possible objection here is that this would enable more effective
> amplification attacks or complicate the DDoS against the server scenario.
> These are important considerations and are the main reason I don't want to
> try to use IPSEC or DTLS as the basis of a solution. When I started working
> on OmniBroker in 2012, these were the issues that drove me to adopt the
> architecture I did.
>
> In brief, I don't think we should worry about making DDoS or amplification
> attacks worse. Instead we have to have a strategy that allows us to
> mitigate them to the point where they are not worth the results.
>
> --
> Website: http://hallambaker.com/
>
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
>
>

--e89a8f2354fd1138f204f4f98d20
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">On Wed, Mar 19, 2014 at 10:40 A=
M, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmai=
l.com" target=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><div cla=
ss=3D"gmail_quote">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">One consequence of encrypti=
ng DNS traffic is that we break backwards compatibility. </div></blockquote=
><div>
<br><div class=3D"gmail_default" style=3D"font-family:georgia,serif">Howdy,=
<br><br></div><div class=3D"gmail_default" style=3D"font-family:georgia,ser=
if">Backwards compatibility with what part of the system?=A0 Or perhaps fir=
st, what question are we answering, that makes you presume this?<br>
<br></div><div class=3D"gmail_default" style=3D"font-family:georgia,serif">=
Imagine for a moment that the question is: &quot;How do I prevent exposure =
of clear text DNS queries from pervasive surveillance when they are sent fr=
om my home to a recursive resolver in a data center?&quot;=A0 One answer ce=
rtainly could be &quot;Set up an IPSEC tunnel between yourself and that dat=
a center-based resolver, then run DNS across it&quot;.=A0 There are a bunch=
 of trade-offs that will tell you whether that is a good idea, but one piec=
e of the puzzle is that the DNS bits would look exactly the same.<br>
<br></div><div class=3D"gmail_default" style=3D"font-family:georgia,serif">=
There are other approaches which retain the current syntax and change out o=
nly the transport (for many other values of transport).=A0 There is no reas=
on to believe those are wrong=A0 on first principles, so let&#39;s not star=
t with a &quot;this means DNS 2.0&quot; until we&#39;ve worked out what the=
 actual issues are, okay?<br>
<br>regards,<br><br>Ted Hardie<br></div>=A0</div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div dir=3D"ltr">Since we are going to break backwards compatibility w=
e should take the opportunity to fix some of the problems in the DNS protoc=
ol.<div>

<br></div><div>In particular, to guarantee compatibility with legacy DNS in=
frastructure, a query must:</div><div><br></div><div>* Be 500 bytes or less=
</div><div>* Have only one query (<span style=3D"white-space:pre-wrap">QDCO=
UNT =3D 1)</span></div>

<div>* Have a response of 500 bytes or less</div><div><br></div><div>Now in=
 practice the first limit it &#39;usually&#39; not enforced. But going to e=
ncryption is an opportunity to go from &#39;not enforced&#39; to &#39;knock=
 it off, if your implementation does not accept decent sized packets then i=
ts broken, broken, broken&#39;.</div>

<div><br></div><div>I would also like to fix the other two issues. In parti=
cular, if we let a DNS query ask more than one question at a time then we i=
mprove latency of responses. But much more importantly, we also make more i=
nteresting discovery strategies possible because asking for the AAAA, SRV, =
NAPTR and URI record along with the A record is no longer a 5 request penal=
ty. And yes, it really is a penalty because much of the deployed infrastruc=
ture limits the number of parallel DNS queries an app can make in interesti=
ng and painful ways.</div>

<div><br></div><div>So I would like to require a server that supports the c=
rypto query protocol to be required to actually implement what is written i=
n 1035 and respond to multiple queries. As in Servers SHALL implement RFC10=
35 and respond to queries with=A0<span style=3D"white-space:pre-wrap">QDCOU=
NT&gt;1. But since I don&#39;t think I will get that I will settle for this=
 being an option that a server can advertise during the key setup. If the s=
erver can tell the client what its key is then it can tell the client what =
options it supports.</span></div>

<div><br clear=3D"all"><div><br></div><div>One problem that comes of multip=
le requests is the potential for multiple responses being longer than one p=
acket. And here the traditional thinking is rather limited.</div><div><br>

</div><div>It is of course highly undesirable for a DNS server to have to r=
espond to queries that are more than one packet long because that requires =
the server to maintain state. And state is expensive. It wrecks anycast, ma=
ssively parallel server farms and any number of things that we don&#39;t wa=
nt wrecked.</div>

<div><br></div><div>But returning multiple response packets does not requir=
e additional state. The server just receives a packet, does some work and r=
eturns zero to 16 packets in response. Moreover, even though individual que=
ries are slightly more expensive, the overall load on the server goes down.=
</div>

<div><br></div><div><br></div><div>One possible objection here is that this=
 would enable more effective amplification attacks or complicate the DDoS a=
gainst the server scenario. These are important considerations and are the =
main reason I don&#39;t want to try to use IPSEC or DTLS as the basis of a =
solution. When I started working on OmniBroker in 2012, these were the issu=
es that drove me to adopt the architecture I did.</div>

<div><br></div><div>In brief, I don&#39;t think we should worry about makin=
g DDoS or amplification attacks worse. Instead we have to have a strategy t=
hat allows us to mitigate them to the point where they are not worth the re=
sults.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div>-- <br>Website: <a href=3D"http://hallambaker.com/" target=
=3D"_blank">http://hallambaker.com/</a><br>
</font></span></div></div>
<br>_______________________________________________<br>
dns-privacy mailing list<br>
<a href=3D"mailto:dns-privacy@ietf.org">dns-privacy@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/dns-privacy" target=3D"_bl=
ank">https://www.ietf.org/mailman/listinfo/dns-privacy</a><br>
<br></blockquote></div><br></div></div>

--e89a8f2354fd1138f204f4f98d20--


From nobody Wed Mar 19 11:19:56 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A38F01A04AF for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:19:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 kFjuR0spf_B0 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:19:53 -0700 (PDT)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id B39EA1A06F0 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:19:52 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id hr13so6234515lab.17 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:19:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FIgY64mshn6p6a0gL9WkLLUuMY33C9tOozE7hp7qp8M=; b=unNl8WE6yDRpDgLZELmagFMHjXLftl5e9wGyIfax4zFziP60WMBnYib/YhO/pW+oQa yyZ2GqnaPi8XlYzMDV4r0plMTlEoo82ugtrXHcv+akcomSEIv3pi4Pvcx5qtFi6nJgue e8Dnw/4w3NVqlFdrhHssYYaoqo1tcj3i2E4FOC3u7UFFu54Ojz57WeLUu7oib5QeRf3H HbLQuLeIbaD1wQ8flFFcDCqNmN6rcbZmIjMYai4rrj/jPZLtS3qTzKDNPWLbfMmklp/t aac/+SOAVpOeoWF1eWtT3YanQWqmX+wL8n6GaAPzXwivZEsKpugtP479N7F8j1vNldWT DTOg==
MIME-Version: 1.0
X-Received: by 10.152.42.144 with SMTP id o16mr26995369lal.9.1395253183379; Wed, 19 Mar 2014 11:19:43 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 11:19:43 -0700 (PDT)
In-Reply-To: <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk>
Date: Wed, 19 Mar 2014 14:19:43 -0400
Message-ID: <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Tony Finch <dot@dotat.at>
Content-Type: multipart/alternative; boundary=001a11c33ef25dfdc104f4f9b26e
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/rx8PWTkjnudTuUEcFUsqSocDvJ4
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:19:54 -0000

--001a11c33ef25dfdc104f4f9b26e
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Mar 19, 2014 at 2:06 PM, Tony Finch <dot@dotat.at> wrote:

> Phillip Hallam-Baker <hallam@gmail.com> wrote:
> >
> > In particular, if we let a DNS query ask more than one question at a
> > time then we improve latency of responses.
>
> No need to change the protocol, just make the queries concurrently. If
> your implementation makes that slow, fix the implementation. You would
> have to fix it anyway in order to support the protocol changes, so you
> might as well do the fix without the protocol change. No need to waste
> time and money on talking about paper protocols.
>

This is not a change. It is implementing RFC1035 as written.

BIND and co have done it wrong all these years. If the implementations are
not wrong then where is the RFC that states QDCOUNT = 1?


I have talked to the engineers at several browser companies and they tell
me that parallel queries do not actually work the way you imagine.

In the first place it is only possible to issue the queries at all if you
override the built in platform API. But even when you do, problems are
caused by middleboxes and ISPs which limit the number of concurrent queries.


For a resolver, the change is cheap. The benefit to the client is enormous.


-- 
Website: http://hallambaker.com/

--001a11c33ef25dfdc104f4f9b26e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Wed, Mar 19, 2014 at 2:06 PM, Tony Finch <span dir=3D"ltr">&lt;<=
a href=3D"mailto:dot@dotat.at" target=3D"_blank">dot@dotat.at</a>&gt;</span=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"">Phillip Hallam-Baker &lt;<a =
href=3D"mailto:hallam@gmail.com">hallam@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; In particular, if we let a DNS query ask more than one question at a<b=
r>
&gt; time then we improve latency of responses.<br>
<br>
</div>No need to change the protocol, just make the queries concurrently. I=
f<br>
your implementation makes that slow, fix the implementation. You would<br>
have to fix it anyway in order to support the protocol changes, so you<br>
might as well do the fix without the protocol change. No need to waste<br>
time and money on talking about paper protocols.<br></blockquote><div><br><=
/div><div>This is not a change. It is implementing RFC1035 as written.=A0</=
div><div><br></div><div>BIND and co have done it wrong all these years. If =
the implementations are not wrong then where is the RFC that states QDCOUNT=
 =3D 1?</div>
<div><br></div><div><br></div><div>I have talked to the engineers at severa=
l browser companies and they tell me that parallel queries do not actually =
work the way you imagine.</div><div><br></div><div>In the first place it is=
 only possible to issue the queries at all if you override the built in pla=
tform API. But even when you do, problems are caused by middleboxes and ISP=
s which limit the number of concurrent queries.</div>
<div><br></div><div><br></div><div>For a resolver, the change is cheap. The=
 benefit to the client is enormous.</div><div>=A0</div></div><div><br></div=
>-- <br>Website: <a href=3D"http://hallambaker.com/">http://hallambaker.com=
/</a><br>

</div></div>

--001a11c33ef25dfdc104f4f9b26e--


From nobody Wed Mar 19 11:31:57 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF6891A04AF for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:31:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 xvk4wttSyjtb for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:31:54 -0700 (PDT)
Received: from ppsw-51.csi.cam.ac.uk (ppsw-51-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f51]) by ietfa.amsl.com (Postfix) with ESMTP id E3F941A0438 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:31:53 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:44587) by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpa (EXTERNAL:fanf2) id 1WQLHE-0000FY-Xz (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 19 Mar 2014 18:31:44 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQLHE-0002u6-FJ (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 19 Mar 2014 18:31:44 +0000
Date: Wed, 19 Mar 2014 18:31:44 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
Message-ID: <alpine.LSU.2.00.1403191822510.31260@hermes-1.csi.cam.ac.uk>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk> <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/HMx2ziPP6ZBt6h9G1Gvs_kHAq8U
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:31:56 -0000

Phillip Hallam-Baker <hallam@gmail.com> wrote:
>
> I have talked to the engineers at several browser companies and they tell
> me that parallel queries do not actually work the way you imagine.

They do as far as the protocol is concerned and there are many
stub resolver implementations that make concurrent queries.

> In the first place it is only possible to issue the queries at all if you
> override the built in platform API. But even when you do, problems are
> caused by middleboxes and ISPs which limit the number of concurrent queries.

So fix them. You will have to anyway.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
South-east Iceland: Cyclonic 6 to gale 8, occasionally severe gale 9 in west.
Very rough or high. Rain or wintry showers. Moderate or poor, occasionally
good.


From nobody Wed Mar 19 11:34:40 2014
Return-Path: <paul@nohats.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C64381A071A for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:34:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.547] 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 T20vOtb0LZKf for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:34:37 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id A4E071A06FD for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:34:37 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 687F6800AF; Wed, 19 Mar 2014 14:34:28 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1395254068; bh=mlIaqZH/YDpBz6kTl6iv2IpCCGJoDU4bEtXzpz20X2c=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=WgN8dNh+uRAuAXLzegyuzrajx+eeQ+OPhKG4yJXLyEh0SbDLuCpD0khAGWixqH6dU X5Zwr/ErWoUSs1pVtjocR8zysvbSPt5IYJfz+QJMbPc+9ViuGzV/3TEr83XLj70sFi WidR56sHacADyLcSjVIYwR0yjEKWCO2+zhhnL9u0=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s2JIYR2S021398; Wed, 19 Mar 2014 14:34:27 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Wed, 19 Mar 2014 14:34:25 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1403191427450.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk> <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/kzE4XaXx69LevC9oeviqq7QY3TI
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:34:40 -0000

On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:

[ still finding your replies to replies basiclly unreadable due to your
   email client quoting settings, so if I'm mis-attributing, thats why.
   When these go like 3 deep, I basically have to just give up and delete
   the emails unread. You are the only person I have this problem with,
   and plenty of people use gmail.]

> On Wed, Mar 19, 2014 at 2:06 PM, Tony Finch <dot@dotat.at> wrote:
>       Phillip Hallam-Baker <hallam@gmail.com> wrote:
>       >
>       > In particular, if we let a DNS query ask more than one question at a
>       > time then we improve latency of responses.
> 
> No need to change the protocol, just make the queries concurrently. If
> your implementation makes that slow, fix the implementation. You would
> have to fix it anyway in order to support the protocol changes, so you
> might as well do the fix without the protocol change. No need to waste
> time and money on talking about paper protocols.
> 
> 
> This is not a change. It is implementing RFC1035 as written. 
> 
> BIND and co have done it wrong all these years. If the implementations are not wrong then where is the RFC that states QDCOUNT = 1?

We tested this a few months ago while discussing draft-wouters-edns-keepalive using
a modified dig command.

All servers support multiple queries at once fine. Only google dns
capped it at 80 queries before closing the connection. Things will be
different when the TCP connection is idle of course, as the server might
hang up on you, hence the above mentioned draft to match up client and
server behaviour.

> I have talked to the engineers at several browser companies and they tell me that parallel queries do not actually work the way you imagine.

All the more reason for draft-wouters-edns-keepalive (and
draft-wouters-edns-chain-query)

Paul


From nobody Wed Mar 19 11:37:00 2014
Return-Path: <paul@nohats.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF5B21A071A for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.547] 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 gsluzjKJKIzq for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:36:56 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id D82CC1A06FD for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:36:56 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 2B483800AF; Wed, 19 Mar 2014 14:36:48 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1395254208; bh=DVn5c6oQL22itpDmNq8UyetkWr3UsyOxA9X0CxpAA7Y=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=sorJuqOcbZR7jKpkqckoBPxJLqmQXRZGf6Pey+XLusgIcY/D92yCHalmKdFwfmihM iPgmBfPs7pAjCLOMasPPRQU5UY4gWZhgpv0nECgmP2QNsAq2xUH+YGMyhWbO4fwjo2 2eKa8FrT6PKtjAel/MfyhVb74xM2pIAqqx03HLFM=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s2JIalT2025093; Wed, 19 Mar 2014 14:36:47 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Wed, 19 Mar 2014 14:36:47 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/K4VqTHhYLHmeTaLp_GMw40btMws
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:36:59 -0000

On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:

> One consequence of encrypting DNS traffic is that we break backwards compatibility.

Various proposals that are floating around do no such thing. I have been
critical of djb putting dnscurve over port 53 and I would be just as
critical to others suggesting we put non-DNS over port 53.

Paul


From nobody Wed Mar 19 11:52:25 2014
Return-Path: <marka@isc.org>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92E221A0729 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:52:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level: 
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001] 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 Wdh9GJdJzhnp for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:52:18 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by ietfa.amsl.com (Postfix) with ESMTP id A460F1A071A for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:52:18 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id C33962383CC; Wed, 19 Mar 2014 18:51:56 +0000 (UTC) (envelope-from marka@isc.org)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 7236E160060; Wed, 19 Mar 2014 18:53:01 +0000 (UTC)
Received: from rock.dv.isc.org (unknown [149.20.50.236]) by zmx1.isc.org (Postfix) with ESMTPSA id 69E80160051; Wed, 19 Mar 2014 18:53:01 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id CE197119DED6; Thu, 20 Mar 2014 05:51:55 +1100 (EST)
To: Phillip Hallam-Baker <hallam@gmail.com>
From: Mark Andrews <marka@isc.org>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk> <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
In-reply-to: Your message of "Wed, 19 Mar 2014 14:19:43 -0400." <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
Date: Thu, 20 Mar 2014 05:51:55 +1100
Message-Id: <20140319185155.CE197119DED6@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/sWyiITxAXImOZ2p7MIjYUq9BpSA
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:52:21 -0000

In message <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com>
, Phillip Hallam-Baker writes:
> On Wed, Mar 19, 2014 at 2:06 PM, Tony Finch <dot@dotat.at> wrote:
> 
> > Phillip Hallam-Baker <hallam@gmail.com> wrote:
> > >
> > > In particular, if we let a DNS query ask more than one question at a
> > > time then we improve latency of responses.
> >
> > No need to change the protocol, just make the queries concurrently. If
> > your implementation makes that slow, fix the implementation. You would
> > have to fix it anyway in order to support the protocol changes, so you
> > might as well do the fix without the protocol change. No need to waste
> > time and money on talking about paper protocols.
> >
> 
> This is not a change. It is implementing RFC1035 as written.
> 
> BIND and co have done it wrong all these years. If the implementations are
> not wrong then where is the RFC that states QDCOUNT = 1?

The HEADER is future proof.  The protocol is written for QDCOUNT = 1 for QUERY.
The HEADER does NOT support QDCOUNT != 1 for general <QNAME,QTYPE,QCLASS> in
the query section.  There is no defined behaviour for fixed <QNAME,QCLASS>
and variable <QCLASS>.
 
> I have talked to the engineers at several browser companies and they tell
> me that parallel queries do not actually work the way you imagine.
> 
> In the first place it is only possible to issue the queries at all if you
> override the built in platform API. But even when you do, problems are
> caused by middleboxes and ISPs which limit the number of concurrent queries.

Total BS.  There are system resolvers that are thread aware.  Fire
off # threads in parallel then join. 

> For a resolver, the change is cheap. The benefit to the client is enormous.
> 
> 
> -- 
> Website: http://hallambaker.com/
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org


From nobody Wed Mar 19 11:55:53 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D4BB1A0780 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 FBnUN1OpIXeH for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 11:55:38 -0700 (PDT)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 94CF41A071A for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:55:37 -0700 (PDT)
Received: by mail-lb0-f175.google.com with SMTP id w7so6152736lbi.20 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 11:55:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=exRwSWeaIro5G7PB1VRYBgeFb3DNuSblndwsyOzcf2A=; b=lshhZ4FSAGSQMVLoFx7Yj83fVZ1jyiEwL3vrJTVe8+P4/8uN1eQePKU9JenjcjdL0B yTXW16BlswFAKDxLusGfhdrPp8JWxDwsAgp6ODj4hR3WYYJwblmBOgLFJvZgopRUeh6w gSwIUIqc0a7xTJOrop4GxSWvgbzQuyQiUN3RhxJDbMobNzPoOkSqLM1cC1mvgl91zyhm eOJWpM7Ad42qphobjolfsf1skwxLxRaVzXn24hVwxyGxQGojvqMQ4wnA+XvoL2Xgb+hW A+fY6fsl681e3OtTtbLb+/7uwIhrlZqVEbV9wW3ltaZX3S15iavybkX5iovBbPvqJRc+ g0rw==
MIME-Version: 1.0
X-Received: by 10.152.10.72 with SMTP id g8mr2222843lab.50.1395255328247; Wed, 19 Mar 2014 11:55:28 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 11:55:28 -0700 (PDT)
In-Reply-To: <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com>
Date: Wed, 19 Mar 2014 14:55:28 -0400
Message-ID: <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Content-Type: multipart/alternative; boundary=001a1132efa236164a04f4fa32f0
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/X-vxQQVZGAXMIJvLn1DWrJCcXI8
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 18:55:48 -0000

--001a1132efa236164a04f4fa32f0
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Mar 19, 2014 at 2:09 PM, Ted Hardie <ted.ietf@gmail.com> wrote:

> On Wed, Mar 19, 2014 at 10:40 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:
>
>> One consequence of encrypting DNS traffic is that we break backwards
>> compatibility.
>>
>
> Howdy,
>
> Backwards compatibility with what part of the system?  Or perhaps first,
> what question are we answering, that makes you presume this?
>

Since my client does not currently know about encryption it is going to
have to be upgraded to send encrypted packets.

Once my client sends encrypted packets they cannot by definition be read
unless the receiver has the key and decryption algorithm. Since no server
currently implements said decryption, a new server is needed.


Hence the new protocol cannot be backwards compatible with the old. There
can be a transition path and of course that needs to be considered. But
both the plug and the socket have to change and so there is no reason to
insist on the same connector.



> Imagine for a moment that the question is: "How do I prevent exposure of
> clear text DNS queries from pervasive surveillance when they are sent from
> my home to a recursive resolver in a data center?"  One answer certainly
> could be "Set up an IPSEC tunnel between yourself and that data
> center-based resolver, then run DNS across it".  There are a bunch of
> trade-offs that will tell you whether that is a good idea, but one piece of
> the puzzle is that the DNS bits would look exactly the same.
>

If the answer was IPSEC then we would be doing it already.

There are times to persevere and there are times to just let go. IPSEC has
been in the last category for a decade.

Every IPSEC VPN I have ever used has come with instructions on how to
install a third party IPSEC stack for use with it. And every one of those
has been an unending tale of incompatibility and instability.

The only reason to build on existing specifications is to make use of
existing implementations. If the implementations are huge and unstable then
its time to move on.


There are other approaches which retain the current syntax and change out
> only the transport (for many other values of transport).  There is no
> reason to believe those are wrong  on first principles, so let's not start
> with a "this means DNS 2.0" until we've worked out what the actual issues
> are, okay?
>

My point is that once you decide to change out the transport, you have made
a major change.

All I am proposing to do is to change out the transport. I am suggesting a
KeyExchange + Encapsulation type solution. So it would still be RFC1035
messages inside the encapsulation. But we do have some choices in the way
we design the encapsulation.


Now you can argue that we could just use IPSEC or DTLS. But those are both
really complicated protocols and they are both wired up to PKIX. Yes, I
know that in theory you can do other stuff but in practice you can't
because the stacks have only been tested for interop on PKIX.

PKIX is built on top of DNS. Which is not a show stopper form making use of
PKIX to secure DNS but you have to do it carefully and in a controlled way.

-- 
Website: http://hallambaker.com/

--001a1132efa236164a04f4fa32f0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Wed, Mar 19, 2014 at 2:09 PM, Ted Hardie <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ted.ietf@gmail.com" target=3D"_blank">ted.ietf@gmail.com</=
a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra">=
<div class=3D"">On Wed, Mar 19, 2014 at 10:40 AM, Phillip Hallam-Baker <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hal=
lam@gmail.com</a>&gt;</span> wrote:<br>
</div><div class=3D"gmail_quote"><div class=3D"">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">One consequence of encrypti=
ng DNS traffic is that we break backwards compatibility. </div></blockquote=
>
</div><div>
<br><div style=3D"font-family:georgia,serif">Howdy,<br><br></div><div style=
=3D"font-family:georgia,serif">Backwards compatibility with what part of th=
e system?=A0 Or perhaps first, what question are we answering, that makes y=
ou presume this?<br>
</div></div></div></div></div></blockquote><div><br></div><div>Since my cli=
ent does not currently know about encryption it is going to have to be upgr=
aded to send encrypted packets.</div><div><br></div><div>Once my client sen=
ds encrypted packets they cannot by definition be read unless the receiver =
has the key and decryption algorithm. Since no server currently implements =
said decryption, a new server is needed.</div>
<div><br></div><div><br></div><div>Hence the new protocol cannot be backwar=
ds compatible with the old. There can be a transition path and of course th=
at needs to be considered. But both the plug and the socket have to change =
and so there is no reason to insist on the same connector.</div>
<div><br></div><div>=A0<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D=
"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div style=
=3D"font-family:georgia,serif">
</div><div style=3D"font-family:georgia,serif">Imagine for a moment that th=
e question is: &quot;How do I prevent exposure of clear text DNS queries fr=
om pervasive surveillance when they are sent from my home to a recursive re=
solver in a data center?&quot;=A0 One answer certainly could be &quot;Set u=
p an IPSEC tunnel between yourself and that data center-based resolver, the=
n run DNS across it&quot;.=A0 There are a bunch of trade-offs that will tel=
l you whether that is a good idea, but one piece of the puzzle is that the =
DNS bits would look exactly the same.<br>
</div></div></div></div></div></blockquote><div><br></div><div>If the answe=
r was IPSEC then we would be doing it already.</div><div><br></div><div>The=
re are times to persevere and there are times to just let go. IPSEC has bee=
n in the last category for a decade.=A0</div>
<div><br></div><div>Every IPSEC VPN I have ever used has come with instruct=
ions on how to install a third party IPSEC stack for use with it. And every=
 one of those has been an unending tale of incompatibility and instability.=
</div>
<div><br></div><div>The only reason to build on existing specifications is =
to make use of existing implementations. If the implementations are huge an=
d unstable then its time to move on.<br></div><div><br></div><div><br></div=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra">=
<div class=3D"gmail_quote"><div><div style=3D"font-family:georgia,serif"></=
div><div style=3D"font-family:georgia,serif">
There are other approaches which retain the current syntax and change out o=
nly the transport (for many other values of transport).=A0 There is no reas=
on to believe those are wrong=A0 on first principles, so let&#39;s not star=
t with a &quot;this means DNS 2.0&quot; until we&#39;ve worked out what the=
 actual issues are, okay?<br>
</div></div></div></div></div></blockquote><div><br></div><div>My point is =
that once you decide to change out the transport, you have made a major cha=
nge.</div></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_ex=
tra">
All I am proposing to do is to change out the transport. I am suggesting a =
KeyExchange + Encapsulation type solution. So it would still be RFC1035 mes=
sages inside the encapsulation. But we do have some choices in the way we d=
esign the encapsulation.</div>
<br clear=3D"all"><div><br></div><div>Now you can argue that we could just =
use IPSEC or DTLS. But those are both really complicated protocols and they=
 are both wired up to PKIX. Yes, I know that in theory you can do other stu=
ff but in practice you can&#39;t because the stacks have only been tested f=
or interop on PKIX.</div>
<div><br></div><div>PKIX is built on top of DNS. Which is not a show stoppe=
r form making use of PKIX to secure DNS but you have to do it carefully and=
 in a controlled way.</div><div><br></div>-- <br>Website: <a href=3D"http:/=
/hallambaker.com/">http://hallambaker.com/</a><br>

</div></div>

--001a1132efa236164a04f4fa32f0--


From nobody Wed Mar 19 12:18:16 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E32AA1A07F1 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:18:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 rmKOl2C-vd-2 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:18:13 -0700 (PDT)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) by ietfa.amsl.com (Postfix) with ESMTP id E24461A07E5 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:18:12 -0700 (PDT)
Received: by mail-la0-f51.google.com with SMTP id pv20so312357lab.24 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:18:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Dy8v4qqoVRiN2aBB8/utstCl/GeisBAnbZlF3a/nYwI=; b=LC7OTnW9fBg8gTLM5Q2WR5QpEkpZXHYckHwQbbNbpz/fc+zHrcjUJ4FMbloUcXoufM Rv4Sv7ks1cw3J/q34uuwqMSGfI+FSH2sJHKZXTUrbwQhk9yH5ERazRNdb0NfMxBEpxjB y3ICr2/yiWfqtbE4HZrsVmikcQAXMl9qvxvIDbPZo6WhvtW6In9zHW3JVW+hZFbjS1SD Rt8JBLnQqijeIL0YxVFhZ93QCS88mAW2q/Bnhr24ZXwTUus9jQuNS8aw4L5ivBvm4DiO lVIG15eF1e1hWnLoWrlWDJAsm0Ws4OiW6jRfKokLNOVZ9YfgRzhncI0ofNPj8xc9SHgv ZzQQ==
MIME-Version: 1.0
X-Received: by 10.152.5.202 with SMTP id u10mr2593101lau.42.1395256683314; Wed, 19 Mar 2014 12:18:03 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 12:18:02 -0700 (PDT)
In-Reply-To: <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca>
Date: Wed, 19 Mar 2014 15:18:02 -0400
Message-ID: <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Wouters <paul@nohats.ca>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/iZK1DuzTuPdwcg_FfEtVJF3_q98
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 19:18:15 -0000

On Wed, Mar 19, 2014 at 2:36 PM, Paul Wouters <paul@nohats.ca> wrote:
>
> On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:
>
>> One consequence of encrypting DNS traffic is that we break backwards compatibility.
>
>
> Various proposals that are floating around do no such thing. I have been
> critical of djb putting dnscurve over port 53 and I would be just as
> critical to others suggesting we put non-DNS over port 53.
>
> Paul

My point is that  E(DNS, k) <> DNS

If you take DNS messages and encrypt them, the result is not DNS
messages. There are hacks that can be used to tunnel non-DNS messages
over DNS but that is a different issue.


As I see it, port 53 is for DNS protocol messages as in DNSv1.0
protocol without encryption.

If people are encrypting by whatever means, then they should be on a
different port. But that is easy enough to do.


-- 
Website: http://hallambaker.com/


From nobody Wed Mar 19 12:25:56 2014
Return-Path: <jabley@hopcount.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BC5C1A07B3 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] 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 xtDXFwbG1hYg for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:25:54 -0700 (PDT)
Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) by ietfa.amsl.com (Postfix) with ESMTP id F06981A048C for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:25:53 -0700 (PDT)
Received: by mail-ob0-f172.google.com with SMTP id wm4so8707670obc.31 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:25:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XCHIFzHpXsFK5V1hJpXyh+T5gfaNdv71xE6yddpLjj0=; b=EUR++aw+NmhznZnK5TBldNKbbwugLzvYpmTp1P3RapMMK81/eXKGKvd3kg2UzrcvvT mzaUWzoSB0jVwWvWT7Iac3paEdm/rpDVmtWz/T8aoPRN0+VHa/WUjMyVseA0WcpLOCtU /IzgYgFn7EwYQg5C+vFnJK57i1xmn4s7GElXw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=XCHIFzHpXsFK5V1hJpXyh+T5gfaNdv71xE6yddpLjj0=; b=QQ1s9jHDZc+6t5OnLEJesUvu17jcayOeJSmnKRqyX5gTRWKHROSubFK9d4xGQ7a5Ij PmtTrZOZyP0jQ6iQh0/CTfdQmcabRLMYn8AnNKLFE8mLhpdSWlQkNa3DMj9heVkumfSQ w3uzHmJKyat0GUPhHKbCJWPNf/10Soj1DL6ImJsA+jmx2jyepPlCQdVS/QNsnk0Hpk+J EHKvyYYdYRAWhzGUeYnjlrQJ106WGi0riznBA0LCMMRfCarFOaqpgHP12EuOhHfGJx8G lziy/urRifKnuhCfbJ/nWjcs/wX4FHQhF8vzJCZlYs6+dZMQdGf1TtpshRftc5tvcy4h vx9w==
X-Gm-Message-State: ALoCoQn7UcpgBIw5AvBiSg9ArOvwQWFxhi09A5RufhUGpMaTaK28/HVDQ9rgHV/zzAgxXMLU/n3t
X-Received: by 10.182.122.133 with SMTP id ls5mr3002559obb.52.1395257145022; Wed, 19 Mar 2014 12:25:45 -0700 (PDT)
Received: from ?IPv6:2001:4900:1042:1:fc77:c9ea:8cef:9f58? ([2001:4900:1042:1:fc77:c9ea:8cef:9f58]) by mx.google.com with ESMTPSA id fn10sm39005302obb.12.2014.03.19.12.25.43 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 12:25:44 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com>
Date: Wed, 19 Mar 2014 15:25:42 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <E6004927-23C3-450C-A0EB-8E78611287B0@hopcount.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca> <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/HeemQPlHpNt8ex0Qg7HvW1Yj1FM
Cc: dns-privacy@ietf.org, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 19:25:55 -0000

On 19 Mar 2014, at 15:18, Phillip Hallam-Baker <hallam@gmail.com> wrote:

> If you take DNS messages and encrypt them, the result is not DNS
> messages. There are hacks that can be used to tunnel non-DNS messages
> over DNS but that is a different issue.

Well, to the extent that you believe that DNS is not extensible for =
these purposes (e.g. via EDNS0 or EDNSn, n > 0).

> As I see it, port 53 is for DNS protocol messages as in DNSv1.0
> protocol without encryption.

This was a point we made (perhaps weakly) in =
draft-jabley-dnsop-dns-onion.

The bits of that idea that use port 53 are regular, unmolested DNS =
queries. All the other bits could be RESTful APIs over HTTPS pools, or =
whatever else you like. Whatever other weaknesses one might reasonably =
point out in that proposal, the facts that it (a) works with existing =
stub resolvers and authority servers without modification and (b) does =
not require deployment of DNSSEC, are strengths, I think.


Joe=


From nobody Wed Mar 19 12:27:18 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37CDE1A06D8 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:27:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 8-AJqusESpMd for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:27:14 -0700 (PDT)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 09EC71A045B for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:27:13 -0700 (PDT)
Received: by mail-lb0-f175.google.com with SMTP id w7so6180325lbi.20 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:27:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gXUo3HzSguKGyD+nQyvFBZnTB5FlPoeoX5JIkY7ztuU=; b=pdBCSLuTse4SbFQiWCk2Afjqq2NK7XGV21pBRcW4WEiSpFflEQ3OgbDBG0XWiZFR9w ECAQWvuulfHYkCs+WARzgN/kMjgrzL5d7hEaXXHJoT+2ruaPmnDEzLL2pzVPXpHcKawU UEeH2BuEJeZFaBUR4ICO07cYVODDQseCJFF5HiXQ9bKzsxTaMjVJMCkEjWqAJagllNML Av6zJo7SZUfQ9bw0oTXickGRms9zZV0yZBeObhSa8eKGzrL9xU+PQLP0K2Lg1j5efwDT d47fnMGSR34fVSR+IY1Mt7hIEGKhXUOLooQkYm0N8SsPfIrsBut/h7gRhc8LD7srkJ6W Ur6w==
MIME-Version: 1.0
X-Received: by 10.112.118.20 with SMTP id ki20mr2501636lbb.45.1395257224494; Wed, 19 Mar 2014 12:27:04 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 12:27:04 -0700 (PDT)
In-Reply-To: <alpine.LFD.2.10.1403191427450.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk> <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com> <alpine.LFD.2.10.1403191427450.2170@bofh.nohats.ca>
Date: Wed, 19 Mar 2014 15:27:04 -0400
Message-ID: <CAMm+LwiSQygK7KXjA6_XSTMDGar3EJtjTeKwEZaj89-AfriqcQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Wouters <paul@nohats.ca>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/_L6bA6X0krSv_3xzsg7Mk4lRCTg
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 19:27:16 -0000

On Wed, Mar 19, 2014 at 2:34 PM, Paul Wouters <paul@nohats.ca> wrote:
> On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:
>
> [ still finding your replies to replies basiclly unreadable due to your
>   email client quoting settings, so if I'm mis-attributing, thats why.
>   When these go like 3 deep, I basically have to just give up and delete
>   the emails unread. You are the only person I have this problem with,
>   and plenty of people use gmail.]
>
>
>> On Wed, Mar 19, 2014 at 2:06 PM, Tony Finch <dot@dotat.at> wrote:
>>       Phillip Hallam-Baker <hallam@gmail.com> wrote:
>>       >
>>       > In particular, if we let a DNS query ask more than one question at
>> a
>>       > time then we improve latency of responses.
>>
>> No need to change the protocol, just make the queries concurrently. If
>> your implementation makes that slow, fix the implementation. You would
>> have to fix it anyway in order to support the protocol changes, so you
>> might as well do the fix without the protocol change. No need to waste
>> time and money on talking about paper protocols.
>>
>>
>> This is not a change. It is implementing RFC1035 as written.
>>
>> BIND and co have done it wrong all these years. If the implementations are
>> not wrong then where is the RFC that states QDCOUNT = 1?
>
>
> We tested this a few months ago while discussing
> draft-wouters-edns-keepalive using
> a modified dig command.
>
> All servers support multiple queries at once fine. Only google dns
> capped it at 80 queries before closing the connection. Things will be
> different when the TCP connection is idle of course, as the server might
> hang up on you, hence the above mentioned draft to match up client and
> server behaviour.

Wow, so we have the capability there in the infrastructure but people
are saying that they can't check for DANE records or other policy
records and other people are saying that we shouldn't 'change' the
protocol?


>> I have talked to the engineers at several browser companies and they tell
>> me that parallel queries do not actually work the way you imagine.
>
>
> All the more reason for draft-wouters-edns-keepalive (and
> draft-wouters-edns-chain-query)

That looks like a perfectly sensible suggestion. But I would prefer to
avoid going to TCP unless it is absolutely necessary.

If we go to TCP then the shortest distance between two points is to
make DNS a Web Service and run it over TLS. Now I do in fact do
precisely that in OmniBroker to provide a 'last ditch' resolution
service for cases where the user is stuck behind a hotel portal. But I
was hoping to avoid that for DNSE.



-- 
Website: http://hallambaker.com/


From nobody Wed Mar 19 12:39:06 2014
Return-Path: <paul@nohats.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00D1F1A0779 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.547] 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 ZSpWQVVJJgOk for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 12:39:03 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id A8CD91A06D8 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 12:39:03 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 61281800AF; Wed, 19 Mar 2014 15:38:54 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1395257934; bh=Xel16UU7CNLPI++5sUiEYIdyHZA1Qbh4RLSoOVlvg0s=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=ZIDtDdf8ErAQY5l5FbN3lV0vhmPGe4CXerUP3SXrN3MMFVoLhHBL1VdCCc+8Ou+77 uBzT69KApSSnwRUYp2yRGyhuVmjEOeYtNxonVhR8kuqIiKExD2Z++9RU/C7iO7S/yJ 05K+SU4tPkGg05R0XbkAaJztsP7Cc+o+TGV3lU/c=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s2JJcp4a030431; Wed, 19 Mar 2014 15:38:54 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Wed, 19 Mar 2014 15:38:51 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1403191537280.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca> <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/x4X6M2IC0GrFMjYFrJ0JkpC7TAI
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 19:39:06 -0000

On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:

> If you take DNS messages and encrypt them, the result is not DNS
> messages.

That depends. If you use a new RRTYPE for this, it could very well be
DNS.

> If people are encrypting by whatever means, then they should be on a
> different port. But that is easy enough to do.

And trivial to block by adversaries?

Paul


From nobody Wed Mar 19 13:02:19 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5305D1A07DB for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 13:02:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 7lO3QAq_1Tv9 for <dns-privacy@ietfa.amsl.com>; Wed, 19 Mar 2014 13:02:15 -0700 (PDT)
Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by ietfa.amsl.com (Postfix) with ESMTP id 15D9D1A07C8 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 13:02:14 -0700 (PDT)
Received: by mail-la0-f48.google.com with SMTP id gf5so6321637lab.35 for <dns-privacy@ietf.org>; Wed, 19 Mar 2014 13:02:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8XUztQk315q46lWy+6xgxdmjnb0fkkl71FPkkLGt94A=; b=g6jrtO+OnN2T6VTDS/mras+8R1VMqJCtqSSBiXV/qmFXCnzMyU+bC39yU2jWbSgR2F pLkpYRFk9HCV2fHPbPCwBuMPrqWkm8cQtOi5hMKqf6LtmMhah/1nSIPekkTwPjD+CfIV zJA9jnCf4GwRpZcA0wgbqemKib1rC++OftAAUuGvdFLY1iKLebnEQoynNQEiJfxYHCZD EtYoAsOzLCVR4GOU7ozf5vbU5vrDo/tRTIUQAAbe1jBir7ufh+FjA0laWLXLsTrmKm/2 shRRnFdA6b7hZWYrrjUYCenS8j40S5RcWKkohR6bGe0XaTvVlNbfbXeLTc/S8eadXoTP V8gg==
MIME-Version: 1.0
X-Received: by 10.152.21.137 with SMTP id v9mr2546125lae.44.1395259325733; Wed, 19 Mar 2014 13:02:05 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Wed, 19 Mar 2014 13:02:05 -0700 (PDT)
In-Reply-To: <alpine.LFD.2.10.1403191537280.2170@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LFD.2.10.1403191435350.2170@bofh.nohats.ca> <CAMm+Lwhb7LMecCQCiJETfxJ-+UFfRxXJMrGs+R8UUGT8aKBHkw@mail.gmail.com> <alpine.LFD.2.10.1403191537280.2170@bofh.nohats.ca>
Date: Wed, 19 Mar 2014 16:02:05 -0400
Message-ID: <CAMm+LwhUt8-gPayZXXaP0fgJzDYjYwPUhV-FYiCsHC3FAzkpcA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Paul Wouters <paul@nohats.ca>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/zsEDowwb1Tr8INS6xbfIxmB4qwQ
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 19 Mar 2014 20:02:17 -0000

On Wed, Mar 19, 2014 at 3:38 PM, Paul Wouters <paul@nohats.ca> wrote:
> On Wed, 19 Mar 2014, Phillip Hallam-Baker wrote:
>
>> If you take DNS messages and encrypt them, the result is not DNS
>> messages.
>
>
> That depends. If you use a new RRTYPE for this, it could very well be
> DNS.
>
>
>> If people are encrypting by whatever means, then they should be on a
>> different port. But that is easy enough to do.
>
>
> And trivial to block by adversaries?
>
> Paul

Well, that get us into the whole discussion of what the attack model is.

First off, my DNS privacy proposal is not the OmniBroker proposal I
have been working on for about two years now. What we are talking
about here is just being able to transport DNS protocol between a
client and server with minimal privacy compromise to third parties. In
Omnibroker I support additional queries such as fast access to OCSP
certificate status data and other trusted data.

That said, many of the security considerations are the same. In
particular we have denial of service considerations that are hard and
we want the protocol to have minimal impact on latency.

The problem dealing with blocking of requests is deciding how to
respond. You have basically three options

a) Attempt to tunnel over another protocol
b) Tell the user that they can't go to the site because of blocking
c) Fallback to standard DNS

If the attack is coming from a stupid firewall or other middlebox,
option a is likely to succeed. If the problem is an active attack then
you are going to be left with b or c.


That said, in Omnibroker, the protocol is divided into two parts.

1) Connection (Key Exchange and service discovery) which is always
implemented as a JSON Web Service over TLS.

2) Query/Response which is supported over multiple protocols:

A) UDP Protocol with JSON-B messages
B) Tunneling over DNS TXT requests using BASE-32 & BASE-64
C) As a JSON Web Service over TLS

Option A is available in 97% of network situations and Option B works
in the other 3%. Option C is only necessary in cases where there is an
active attack and the attacker can still block the IP address of the
Web Service if they can work out where that is.


One of the countermeasures I take to prevent this type of attack is
that the client is given the address of the resolver during the key
exchange. This allows me to keep the address of the resolver private.

Keeping the resolver address private does not do anything for me in
IPv4 space. But it provides a lot of leverage in IPv6 world. I can put
every client session on a separate IPv6 address and then filter out
the DoS attacks by IP address.



   [I-D.hallambaker-omnibroker]  Hallam-Baker, P, "OmniBroker Protocol",
              Internet-Draft draft-hallambaker-omnibroker-07, 21 January
              2014.

   [I-D.hallambaker-wsconnect]  Hallam-Baker, P, "JSON Service Connect
              (JCX) Protocol", Internet-Draft draft-hallambaker-
              wsconnect-05, 21 January 2014.

-- 
Website: http://hallambaker.com/


From nobody Thu Mar 20 00:42:44 2014
Return-Path: <matthijs@nlnetlabs.nl>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B13661A0572 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 00:42:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.453
X-Spam-Level: 
X-Spam-Status: No, score=-100.453 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=no
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 dXuYWtJ3GELp for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 00:42:39 -0700 (PDT)
Received: from open.nlnetlabs.nl (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FD4E1A03DF for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 00:42:39 -0700 (PDT)
Received: from [IPv6:2001:981:19be:1:1db6:e9bb:1364:afe6] ([IPv6:2001:981:19be:1:1db6:e9bb:1364:afe6]) (authenticated bits=0) by open.nlnetlabs.nl (8.14.7/8.14.4) with ESMTP id s2K7gNjN022128 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Thu, 20 Mar 2014 08:42:24 +0100 (CET) (envelope-from matthijs@nlnetlabs.nl)
Authentication-Results: open.nlnetlabs.nl; dmarc=none header.from=nlnetlabs.nl
DKIM-Filter: OpenDKIM Filter v2.8.3 open.nlnetlabs.nl s2K7gNjN022128
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nlnetlabs.nl; s=default; t=1395301347; bh=eldCiawO3FNtXtCdHD30FC6tgZgUBv+0H18yQh4qc28=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ZE4dKl3FPLBF7A/BkGN5dlDvEjoC0RShXeiY+kIvbo41KMlw3tTKx+4WOQ8i+FBHS uh/Wunh686kZbsoLETYwf1qLcWyZdkMFnKyMZKTs/Nr/OFl5XmWcfYlFIGPlng7R0F SoYxDO/i2EB75x7+Ls0N+cR+3FfGNB4v+nHdgdec=
Message-ID: <532A9BDF.80401@nlnetlabs.nl>
Date: Thu, 20 Mar 2014 08:42:23 +0100
From: Matthijs Mekking <matthijs@nlnetlabs.nl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Phillip Hallam-Baker <hallam@gmail.com>, Ted Hardie <ted.ietf@gmail.com>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com> <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com>
In-Reply-To: <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]); Thu, 20 Mar 2014 08:42:25 +0100 (CET)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/E6EwmPFigoAhj6LVj1JBW9pU9Wc
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 07:42:41 -0000

Hi,

On 03/19/2014 07:55 PM, Phillip Hallam-Baker wrote:
> On Wed, Mar 19, 2014 at 2:09 PM, Ted Hardie <ted.ietf@gmail.com
> <mailto:ted.ietf@gmail.com>> wrote:
> 
>     On Wed, Mar 19, 2014 at 10:40 AM, Phillip Hallam-Baker
>     <hallam@gmail.com <mailto:hallam@gmail.com>> wrote:
> 
>         One consequence of encrypting DNS traffic is that we break
>         backwards compatibility. 
> 
> 
>     Howdy,
> 
>     Backwards compatibility with what part of the system?  Or perhaps
>     first, what question are we answering, that makes you presume this?
> 
> 
> Since my client does not currently know about encryption it is going to
> have to be upgraded to send encrypted packets.
> 
> Once my client sends encrypted packets they cannot by definition be read
> unless the receiver has the key and decryption algorithm. Since no
> server currently implements said decryption, a new server is needed.
> 
> 
> Hence the new protocol cannot be backwards compatible with the old.
> There can be a transition path and of course that needs to be
> considered. But both the plug and the socket have to change and so there
> is no reason to insist on the same connector.

My client also didn't knew about DNSSEC and had to be upgraded to
validate responses. We indeed needed a new server that could add those
RRSIG records. But the protocol was backwards compatible. So, I don't
see why we couldn't end up with a solution that is backwards compatible
here.

Best regards,
  Matthijs


>     Imagine for a moment that the question is: "How do I prevent
>     exposure of clear text DNS queries from pervasive surveillance when
>     they are sent from my home to a recursive resolver in a data
>     center?"  One answer certainly could be "Set up an IPSEC tunnel
>     between yourself and that data center-based resolver, then run DNS
>     across it".  There are a bunch of trade-offs that will tell you
>     whether that is a good idea, but one piece of the puzzle is that the
>     DNS bits would look exactly the same.
> 
> 
> If the answer was IPSEC then we would be doing it already.
> 
> There are times to persevere and there are times to just let go. IPSEC
> has been in the last category for a decade. 
> 
> Every IPSEC VPN I have ever used has come with instructions on how to
> install a third party IPSEC stack for use with it. And every one of
> those has been an unending tale of incompatibility and instability.
> 
> The only reason to build on existing specifications is to make use of
> existing implementations. If the implementations are huge and unstable
> then its time to move on.
> 
> 
>     There are other approaches which retain the current syntax and
>     change out only the transport (for many other values of transport). 
>     There is no reason to believe those are wrong  on first principles,
>     so let's not start with a "this means DNS 2.0" until we've worked
>     out what the actual issues are, okay?
> 
> 
> My point is that once you decide to change out the transport, you have
> made a major change.
> 
> All I am proposing to do is to change out the transport. I am suggesting
> a KeyExchange + Encapsulation type solution. So it would still be
> RFC1035 messages inside the encapsulation. But we do have some choices
> in the way we design the encapsulation.
> 
> 
> Now you can argue that we could just use IPSEC or DTLS. But those are
> both really complicated protocols and they are both wired up to PKIX.
> Yes, I know that in theory you can do other stuff but in practice you
> can't because the stacks have only been tested for interop on PKIX.
> 
> PKIX is built on top of DNS. Which is not a show stopper form making use
> of PKIX to secure DNS but you have to do it carefully and in a
> controlled way.
> 
> -- 
> Website: http://hallambaker.com/
> 
> 
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
> 


From nobody Thu Mar 20 03:14:37 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB00A1A07C4 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 03:14:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 Kzwq8jtbexZP for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 03:14:34 -0700 (PDT)
Received: from ppsw-40.csi.cam.ac.uk (ppsw-40-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f40]) by ietfa.amsl.com (Postfix) with ESMTP id 1D9DA1A08A0 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 03:14:33 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:56019) by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25) with esmtpa (EXTERNAL:fanf2) id 1WQZzR-00061v-kL (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 10:14:21 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQZzR-0004Lr-AA (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 10:14:21 +0000
Date: Thu, 20 Mar 2014 10:14:21 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwiSQygK7KXjA6_XSTMDGar3EJtjTeKwEZaj89-AfriqcQ@mail.gmail.com>
Message-ID: <alpine.LSU.2.00.1403201005170.31260@hermes-1.csi.cam.ac.uk>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <alpine.LSU.2.00.1403191801520.31260@hermes-1.csi.cam.ac.uk> <CAMm+LwjMuy9OcjG6XK9LY2pjig65caoKOL_j0vW+bRVOmdaaMw@mail.gmail.com> <alpine.LFD.2.10.1403191427450.2170@bofh.nohats.ca> <CAMm+LwiSQygK7KXjA6_XSTMDGar3EJtjTeKwEZaj89-AfriqcQ@mail.gmail.com>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/rpO_Sb3g9MqpfSHoYg4HuS3D43A
Cc: dns-privacy@ietf.org, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 10:14:37 -0000

Phillip Hallam-Baker <hallam@gmail.com> wrote:
>
> Wow, so we have the capability there in the infrastructure but people
> are saying that they can't check for DANE records or other policy
> records and other people are saying that we shouldn't 'change' the
> protocol?

The problems that browsers have is NOT lack of concurrency in the DNS.
For example I pointed a computer at Google Public DNS which is about
12ms away, and observed plenty of concurrent DNS requests - see below for
tcpdump output.

The problem with DANE is more to do with middleboxes (especially home CPE)
breaking DNSSEC. If that were not the case it would be straightforward for
browsers to request all the necessary DANE records at the same time as the
site's address records, without harming latency.

The problem with TLS policy records is that the browser does not know
ahead of time what queries it will need to make, so looking up the records
adds latency between receiving the certificate and being able to use the
TLS connection.

10:06:19.874220 IP 172.24.193.148.55349 > google-public-dns-a.google.com.domain: 61217+ A? www.ietf.org. (30)
10:06:19.874335 IP 172.24.193.148.60888 > google-public-dns-a.google.com.domain: 63087+ AAAA? www.ietf.org. (30)
10:06:19.874462 IP 172.24.193.148.59022 > google-public-dns-a.google.com.domain: 48942+ A? www.iab.org. (29)
10:06:19.874588 IP 172.24.193.148.52688 > google-public-dns-a.google.com.domain: 57512+ AAAA? www.iab.org. (29)
10:06:19.874713 IP 172.24.193.148.59194 > google-public-dns-a.google.com.domain: 37286+ A? www.rfc-editor.org. (36)
10:06:19.874834 IP 172.24.193.148.51605 > google-public-dns-a.google.com.domain: 62361+ AAAA? www.rfc-editor.org. (36)
10:06:19.886559 IP google-public-dns-a.google.com.domain > 172.24.193.148.55349: 61217 1/0/0 A 4.31.198.44 (46)
10:06:19.886733 IP google-public-dns-a.google.com.domain > 172.24.193.148.60888: 63087 1/0/0 AAAA 2001:1900:3001:11::2c (58)
10:06:19.886894 IP google-public-dns-a.google.com.domain > 172.24.193.148.59194: 37286 1/0/0 A 209.208.19.211 (52)

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Trafalgar: Variable 3 or 4, becoming southwesterly 4 or 5 later in northwest.
Moderate. Occasional drizzle. Moderate or good.


From nobody Thu Mar 20 03:34:43 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EF2C1A08AF for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 03:34:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.547] 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 ZKYpTJmVepUP for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 03:34:35 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) by ietfa.amsl.com (Postfix) with ESMTP id 818751A066A for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 03:34:35 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id 0B2F72801A8 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 11:34:25 +0100 (CET)
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx4.nic.fr (Postfix) with ESMTP id 05DBF28013D for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 11:34:25 +0100 (CET)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [IPv6:2001:67c:1348:8::7:113]) by relay2.nic.fr (Postfix) with ESMTP id 0489CAD2574 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 11:33:55 +0100 (CET)
Date: Thu, 20 Mar 2014 11:33:55 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: dns-privacy@ietf.org
Message-ID: <20140320103354.GA14856@nic.fr>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU"
Content-Disposition: inline
X-Operating-System: Debian GNU/Linux 7.4
X-Kernel: Linux 3.2.0-4-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/nBN7kafh8v8alFX2rVBV3pLAo-E
Subject: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 10:34:41 -0000

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Per popular request, qname minimisation, one of the techniques that
may be used to improve DNS privacy, now has its own Internet-Draft.

--EeQfGwPcQSOJBaQU
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: i-d-announce-bounces@ietf.org
Received: from hermes.prod-int.prive.sqy.nic.fr [10.10.81.60]
	by batilda.nic.fr with IMAP (fetchmail-6.3.21)
	for <bortzmeyer@localhost> (single-drop); Thu, 20 Mar 2014 11:15:45 +0100 (CET)
Received: from hebe.prod-int.prive.th3.nic.fr (LHLO zimbra.afnic.fr)
 (10.1.81.80) by zimbra.afnic.fr with LMTP; Thu, 20 Mar 2014 11:13:22 +0100
 (CET)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.afnic.fr (Postfix) with ESMTP id 5394E8C8003
	for <bortzmeyer@afnic.fr>; Thu, 20 Mar 2014 11:13:22 +0100 (CET)
X-Virus-Scanned: amavisd-new at zimbra.afnic.fr
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-10 required=6.6
	tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1] autolearn=unavailable
Authentication-Results: zimbra.afnic.fr (amavisd-new); dkim=pass
	header.i=@ietf.org
Received: from zimbra.afnic.fr ([127.0.0.1])
	by localhost (zimbra.afnic.fr [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QrCz1XZ8cYCE for <bortzmeyer@afnic.fr>;
	Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162])
	by zimbra.afnic.fr (Postfix) with ESMTP id 3CC1C8C8001
	for <bortzmeyer@hermes.nic.fr>; Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Received: by relay1.nic.fr (Postfix)
	id 3AAF84C007E; Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Delivered-To: bortzmeyer@nic.fr
Received: from mx5.nic.fr (mx5.nic.fr [IPv6:2001:67c:2218:2::4:13])
	by relay1.nic.fr (Postfix) with ESMTP id 305EA4C0029;
	Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Received: from mx5.nic.fr (localhost [127.0.0.1])
	by mx5.nic.fr (Postfix) with SMTP id 2543F300163;
	Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Received: by mx5.nic.fr (Postfix, from userid 1137)
	id 08B6B3002B3; Thu, 20 Mar 2014 11:13:22 +0100 (CET)
Received: from mail.ietf.org (mail.ietf.org [IPv6:2001:1900:3001:11::2c])
	by mx5.nic.fr (Postfix) with ESMTP id A0F45300163;
	Thu, 20 Mar 2014 11:13:21 +0100 (CET)
Received: from ietfa.amsl.com (localhost [IPv6:::1])
	by ietfa.amsl.com (Postfix) with ESMTP id 695361A08C7;
	Thu, 20 Mar 2014 03:12:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1395310343; bh=iwpeSvIUxfaERHhxx2JDEq7PDLb/QgA1OYvxNuVP9xI=;
	h=MIME-Version:From:To:Subject:Message-ID:Date:Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Content-Type:Content-Transfer-Encoding:Sender;
	b=BgZD6jncTv+Mf1/2rWzaNwospVDRHYhtppHOskpTyRbD0dYVePJuxbpa/WKUqGMDY
	 YoL8CTMIhztSjptfveXtJo3z6lEn2jtwgH07FwULKB8ZU3us0UM4td6O0IwkNjzI5e
	 UDIFFW7B9/BXMe+MGeHJwEve4Uj35695icUdy2u8=
X-Original-To: i-d-announce@ietfa.amsl.com
Delivered-To: i-d-announce@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 7D54C1A08C7
 for <i-d-announce@ietfa.amsl.com>; Thu, 20 Mar 2014 03:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.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 YFcJb8QnCn_3 for <i-d-announce@ietfa.amsl.com>;
 Thu, 20 Mar 2014 03:12:11 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1])
 by ietfa.amsl.com (Postfix) with ESMTP id 5E10A1A08C4
 for <i-d-announce@ietf.org>; Thu, 20 Mar 2014 03:12:11 -0700 (PDT)
MIME-Version: 1.0
Old-From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Old-Subject: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt
X-Test-IDTracker: no
X-IETF-IDTracker: 5.1.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140320101211.27899.36665.idtracker@ietfa.amsl.com>
Date: Thu, 20 Mar 2014 03:12:11 -0700
Archived-At: http://mailarchive.ietf.org/arch/msg/i-d-announce/pt9mOlJzwh-S01dg0DLazqoauBw
X-BeenThere: i-d-announce@ietf.org
X-Mailman-Version: 2.1.15
Reply-To: internet-drafts@ietf.org
List-Id: Internet Draft Announcements only <i-d-announce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i-d-announce>,
 <mailto:i-d-announce-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/i-d-announce/>
List-Post: <mailto:i-d-announce@ietf.org>
List-Help: <mailto:i-d-announce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>,
 <mailto:i-d-announce-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: i-d-announce-bounces@ietf.org
Sender: "I-D-Announce" <i-d-announce-bounces@ietf.org>
X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.3.20.100315
X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report='
 RCVD_FROM_IP_DATE 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1300_1399 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, NO_REAL_NAME 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_LIST_HEADER 0, __HAS_LIST_HELP 0, __HAS_LIST_SUBSCRIBE 0, __HAS_LIST_UNSUBSCRIBE 0, __HAS_MSGID 0, __HAS_REPLYTO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __REPLYTO_SAMEAS_FROM 0, __REPLYTO_SAMEAS_FROM_ACC 0, __REPLYTO_SAMEAS_FROM_ADDY 0, __REPLYTO_SAMEAS_FROM_DOMAIN 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NS '
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2
Subject: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt
From: internet-drafts@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts directories.


        Title           : DNS query name minimisation to improve privacy
        Author          : Stephane Bortzmeyer
	Filename        : draft-bortzmeyer-dns-qname-minimisation-00.txt
	Pages           : 4
	Date            : 2014-03-20

Abstract:
   This document describes one of the techniques that could be used to
   improve DNS privacy (see [I-D.bortzmeyer-dnsop-dns-privacy]), a
   technique called "qname minimisation".

   Discussions of the document should currently take place on the dns-
   privacy mailing list [dns-privacy].


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-bortzmeyer-dns-qname-minimisation/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-bortzmeyer-dns-qname-minimisation-00


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

--EeQfGwPcQSOJBaQU--


From nobody Thu Mar 20 04:04:29 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06FFD1A08BC for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 04:04:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 IHnmC98_yQU2 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 04:04:23 -0700 (PDT)
Received: from ppsw-51.csi.cam.ac.uk (ppsw-51-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f51]) by ietfa.amsl.com (Postfix) with ESMTP id 35A281A06CB for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 04:04:23 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:60036) by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpa (EXTERNAL:fanf2) id 1WQalh-0004nR-Z5 (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 11:04:13 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQalh-0000kD-Qu (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 11:04:13 +0000
Date: Thu, 20 Mar 2014 11:04:13 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
In-Reply-To: <20140320103354.GA14856@nic.fr>
Message-ID: <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk>
References: <20140320103354.GA14856@nic.fr>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/jOtpOWIvra3iVw3rDwufxIRFEjM
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 11:04:26 -0000

Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:

> Per popular request, qname minimisation, one of the techniques that
> may be used to improve DNS privacy, now has its own Internet-Draft.

Ace :-)

You say "[RFC2181] suggests an algorithm to find the zone cut" but
although it describes what a zone cut looks like I can't see any clear
description of an algorithm for finding them. There are evidently
subtleties in this algorithm; for example, do you abort early if you get
an NXDOMAIN response, or do you treat that as NOERROR/NODATA? Is there
enough buggy handling of empty non-terminals that you have to do the
latter? And if so what are the privacy implications?

Also,

   Another note is that the answer to the NS query, unlike the referral
   sent when the question is a full qname, is in the Answer section, not
   in the Authoritative section.

This is incorrect. RFC 2181 again:

                  The NS records that indicate a zone cut are the
   property of the child zone created, as are any other records for the
   origin of that child zone, or any sub-domains of it.  A server for a
   zone should not return authoritative answers for queries related to
   names in another zone, which includes the NS, and perhaps A, records
   at a zone cut, unless it also happens to be a server for the other
   zone.

Later on,

                                    However, qname minimisation may
   still work with such domains since they are only leaf domains (no
   need to send them NS requests).

This goes back to subtleties in the algorithm :-)

You will send NS queries for www.ratp.fr to the servers of ratp.fr so you
should never trigger the brokenness in the www.ratp.fr load balancer.

This brings up a question about zone cuts at the leaf like this one:
should your query sequence look like

  fr          IN NS ?
  ratp.fr     IN NS ?
  www.ratp.fr IN NS ?
  www.ratp.fr IN A ?
  www.ratp.fr IN AAAA ?

Or should you skip the third query?

Skipping the third query would improve latency in most cases (when there
isn't a zone cut at the leaf), but it leads to leakage. For example,
consider a domain like google.com: do you want the .com name servers to
know if you are sending mail to Google, rather than just looking at their
web site?

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Viking, North Utsire, South Utsire: Southerly or southwesterly 6 to gale 8,
occasionally severe gale 9 at first in Viking. Rough or very rough. Occasional
rain. Moderate or good, occasionally poor.


From nobody Thu Mar 20 05:54:40 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4111A1A072D for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 05:54:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level: 
X-Spam-Status: No, score=-1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, SPF_PASS=-0.001] autolearn=no
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 KcbVX7wbFG-V for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 05:54:36 -0700 (PDT)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 545801A073E for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 05:54:36 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id hr13so565096lab.17 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 05:54:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tEhVQ/F7A//8UK5JKPxnM+j6t2psP68SosGyru02Wik=; b=CDKuXNkcldjX0pddVVGhCmoLoWZiAEz0XXqP9ZiTKMFLwjpBI8L43xxhUWRqBg/Shm jbAfdM3bTBAIjQ2DM9yp/W3JdKsimhPkJRoNrCVq/TrEycO0eQEBt++FMKGn/mboKVxg vQO5WpRkUSk1arEcbPpu2Bq8CBtDUJ+KRtmeLUvp4RolrYp6zEBHJvzVhj4N1i40uQ4K 7WccnSzjkfPr60T0zepTlS6EFVRjj1IiBOmBq7SWqu52g4zb6VScVR+QzD/oropggMlQ i/vAWDZf0XjPpXP9rKNwEZ8nAhkYbntKp6alLsMyTU/xNif0qISggf4OTPKRc+Fg5N7i TPig==
MIME-Version: 1.0
X-Received: by 10.112.163.69 with SMTP id yg5mr9017390lbb.14.1395320066707; Thu, 20 Mar 2014 05:54:26 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Thu, 20 Mar 2014 05:54:26 -0700 (PDT)
In-Reply-To: <532A9BDF.80401@nlnetlabs.nl>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com> <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com> <532A9BDF.80401@nlnetlabs.nl>
Date: Thu, 20 Mar 2014 08:54:26 -0400
Message-ID: <CAMm+LwjysRvkKqH=HeuQtxf8Kh0VRBDzwW63G0Z58yb0ptQB2w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Matthijs Mekking <matthijs@nlnetlabs.nl>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/2nFRt3gX_JWs2vOvLCcgioo0_c0
Cc: Ted Hardie <ted.ietf@gmail.com>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 12:54:38 -0000

On Thu, Mar 20, 2014 at 3:42 AM, Matthijs Mekking <matthijs@nlnetlabs.nl> wrote:
> Hi,
>
> On 03/19/2014 07:55 PM, Phillip Hallam-Baker wrote:
>> On Wed, Mar 19, 2014 at 2:09 PM, Ted Hardie <ted.ietf@gmail.com
>> <mailto:ted.ietf@gmail.com>> wrote:
>>
>>     On Wed, Mar 19, 2014 at 10:40 AM, Phillip Hallam-Baker
>>     <hallam@gmail.com <mailto:hallam@gmail.com>> wrote:
>>
>>         One consequence of encrypting DNS traffic is that we break
>>         backwards compatibility.
>>
>>
>>     Howdy,
>>
>>     Backwards compatibility with what part of the system?  Or perhaps
>>     first, what question are we answering, that makes you presume this?
>>
>>
>> Since my client does not currently know about encryption it is going to
>> have to be upgraded to send encrypted packets.
>>
>> Once my client sends encrypted packets they cannot by definition be read
>> unless the receiver has the key and decryption algorithm. Since no
>> server currently implements said decryption, a new server is needed.
>>
>>
>> Hence the new protocol cannot be backwards compatible with the old.
>> There can be a transition path and of course that needs to be
>> considered. But both the plug and the socket have to change and so there
>> is no reason to insist on the same connector.
>
> My client also didn't knew about DNSSEC and had to be upgraded to
> validate responses. We indeed needed a new server that could add those
> RRSIG records. But the protocol was backwards compatible. So, I don't
> see why we couldn't end up with a solution that is backwards compatible
> here.

Really?

When DNSSEC was first proposed in 1995 or thereabouts it wasn't
deployable because most of the DNS infrastructure could not support
new RR types, there was a 500 byte limit on messages in many cases and
several other issues.

It took another five years to fix those issues in the infrastructure
before deployment became practical.

What I am saying here is that we have an opportunity to say that we
leave certain parts of the legacy behind without additional cost.


Or we could start the work by declaring that the DNS protocols were
handed down in a state of grace and that they represent the most
shining example of perfection we can hope to achieve and that anyone
who suggests the mere possibility of alternative approaches must be
cast out as a heretic.

The hard part here is how to apply public key crypto to a low latency
protocol without exposing the server to DoS attacks. And no, Bernstein
et. al. are not close to having solved it and nor is some exotic
public key algorithm likely to be the solution either.


DNSSEC has always had to dance round the problem that DNS responses
have to fit in one packet. And that pushes a huge number of
contortions onto designs. I think it is more than reasonable to
require that if people are going to start encrypting packets that they
be required to have a strategy that can transport DNSSEC packets for
almost all real world protocols without having to switch from UDP to
TCP. That could mean staying in UDP all along or starting in TCP from
the start. But switching horses in midstream from UDP to TCP hits all
sorts of ugly real world deployment issues.
-- 
Website: http://hallambaker.com/


From nobody Thu Mar 20 07:23:27 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2304C1A08C3 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:23:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 QrIIwoB9KVDo for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:23:20 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [217.70.190.232]) by ietfa.amsl.com (Postfix) with ESMTP id AF4071A08B7 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:23:17 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id A27FD3B89F; Thu, 20 Mar 2014 15:23:06 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id 5AA71CB91C; Thu, 20 Mar 2014 15:20:20 +0100 (CET)
Date: Thu, 20 Mar 2014 15:20:20 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Tony Finch <dot@dotat.at>
Message-ID: <20140320142020.GA12147@sources.org>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.3
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/hd1gbGWLj2euqMfJw2p-x-00dgY
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:23:23 -0000

On Thu, Mar 20, 2014 at 11:04:13AM +0000,
 Tony Finch <dot@dotat.at> wrote 
 a message of 65 lines which said:

> You say "[RFC2181] suggests an algorithm to find the zone cut" but
> although it describes what a zone cut looks like I can't see any
> clear description of an algorithm for finding them.

The wording in my draft is not perfect. Indeed, DNS RFCs rarely
describe algorithms, probably to let some freedom to the
implementations.

>    Another note is that the answer to the NS query, unlike the referral
>    sent when the question is a full qname, is in the Answer section, not
>    in the Authoritative section.

Also a poor wording since it is the Authority section, not the
Authoritative one. (Which, by the way, answers your concern.)

> This goes back to subtleties in the algorithm :-)

Following the general principle of DNS RFCs, I do not think it would
be wise to specify an algorithm for resolution with qname
minimisation, since there is none for traditional resolution.

>   fr          IN NS ?
>   ratp.fr     IN NS ?
>   www.ratp.fr IN NS ?
>   www.ratp.fr IN A ?
>   www.ratp.fr IN AAAA ?

You did not mention the zone which will receive the queries. The third
query will work, even with the broken Alteon load balancers, since it
will be sent to the NS of ratp.fr.

> Or should you skip the third query?

It MAY (RFC 2119) be skipped since a zone cut is not possible because
there is just one label more than the previous name.

> Skipping the third query would improve latency in most cases (when
> there isn't a zone cut at the leaf), but it leads to leakage. For
> example, consider a domain like google.com: do you want the .com
> name servers to know if you are sending mail to Google, rather than
> just looking at their web site?

I do not understand. Do you refer to gmail.com/google.com? If so,
indeed, a resolver has no way of knowing that the two domains are
related and so leakage will occur. If you refer to
mail.google.com/www.google.com, then, assuming mail.google.com is
subdelegated, the list of queries for "A mail.google.com" will be:

(to .) NS com.
(to com.) NS google.com
OPTIONAL (to google.com) NS mail.google.com
(to google.com or to mail.google.com) A mail.google.com

And then for "A www.google.com":

OPTIONAL (to google.com) NS www.google.com
(to google.com or to www.google.com) A www.google.com

I see no leakage. Of course, the DNSmaster of google.com will learn
things but there is no way to avoid that.


From nobody Thu Mar 20 07:30:55 2014
Return-Path: <fw@deneb.enyo.de>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E90B31A03EF for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:30:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level: 
X-Spam-Status: No, score=-1.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, J_CHICKENPOX_51=0.6, RP_MATCHES_RCVD=-0.547] autolearn=no
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 aS8rCSj2N4tq for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:30:52 -0700 (PDT)
Received: from albireo.enyo.de (albireo.enyo.de [46.237.207.196]) by ietfa.amsl.com (Postfix) with ESMTP id 391B31A03CA for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:30:52 -0700 (PDT)
Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) id 1WQdzf-0008Vh-26; Thu, 20 Mar 2014 15:30:51 +0100
Received: from fw by deneb.enyo.de with local (Exim 4.80) (envelope-from <fw@deneb.enyo.de>) id 1WQdzV-00026m-6s; Thu, 20 Mar 2014 15:30:41 +0100
From: Florian Weimer <fw@deneb.enyo.de>
To: Tony Finch <dot@dotat.at>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk>
Date: Thu, 20 Mar 2014 15:30:41 +0100
In-Reply-To: <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> (Tony Finch's message of "Thu, 20 Mar 2014 11:04:13 +0000")
Message-ID: <87ha6t54dq.fsf@mid.deneb.enyo.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/QVIYbBjtYsYDjH7z0y7WiOaZGGs
Cc: dns-privacy@ietf.org, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:30:54 -0000

* Tony Finch:

> You say "[RFC2181] suggests an algorithm to find the zone cut" but
> although it describes what a zone cut looks like I can't see any clear
> description of an algorithm for finding them.

Yeah, I noticed that as well.

> There are evidently subtleties in this algorithm; for example, do
> you abort early if you get an NXDOMAIN response, or do you treat
> that as NOERROR/NODATA?

If we want to stop the 1.E164.ARPA leak, we'd have to stop at an
NXDOMAIN response, at least if the zone is signed.

> This brings up a question about zone cuts at the leaf like this one:
> should your query sequence look like
>
>   fr          IN NS ?
>   ratp.fr     IN NS ?
>   www.ratp.fr IN NS ?
>   www.ratp.fr IN A ?
>   www.ratp.fr IN AAAA ?
>
> Or should you skip the third query?

I believe you can always query with QTYPE=A.  This only leaves the
empty non-terminal case open to ambiguity.


From nobody Thu Mar 20 07:31:13 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04E5A1A0750 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:31:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 5h49LMAphj4f for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:31:09 -0700 (PDT)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 087AC1A03CA for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:31:08 -0700 (PDT)
Received: by mail-la0-f46.google.com with SMTP id hr17so659865lab.5 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:30:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bd+ZnaZW/SBvnEJwYlouy07R95gHCrBfldqE9jWwwg0=; b=i9Smt9gOryzbct/mYLCSoUgviDV7ZtuY1VrwTN5DDhB5nvroEZslXkdvgL5wod08pe RwDLi+HxSiSXYpW0hR2BxPfcE9s+n1E1Jx7WX54thlJQJUQghzxaSvZlXJVKyO1YtkT9 /bogp9yI0YxNoq5pGy6yrQGyv1yH11sJ52eSiIExm9FLj3pGy6gNlZzl29TJhCV+eN9H BSIR3d0hwpp8HFVtiXIYvb6LJlyI/bjakVeq+/of++f2PDgdOrR1rHlarncmStVBfX9m qP1fOHr9QZvqOMcuHVRTusXI3VU/qQj+NitfG/lfznarmFOWeyEyg5UxrUP9YBYuJnD3 lRCA==
MIME-Version: 1.0
X-Received: by 10.112.133.136 with SMTP id pc8mr1197518lbb.56.1395325859377; Thu, 20 Mar 2014 07:30:59 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Thu, 20 Mar 2014 07:30:59 -0700 (PDT)
In-Reply-To: <20140320142020.GA12147@sources.org>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <20140320142020.GA12147@sources.org>
Date: Thu, 20 Mar 2014 10:30:59 -0400
Message-ID: <CAMm+Lwjc9BDdFLT+dDX9grpmtcX7N_jkAbMNvjUPrTdy0gh2iA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/CA-sq3FJu1gS5XVIsAedRzfI79g
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:31:11 -0000

On Thu, Mar 20, 2014 at 10:20 AM, Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:
> On Thu, Mar 20, 2014 at 11:04:13AM +0000,
>  Tony Finch <dot@dotat.at> wrote
>  a message of 65 lines which said:
>
>> You say "[RFC2181] suggests an algorithm to find the zone cut" but
>> although it describes what a zone cut looks like I can't see any
>> clear description of an algorithm for finding them.
>
> The wording in my draft is not perfect. Indeed, DNS RFCs rarely
> describe algorithms, probably to let some freedom to the
> implementations.


I think this is a very important effort. But we probably need to think
of it in terms of the proposed DBOUND work rather than tell people to
try to discover the zone cut through heuristics.

Heuristics are OK as a transition strategy but I don't like them as a
long term fixture.


The problem I have with the current DBOUND discussion is that it is
being driven by a use case I think is completely unhelpful. There are
no occasions where I think it is safe to share cookies across domains.
So trying to come up with rules for when it is safe is a losing
proposition and so is trying to develop a technology to meet that
goal.

DNS Privacy is a much better defined concern and one that we have a
good chance of addressing with something like DBOUND.


-- 
Website: http://hallambaker.com/


From nobody Thu Mar 20 07:48:24 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBEA81A08ED for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:48:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 70MDybk1beVw for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:48:16 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [IPv6:2001:4b98:dc0:41:216:3eff:fece:1902]) by ietfa.amsl.com (Postfix) with ESMTP id ED2251A074E for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:48:15 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 4FE9D3A780; Thu, 20 Mar 2014 15:48:06 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id C63F9C9B0F; Thu, 20 Mar 2014 15:45:27 +0100 (CET)
Date: Thu, 20 Mar 2014 15:45:27 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Phillip Hallam-Baker <hallam@gmail.com>
Message-ID: <20140320144527.GA14864@sources.org>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <20140320142020.GA12147@sources.org> <CAMm+Lwjc9BDdFLT+dDX9grpmtcX7N_jkAbMNvjUPrTdy0gh2iA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+Lwjc9BDdFLT+dDX9grpmtcX7N_jkAbMNvjUPrTdy0gh2iA@mail.gmail.com>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.3
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/IVKt0dVoQxkkips11ljwdr0k7qQ
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:48:18 -0000

On Thu, Mar 20, 2014 at 10:30:59AM -0400,
 Phillip Hallam-Baker <hallam@gmail.com> wrote 
 a message of 35 lines which said:

> But we probably need to think of it in terms of the proposed DBOUND
> work

No, this is completely unrelated. Dbound is concerned about
_administrative_ boundaries. Qname minimisation needs only to know the
_technical_ boundaries.

Example: fr and gouv.fr are technically in the same zone (so, requests
with qname minimisation On will go to the same set of name servers)
but they are in different admistrative areas (a HTTP server for
gouv.fr certainly cannot set cookies in fr).

> Heuristics are OK as a transition strategy but I don't like them as a
> long term fixture.

It's not heuristics since it will always produce the same result. And,
more important, it is what all validating resolvers already do. (They
need to know the zone cut to know where to send DNSKEY and DS
requests.) 


From nobody Thu Mar 20 07:54:19 2014
Return-Path: <casey@deccio.net>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A55E81A08C9 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:54:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.778
X-Spam-Level: 
X-Spam-Status: No, score=-0.778 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, SPF_PASS=-0.001] autolearn=no
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 ztcgSEMwVA2M for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:54:11 -0700 (PDT)
Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) by ietfa.amsl.com (Postfix) with ESMTP id 546DF1A08B7 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:54:11 -0700 (PDT)
Received: by mail-ig0-f178.google.com with SMTP id uq10so2297814igb.5 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:54:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deccio.net; s=google;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7WPLIky8HMIG4C6zh3LCw2N4ObAuREeAyF9P+3oITsA=; b=YNdngDS3J2l6tLtTRKS54Qae+4EUFDdAC05yByJCanTg37LknCkgL+a5wL1xI/h3ah XrcpPEvW88NM3/m6r8Gyvdk+HLh2Ki/S+E+39WGkYjUFhh68hOnueXqqwRr70LPvDHyP 9na7x34Kk0dQ9/VpFhKiVSwAuYmUTTq5OXtF0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7WPLIky8HMIG4C6zh3LCw2N4ObAuREeAyF9P+3oITsA=; b=Fo8ZT4MyTpoqSB9QRqyzNevTutH/si5pJW1zB9+nS1zaSIo1RHoAUcwbktDK/yZg+Z Pjp7aPasXJvsoDlOY13cPwTis+9pzPRGLN0vJ11sZgACMvlfCkf391ewxfcL5QJ0m0Xj gfmAmMEcbZZuyIpomqG0aqy2zIplQe3lwJnCuRSlGJQ9FM5REeuDcnWPkUCVdkzo9pvJ pI8+EtI5B6ICfA+OBZnGemqBfA+nukUW5U8+LieFvo8WicKHyHN7cPdeLkKt9VqumY9X 8HVoN0NQ0WzwD4XI9R/YwMCnIcUvb1aPR7Vv4PHy9t5X9PGQjdgBEMmeLtJo9LWTZmYb 4Tjw==
X-Gm-Message-State: ALoCoQlQ+iM0LxeVlfrSQkDpnCBX3x+Q0lvccFmq6wViYHBt5nGWdVxW5azAOeKzvMpxeZS5TD8G
MIME-Version: 1.0
X-Received: by 10.43.138.8 with SMTP id iq8mr34675498icc.37.1395327242076; Thu, 20 Mar 2014 07:54:02 -0700 (PDT)
Received: by 10.50.65.42 with HTTP; Thu, 20 Mar 2014 07:54:01 -0700 (PDT)
In-Reply-To: <87ha6t54dq.fsf@mid.deneb.enyo.de>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <87ha6t54dq.fsf@mid.deneb.enyo.de>
Date: Thu, 20 Mar 2014 10:54:01 -0400
Message-ID: <CAEKtLiR=HxH7BkzG=Af6f6=bGMThLxSUtOtkL8szbF_faod-_w@mail.gmail.com>
From: Casey Deccio <casey@deccio.net>
To: Florian Weimer <fw@deneb.enyo.de>
Content-Type: multipart/alternative; boundary=001a11c203649c1e8404f50af0b7
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/jaGiN-kiUlMcbRM_2EdkAIyx1_s
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:54:12 -0000

--001a11c203649c1e8404f50af0b7
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Mar 20, 2014 at 10:30 AM, Florian Weimer <fw@deneb.enyo.de> wrote:

> * Tony Finch:
>
> > This brings up a question about zone cuts at the leaf like this one:
> > should your query sequence look like
> >
> >   fr          IN NS ?
> >   ratp.fr     IN NS ?
> >   www.ratp.fr IN NS ?
> >   www.ratp.fr IN A ?
> >   www.ratp.fr IN AAAA ?
> >
> > Or should you skip the third query?
>
> I believe you can always query with QTYPE=A.  This only leaves the
> empty non-terminal case open to ambiguity.
>

Queries with qtype=A may not themselves be an issue, but in the context of
other problematic queries they too can yield false results.  For example,
recently I encountered a case in which a query for www.foo.example/A
returned an A record response, but www.foo.example/NS returned NXDOMAIN
(seemed to be a load balancer at fault).  If www.foo.example/NS was queried
first by the caching resolver, then subsequent queries to the cache for the
A record of the same name would return NXDOMAIN, until the negative cache
TTL expired.

Casey

--001a11c203649c1e8404f50af0b7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Thu, Mar 20, 2014 at 10:30 AM, Florian Weimer <span dir=
=3D"ltr">&lt;<a href=3D"mailto:fw@deneb.enyo.de" target=3D"_blank">fw@deneb=
.enyo.de</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"=
gmail_quote">

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">* Tony Finch:<br>
<br>
&gt; This brings up a question about zone cuts at the leaf like this one:<b=
r>
&gt; should your query sequence look like<br>
&gt;<br>
&gt; =A0 fr =A0 =A0 =A0 =A0 =A0IN NS ?<br>
&gt; =A0 <a href=3D"http://ratp.fr" target=3D"_blank">ratp.fr</a> =A0 =A0 I=
N NS ?<br>
&gt; =A0 <a href=3D"http://www.ratp.fr" target=3D"_blank">www.ratp.fr</a> I=
N NS ?<br>
&gt; =A0 <a href=3D"http://www.ratp.fr" target=3D"_blank">www.ratp.fr</a> I=
N A ?<br>
&gt; =A0 <a href=3D"http://www.ratp.fr" target=3D"_blank">www.ratp.fr</a> I=
N AAAA ?<br>
&gt;<br>
&gt; Or should you skip the third query?<br>
<br>
I believe you can always query with QTYPE=3DA. =A0This only leaves the<br>
empty non-terminal case open to ambiguity.<br></blockquote><div><br></div><=
div>Queries with qtype=3DA may not themselves be an issue, but in the conte=
xt of other problematic queries they too can yield false results.=A0 For ex=
ample, recently I encountered a case in which a query for www.foo.example/A=
 returned an A record response, but www.foo.example/NS returned NXDOMAIN (s=
eemed to be a load balancer at fault).=A0 If www.foo.example/NS was queried=
 first by the caching resolver, then subsequent queries to the cache for th=
e A record of the same name would return NXDOMAIN, until the negative cache=
 TTL expired.<br>

<br>Casey <br></div></div></div></div>

--001a11c203649c1e8404f50af0b7--


From nobody Thu Mar 20 07:57:37 2014
Return-Path: <fw@deneb.enyo.de>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 689B71A03FE for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level: 
X-Spam-Status: No, score=-1.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, J_CHICKENPOX_51=0.6, RP_MATCHES_RCVD=-0.547] autolearn=no
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 rQhp9cmFhqzj for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 07:57:33 -0700 (PDT)
Received: from albireo.enyo.de (albireo.enyo.de [46.237.207.196]) by ietfa.amsl.com (Postfix) with ESMTP id BD42C1A03CA for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 07:57:33 -0700 (PDT)
Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) id 1WQePU-0000Gl-3M; Thu, 20 Mar 2014 15:57:32 +0100
Received: from fw by deneb.enyo.de with local (Exim 4.80) (envelope-from <fw@deneb.enyo.de>) id 1WQePK-0002hC-5F; Thu, 20 Mar 2014 15:57:22 +0100
From: Florian Weimer <fw@deneb.enyo.de>
To: Casey Deccio <casey@deccio.net>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <87ha6t54dq.fsf@mid.deneb.enyo.de> <CAEKtLiR=HxH7BkzG=Af6f6=bGMThLxSUtOtkL8szbF_faod-_w@mail.gmail.com>
Date: Thu, 20 Mar 2014 15:57:22 +0100
In-Reply-To: <CAEKtLiR=HxH7BkzG=Af6f6=bGMThLxSUtOtkL8szbF_faod-_w@mail.gmail.com> (Casey Deccio's message of "Thu, 20 Mar 2014 10:54:01 -0400")
Message-ID: <874n2s6hpp.fsf@mid.deneb.enyo.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/4v8SyeogggfL1Q-PBdcJ51LHrio
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 14:57:35 -0000

* Casey Deccio:

> On Thu, Mar 20, 2014 at 10:30 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
>
>> * Tony Finch:
>>
>> > This brings up a question about zone cuts at the leaf like this one:
>> > should your query sequence look like
>> >
>> >   fr          IN NS ?
>> >   ratp.fr     IN NS ?
>> >   www.ratp.fr IN NS ?
>> >   www.ratp.fr IN A ?
>> >   www.ratp.fr IN AAAA ?
>> >
>> > Or should you skip the third query?
>>
>> I believe you can always query with QTYPE=3DA.  This only leaves the
>> empty non-terminal case open to ambiguity.

> Queries with qtype=3DA may not themselves be an issue, but in the
> context of other problematic queries they too can yield false
> results.

Sure, but it's probably safer to keep the original QTYPE when
searching the delegation.

> If www.foo.example/NS was queried first by the caching resolver,
> then subsequent queries to the cache for the A record of the same
> name would return NXDOMAIN, until the negative cache TTL expired.

Assuming that the negative answer is actually cachable=E2=80=94many irregul=
ar
NXDOMAIN answers do not include a SOA record carrying the negative
caching TTL.


From nobody Thu Mar 20 08:07:04 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DC0E1A0758 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:07:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 OqWwZH82JQ64 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:06:58 -0700 (PDT)
Received: from ppsw-50.csi.cam.ac.uk (ppsw-50-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f50]) by ietfa.amsl.com (Postfix) with ESMTP id 317A91A06D2 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:06:58 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:43527) by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:25) with esmtpa (EXTERNAL:fanf2) id 1WQeYS-0004QZ-sc (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 15:06:48 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQeYS-0006zu-SF (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 15:06:48 +0000
Date: Thu, 20 Mar 2014 15:06:48 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
In-Reply-To: <20140320142020.GA12147@sources.org>
Message-ID: <alpine.LSU.2.00.1403201425560.30415@hermes-1.csi.cam.ac.uk>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <20140320142020.GA12147@sources.org>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/qTBGJM_ceLlUtFrgjWdOUN1ugvo
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:07:01 -0000

Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:
>
> >    Another note is that the answer to the NS query, unlike the referral
> >    sent when the question is a full qname, is in the Answer section, not
> >    in the Authoritative section.
>
> Also a poor wording since it is the Authority section, not the
> Authoritative one. (Which, by the way, answers your concern.)

I'm not worried about the spelling error: it is wrong to say that an NS
query sent to parent name servers gets an answer rather than a referral.
For example:

; <<>> DiG 9.10.0b1 <<>> +norec +noadditional ns ac.uk @nsa.nic.uk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3480
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 7, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ac.uk.                         IN      NS

;; AUTHORITY SECTION:
ac.uk.                  172800  IN      NS      auth03.ns.uu.net.
ac.uk.                  172800  IN      NS      ns3.ja.net.
ac.uk.                  172800  IN      NS      ns2.ja.net.
ac.uk.                  172800  IN      NS      ws-fra1.win-ip.dfn.de.
ac.uk.                  172800  IN      NS      ns1.surfnet.nl.
ac.uk.                  172800  IN      NS      ns4.ja.net.
ac.uk.                  172800  IN      NS      ns0.ja.net.

;; Query time: 14 msec
;; SERVER: 2001:502:ad09::3#53(2001:502:ad09::3)
;; WHEN: Thu Mar 20 14:27:41 GMT 2014
;; MSG SIZE  rcvd: 202

; <<>> DiG 9.10.0b1 <<>> +norec +noadditional ns ac.uk @ns0.ja.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28108
;; flags: qr aa; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 13

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ac.uk.                         IN      NS

;; ANSWER SECTION:
ac.uk.                  86400   IN      NS      ns0.ja.net.
ac.uk.                  86400   IN      NS      ws-fra1.win-ip.dfn.de.
ac.uk.                  86400   IN      NS      ns3.ja.net.
ac.uk.                  86400   IN      NS      ns2.ja.net.
ac.uk.                  86400   IN      NS      ns4.ja.net.
ac.uk.                  86400   IN      NS      auth03.ns.uu.net.
ac.uk.                  86400   IN      NS      ns1.surfnet.nl.

;; Query time: 6 msec
;; SERVER: 2001:630:0:8::14#53(2001:630:0:8::14)
;; WHEN: Thu Mar 20 14:27:34 GMT 2014
;; MSG SIZE  rcvd: 466


> Following the general principle of DNS RFCs, I do not think it would
> be wise to specify an algorithm for resolution with qname
> minimisation, since there is none for traditional resolution.

RFC 1034 section 4.3.2.

> >   fr          IN NS ?
> >   ratp.fr     IN NS ?
> >   www.ratp.fr IN NS ?
> >   www.ratp.fr IN A ?
> >   www.ratp.fr IN AAAA ?
>
> You did not mention the zone which will receive the queries. The third
> query will work, even with the broken Alteon load balancers, since it
> will be sent to the NS of ratp.fr.

Right.

> > Or should you skip the third query?
>
> It MAY (RFC 2119) be skipped since a zone cut is not possible because
> there is just one label more than the previous name.

But there *is* a zone cut here.

> > Skipping the third query would improve latency in most cases (when
> > there isn't a zone cut at the leaf), but it leads to leakage. For
> > example, consider a domain like google.com: do you want the .com
> > name servers to know if you are sending mail to Google, rather than
> > just looking at their web site?
>
> I do not understand. Do you refer to gmail.com/google.com?

No, I mean, if I go to http://google.com in my browser, I will make A and
AAAA queries for google.com, but if I send mail to a Google employee I
will make MX queries for google.com.

So if you skip the NS query for google.com (because it is the whole of the
QNAME in this case) you will leak the A vs MX difference to the .com
servers.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Viking: Southwest 7 to severe gale 9. Rough or very rough. Rain then showers.
Moderate or good.


From nobody Thu Mar 20 08:09:49 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E8461A069C for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:09:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_51=0.6, SPF_PASS=-0.001] autolearn=no
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 9k5bR4WWM9-G for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:09:44 -0700 (PDT)
Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id 835581A03FD for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:09:44 -0700 (PDT)
Received: by mail-la0-f53.google.com with SMTP id b8so699396lan.40 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:09:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NVDYR0Rr0EbYpimUKiJv0Y2naY52FV0Cbj2teXE5uvc=; b=a6cuf+i9C3+RtTgUfdo0FFKwfUHjbc+fiVs+pQEymHZXCOItpnLXDgva8bYw8d8sPX TZ3KQ3K1baIdh8Fn4eDQtx9x5z6CwoMBmU6aE592WrZ0Zb0ZzN8xpx52AwnmCV0391KV 7+6ksytOP0oy+XcaEbdg+PeK3QUKVDtZS48PN6miQ3zwTSXavn24wQSzGWAsPxlIdZ9F dlNpWab5rW5Gtn18ck5rOawjBrm+qRU7JBGkJ/6/XaVO/GfeutDpYNjDiwbIW5C6Hr0g prUNBxZiyhg1g5EbF1GGcajQLWWpK7eO3FumfUcsI9VdiQnu/gWQtOEYovkLji27KN5O Tu0w==
MIME-Version: 1.0
X-Received: by 10.152.234.130 with SMTP id ue2mr30568902lac.0.1395328174942; Thu, 20 Mar 2014 08:09:34 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Thu, 20 Mar 2014 08:09:34 -0700 (PDT)
In-Reply-To: <874n2s6hpp.fsf@mid.deneb.enyo.de>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <87ha6t54dq.fsf@mid.deneb.enyo.de> <CAEKtLiR=HxH7BkzG=Af6f6=bGMThLxSUtOtkL8szbF_faod-_w@mail.gmail.com> <874n2s6hpp.fsf@mid.deneb.enyo.de>
Date: Thu, 20 Mar 2014 11:09:34 -0400
Message-ID: <CAMm+LwhAaxbvQhswsevOn5=zo6-G782=7GG9b4FCHMkmZq0EUg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Florian Weimer <fw@deneb.enyo.de>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gLcukc2WXliR38AzbY8Mp4du8U4
Cc: Tony Finch <dot@dotat.at>, dns-privacy@ietf.org, Casey Deccio <casey@deccio.net>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:09:46 -0000

On Thu, Mar 20, 2014 at 10:57 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Casey Deccio:
>
>> On Thu, Mar 20, 2014 at 10:30 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
>>
>>> * Tony Finch:
>>>
>>> > This brings up a question about zone cuts at the leaf like this one:
>>> > should your query sequence look like
>>> >
>>> >   fr          IN NS ?
>>> >   ratp.fr     IN NS ?
>>> >   www.ratp.fr IN NS ?
>>> >   www.ratp.fr IN A ?
>>> >   www.ratp.fr IN AAAA ?
>>> >
>>> > Or should you skip the third query?
>>>
>>> I believe you can always query with QTYPE=A.  This only leaves the
>>> empty non-terminal case open to ambiguity.
>
>> Queries with qtype=A may not themselves be an issue, but in the
>> context of other problematic queries they too can yield false
>> results.
>
> Sure, but it's probably safer to keep the original QTYPE when
> searching the delegation.

One of the concerns that just came to mind is that absent policy
requirements from ICANN, minimization might well cause registries to
take countermeasures if minimization was to affect their business
models.

So for example, imagine that the .greed domain has a contract to sell
the DNS traffic to the Evil Security Agency (ESA) and/or some
advertising network. At the moment their servers support NS queries.
But if minimization is introduced they might change policy and start
blocking.


Not a show stopper, but the code might want to consider counter
strategies. For example, if the request is for A records from
secret.example.evil, it might query for A records as follows

? A, _.evil
? A, _.example.evil
? A, www.example.evil

-- 
Website: http://hallambaker.com/


From nobody Thu Mar 20 08:28:20 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FE9E1A0759 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:28:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 rmHJozAC-xVR for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:28:16 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [217.70.190.232]) by ietfa.amsl.com (Postfix) with ESMTP id 2A8BD1A0750 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:28:16 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 3B67F3B8A0; Thu, 20 Mar 2014 16:28:06 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id B98DFCA2FC; Thu, 20 Mar 2014 16:27:38 +0100 (CET)
Date: Thu, 20 Mar 2014 16:27:38 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Tony Finch <dot@dotat.at>
Message-ID: <20140320152738.GA18554@sources.org>
References: <20140320103354.GA14856@nic.fr> <alpine.LSU.2.00.1403201044100.31260@hermes-1.csi.cam.ac.uk> <20140320142020.GA12147@sources.org> <alpine.LSU.2.00.1403201425560.30415@hermes-1.csi.cam.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.LSU.2.00.1403201425560.30415@hermes-1.csi.cam.ac.uk>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.3
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ldwODPHvfH8xmM49zNBLxLtdxIo
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:28:18 -0000

On Thu, Mar 20, 2014 at 03:06:48PM +0000,
 Tony Finch <dot@dotat.at> wrote 
 a message of 110 lines which said:

> ;; AUTHORITY SECTION:
> ac.uk.                  172800  IN      NS      auth03.ns.uu.net.

OK, I get it, sorry. Paragraph deleted from my local copy of the
draft.

> > Following the general principle of DNS RFCs, I do not think it would
> > be wise to specify an algorithm for resolution with qname
> > minimisation, since there is none for traditional resolution.
> 
> RFC 1034 section 4.3.2.

OK, but it won't help since it is for authoritative name
servers. Resolvers are at section 5.3.3 and the algorithm is so
sketchy that it does not even mention the content of the query sent to
authoritative name servers.

Also, qname minimisation is _not_ a change in the protocol, it's more
an unilateral best practice ("privacy optimization"), and therefore
does not need to be specified by an algorithm. If several resolvers
implement it slightly differently, it is not a problem.

> No, I mean, if I go to http://google.com in my browser, I will make A and
> AAAA queries for google.com, but if I send mail to a Google employee I
> will make MX queries for google.com.
> 
> So if you skip the NS query for google.com (because it is the whole of the
> QNAME in this case) you will leak the A vs MX difference to the .com
> servers.

Said otherwise, if you skip the NS query step, and send "A google.com"
to the .com name servers, Verisign's name servers will send you back a
referral and then you'll learn the zone cut (this is what every
resolver already does today). So, there will be a leak only for the
first request (a simple heuristic to avoid this would be to always
send the NS query for the first two labels).

Anyway, I have no problem with saying that you should always send the
NS query to be sure, and too bad for the broken name servers like
those of www.ratp.fr. I even think Mark Andrews will agree with me
here :-)


From nobody Thu Mar 20 08:38:19 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FD571A06D2 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:38:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.414
X-Spam-Level: 
X-Spam-Status: No, score=-0.414 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FAKE_REPLY_C=1.486] 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 ilujaTg6lbBY for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:38:15 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [IPv6:2001:4b98:dc0:41:216:3eff:fece:1902]) by ietfa.amsl.com (Postfix) with ESMTP id BF86C1A03FD for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:38:15 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 82BE43A780; Thu, 20 Mar 2014 16:38:06 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id 4FD3B190639; Thu, 20 Mar 2014 16:37:06 +0100 (CET)
Date: Thu, 20 Mar 2014 16:37:06 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Phillip Hallam-Baker <hallam@gmail.com>
Message-ID: <20140320153706.GA20076@sources.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/Eqrhp3XStq3GH8ubY78pUroPd4I
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:38:17 -0000

On Thu, Mar 20, 2014 at 11:09:34AM -0400,
 Phillip Hallam-Baker <hallam@gmail.com> wrote
 a message of 50 lines which said:

> minimization might well cause registries to take countermeasures if
> minimization was to affect their business models.

It's a general problem of security: the Bad Guys take
countermeasures. It was discussed in depth at the privacy tutorial at
the last IETF meeting, in London. Someone mentioned "business issues"
with privacy. And another one replied "anti-spam measures disturbed
some people's business, too".

> At the moment their servers support NS queries.  But if minimization
> is introduced they might change policy and start blocking.

This would be a violation of the protocol. We cannot prevent it but we
can at least call a spade a spade.

> the code might want to consider counter strategies. For example, if
> the request is for A records from secret.example.evil, it might
> query for A records as follows
>
> ? A, _.evil
> ? A, _.example.evil
> ? A, www.example.evil

Yes, good idea. "A" is probably the less revealing qtype. Should I add
this trick in the draft?



From nobody Thu Mar 20 08:40:22 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 879831A046A for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:40:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 ZZ6dYwFWaQTA for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:40:19 -0700 (PDT)
Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) by ietfa.amsl.com (Postfix) with ESMTP id 644271A03FD for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:40:19 -0700 (PDT)
Received: by mail-lb0-f180.google.com with SMTP id 10so721997lbg.25 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:40:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S5rOgrLOO5MxY504ekY35zcJ4QchetZown2U6CLm52Y=; b=Z+RwIii0U0jfi6FNH1CKXIHuBuMv/WduaJ/lEHVnBun9C3FuKPWONOe6RJHhdQFiU8 XoAPURdLRLQ15lGew0AdCk0wpMXFv4EwZJu7Jz4NmnVNjaPLZLleLgPKRhpA1UyLUJBr xChtUluVsME+R3Neq/cKlgY2nTT2+pzn1CCl6MQ/t+MQUVf1MhMUqTZ3oCsfC26ZV+jo 4UZntxKbKby+aV0WqnM0kX2qrXAaIwJWuLwpuL2rx4noiHH8q3joE8XjT4dqN9LIypSR ZAjB7mQ5z8GmES/xACsqvvdaH00LCWQ/SRYju56eu649/OCdN6HR6zertLep7belx0TG CfFg==
MIME-Version: 1.0
X-Received: by 10.112.13.70 with SMTP id f6mr22203852lbc.5.1395330009692; Thu, 20 Mar 2014 08:40:09 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Thu, 20 Mar 2014 08:40:09 -0700 (PDT)
In-Reply-To: <20140320153706.GA20076@sources.org>
References: <20140320153706.GA20076@sources.org>
Date: Thu, 20 Mar 2014 11:40:09 -0400
Message-ID: <CAMm+Lwhek7fm8XUojz5Y7G+wcFGSy5cL_940EaQg3n69vHe-Eg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/O1nXRMvIZafYpVU8M6jFDJ8rWSg
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:40:21 -0000

On Thu, Mar 20, 2014 at 11:32 AM, Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:
> On Thu, Mar 20, 2014 at 11:09:34AM -0400,
>  Phillip Hallam-Baker <hallam@gmail.com> wrote
>  a message of 50 lines which said:
>
>> minimization might well cause registries to take countermeasures if
>> minimization was to affect their business models.
>
> It's a general problem of security: the Bad Guys take
> countermeasures. It was discussed in depth at the privacy tutorial at
> the last IETF meeting, in London. Someone mentioned "business issues"
> with privacy. And another one replied "anti-spam measures disturbed
> some people's business, too".
>
>> At the moment their servers support NS queries.  But if minimization
>> is introduced they might change policy and start blocking.
>
> This would be a violation of the protocol. We cannot prevent it but we
> can at least call a spade a spade.

I would like to try to avoid the situation where we only ever allow
ourselves to think one move ahead.


>> the code might want to consider counter strategies. For example, if
>> the request is for A records from secret.example.evil, it might
>> query for A records as follows
>>
>> ? A, _.evil
>> ? A, _.example.evil
>> ? A, www.example.evil
>
> Yes, good idea. "A" is probably the less revealing qtype. Should I add
> this trick in the draft?

I think it is useful.

At the very least raise the issue in implementer's minds. This is all
advice to implementers after all.


Least privilege says that we don't need to leak this information and
so we should not.

Another trick that can be played on larger servers is to use cached
data including stale cached data to inform the decision.

--
Website: http://hallambaker.com/


From nobody Thu Mar 20 08:44:21 2014
Return-Path: <jabley@hopcount.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0E851A0759 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] 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 wqIJtMxSywvh for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 08:44:17 -0700 (PDT)
Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id 15A081A0758 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:44:17 -0700 (PDT)
Received: by mail-ie0-f177.google.com with SMTP id rl12so1053212iec.36 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 08:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JNPYv/O8A8OERJFAsBo7B4G+KSdxJSJ+ZkNS3il+5W0=; b=TMOakHCod2m4EX424iYA4Gz1gNHYwCZAZmasbIW8WjtXqVa1TEIGmjKrq1QNkSqbp9 +hnwug4KLMhEP0MBsXPoGoyvho+uwP2aSJRk9TwBMz7gADDTNYoreicQ/gGvEMQ+mLHl xYUHU3WUmHDfInj7rUtIy+gO9TPGuRc2hFQo0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=JNPYv/O8A8OERJFAsBo7B4G+KSdxJSJ+ZkNS3il+5W0=; b=CGrJ4hvHlOUGGr7bz3fp4A2ICZ0/SpK1nAdIqozANjaQUdGLEIzlMk1dv6xL5u04bo SDIYBRHPvTGqk1ROeH9fap9riSMCjWEYBpf0p8OZXLfqhx92hLv+7aQaR/9ZLj94SZQp mXNlN/2Kz3DGg0bHYn3qHCEwpJQxG9qOpxG25tsj5YWjJhwulFGW3eohlNwHcu+FcOUk IskveVQ/PdVgAVdwSVImevrnZFldAVA5TT1SkmLgWxVICck/9GkNha4nlkS1oVawGc/0 YEh2nufWBhVBmn5rSlXZI735WCG2n+GI1++Ow0FhZ+/jf7ebglAcHowBan8xV7UUIcgo K3ZQ==
X-Gm-Message-State: ALoCoQmpi5SP1EHvcBISYHI/9EVgjfUD4ea+01K+fT9SHVTM83IOyFpz6+Wd681hUpH2q5e+y3kt
X-Received: by 10.50.43.225 with SMTP id z1mr3485047igl.29.1395330246985; Thu, 20 Mar 2014 08:44:06 -0700 (PDT)
Received: from [172.26.28.230] (65-114-90-17.dia.static.qwest.net. [65.114.90.17]) by mx.google.com with ESMTPSA id s3sm20580844igr.14.2014.03.20.08.44.04 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 08:44:05 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <CAMm+Lwhek7fm8XUojz5Y7G+wcFGSy5cL_940EaQg3n69vHe-Eg@mail.gmail.com>
Date: Thu, 20 Mar 2014 10:43:51 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <B1A4A892-AC23-4D24-B663-16910E71DC1B@hopcount.ca>
References: <20140320153706.GA20076@sources.org> <CAMm+Lwhek7fm8XUojz5Y7G+wcFGSy5cL_940EaQg3n69vHe-Eg@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/v3bmr8gmY1ox3xprhxAvm-ri27o
Cc: dns-privacy@ietf.org, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 15:44:19 -0000

On 20 Mar 2014, at 10:40, Phillip Hallam-Baker <hallam@gmail.com> wrote:

>> Yes, good idea. "A" is probably the less revealing qtype. Should I =
add
>> this trick in the draft?
>=20
> I think it is useful.
>=20
> At the very least raise the issue in implementer's minds. This is all
> advice to implementers after all.

What about QTYPE ANY for this?

I understand the practical reasons for hiding the QTYPE behind A, but =
anything that has the appearance of being v4-only makes my eye twitch =
(and remember we need a solution for the future when IPv4 is a marginal, =
barely-used protocol, and A RRSets are rare, ha, ha).

ANY will cause larger responses in some/many cases, but it's stuff that =
once cached might well be useful and suppress subsequent queries, at =
least some of the time.


Joe


From nobody Thu Mar 20 10:28:48 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A4121A07C6 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 10:28:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 bF8TzZ-sdSLf for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 10:28:44 -0700 (PDT)
Received: from ppsw-50.csi.cam.ac.uk (ppsw-50-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f50]) by ietfa.amsl.com (Postfix) with ESMTP id 281E31A07C1 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 10:28:44 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:48730) by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:25) with esmtpa (EXTERNAL:fanf2) id 1WQgle-0006KB-qq (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 17:28:34 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQgle-0003LQ-9T (Exim 4.72) (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 17:28:34 +0000
Date: Thu, 20 Mar 2014 17:28:34 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <B1A4A892-AC23-4D24-B663-16910E71DC1B@hopcount.ca>
Message-ID: <alpine.LSU.2.00.1403201711010.30415@hermes-1.csi.cam.ac.uk>
References: <20140320153706.GA20076@sources.org> <CAMm+Lwhek7fm8XUojz5Y7G+wcFGSy5cL_940EaQg3n69vHe-Eg@mail.gmail.com> <B1A4A892-AC23-4D24-B663-16910E71DC1B@hopcount.ca>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/Q9w9X7nSE85c7cVW562wUw_1aQw
Cc: dns-privacy@ietf.org, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] [internet-drafts@ietf.org: I-D Action: draft-bortzmeyer-dns-qname-minimisation-00.txt]
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 17:28:46 -0000

Joe Abley <jabley@hopcount.ca> wrote:
>
> What about QTYPE ANY for this?

Let's look like we are doing evil DDoS attacks :-)

I think this will sometimes help in the situation when there is not a zone
cut at the leaf. e.g. I know the name servers for example.com; is
www.example.com in the same zone or not? If I assume not and make an NS
query (expecting a referral) that will often be a waste; if I assume it is
in the same zone and send A and AAAA queries to the parent that will leak
information; if I make an ANY query I will get the answer(s) or a referral
directly, except if www.example.com is a CNAME (which is frequently the
case) I will have to make followup queries because ANY queries do not
trigger alias processing.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Faeroes: Southwest 7 to severe gale 9, perhaps storm 10 later. Very rough,
becoming high in south. Squally showers. Moderate or good.


From nobody Thu Mar 20 10:41:17 2014
Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C1091A0700 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 10:41:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 Xt3khb1qZu90 for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 10:41:14 -0700 (PDT)
Received: from ppsw-40.csi.cam.ac.uk (ppsw-40-v6.csi.cam.ac.uk [IPv6:2001:630:212:8::e:f40]) by ietfa.amsl.com (Postfix) with ESMTP id 89B8C1A0790 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 10:41:14 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:44729) by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25) with esmtpa (EXTERNAL:fanf2) id 1WQgxk-0001TD-lm (Exim 4.82_3-c0e5623) for dns-privacy@ietf.org (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 17:41:04 +0000
Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1WQgxk-0004RK-Nf (Exim 4.72) for dns-privacy@ietf.org (return-path <fanf2@hermes.cam.ac.uk>); Thu, 20 Mar 2014 17:41:04 +0000
Date: Thu, 20 Mar 2014 17:41:04 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk
To: dns-privacy@ietf.org
In-Reply-To: <20140320103354.GA14856@nic.fr>
Message-ID: <alpine.LSU.2.00.1403201734200.31260@hermes-1.csi.cam.ac.uk>
References: <20140320103354.GA14856@nic.fr>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gAgGx9Zz6W0OfyRdJ0Rx7xxmHDg
Subject: Re: [dns-privacy] a qname minimization algorithm
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 17:41:16 -0000

Stephane doesn't like this because it is too specific, but I thought it
would be useful to have something concrete to discuss...

(0) If the query can be answered from the cache, do so, otherwise iterate
as follows:

(1) Find closest enclosing NS RRset in your cache. The owner of this NS
RRset will be a suffix of the QNAME - the longest suffix of any NS RRset
in the cache. Call this PARENT.

(2) Initialize CHILD to the same as PARENT.

(3) If CHILD is the same as the QNAME, resolve the original query using
PARENT's name servers, and finish.

(4) Otherwise, add a label from the QNAME to the start of CHILD.

(5) If you have a negative cache entry for the NS RRset at CHILD, go back
to step 3.

(6) Query for CHILD IN NS using PARENT's name servers. The response can
be:

(6a) A referral. Cache the NS RRset from the authority section and go back
to step 1.

(6b) An authoritative answer. Cache the NS RRset from the answer section
and go back to step 1.

(6c) An NXDOMAIN answer. Return an NXDOMAIN answer in response to the
original query and stop.

(6d) A NOERROR/NODATA answer. Cache this negative answer and go back to
step 3.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Northwest FitzRoy: Northwesterly 5 or 6, backing westerly or southwesterly 6
to gale 8. Rough or very rough. Showers. Good.


From nobody Thu Mar 20 21:33:19 2014
Return-Path: <tjw.ietf@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE0331A091F for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 21:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 5AAxvXB_gjLC for <dns-privacy@ietfa.amsl.com>; Thu, 20 Mar 2014 21:33:16 -0700 (PDT)
Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 7062B1A046C for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 21:33:16 -0700 (PDT)
Received: by mail-ob0-f171.google.com with SMTP id wn1so1977953obc.30 for <dns-privacy@ietf.org>; Thu, 20 Mar 2014 21:33:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=pdzItg/4ClwYBCaEEy+OFuwSXDxMk+RbpBcJlDxl+gI=; b=ae6S48IYsmeAhScdvJwFAFXREFEoQs61mcvqd1eLgbC5cj/vAxuU8zr7EFxCciuZm2 XrUmYGRJJkYhZ/cZMVP/+1rolwc3gcNz+A20wFJtkG5UaGHsBDH3OlSbTQxgqNpuf5ws zpPPNtlRK6P+zI7X4rp0eq8QyRXKNVFkTqNQondIR/YgeqsXk7FDdxIMmtWdrR0clLTr bksMf72uMrQLsW6FRw1nkKJ4iOsaA9/SMlfD8SyW5d2NadIF6vuXYMpwEEUd4HSMAWGa tRXFfdX6OIKdKM9+EnVDNnwsgyFsIR0ibiGIj9pK6PdhV01mBQf7HuVVHb+kVkY+aiXp wdcQ==
X-Received: by 10.182.33.35 with SMTP id o3mr36613512obi.15.1395376387260; Thu, 20 Mar 2014 21:33:07 -0700 (PDT)
Received: from feather.local (wsip-70-168-128-206.dc.dc.cox.net. [70.168.128.206]) by mx.google.com with ESMTPSA id b2sm16273729oed.7.2014.03.20.21.33.04 for <dns-privacy@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Mar 2014 21:33:06 -0700 (PDT)
Message-ID: <532BC100.4050704@gmail.com>
Date: Fri, 21 Mar 2014 00:33:04 -0400
From: Tim Wicinski <tjw.ietf@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Thunderbird/30.0a2
MIME-Version: 1.0
To: dns-privacy@ietf.org
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com> <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com> <532A9BDF.80401@nlnetlabs.nl> <CAMm+LwjysRvkKqH=HeuQtxf8Kh0VRBDzwW63G0Z58yb0ptQB2w@mail.gmail.com>
In-Reply-To: <CAMm+LwjysRvkKqH=HeuQtxf8Kh0VRBDzwW63G0Z58yb0ptQB2w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/qPxQmDdy6oRI5OSnyttgR0mQUnk
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 04:33:18 -0000

On 3/20/14, 8:54 AM, Phillip Hallam-Baker wrote:
> Really?
>
> When DNSSEC was first proposed in 1995 or thereabouts it wasn't
> deployable because most of the DNS infrastructure could not support
> new RR types, there was a 500 byte limit on messages in many cases and
> several other issues.
>
> It took another five years to fix those issues in the infrastructure
> before deployment became practical.
>
> What I am saying here is that we have an opportunity to say that we
> leave certain parts of the legacy behind without additional cost.
>
>
> Or we could start the work by declaring that the DNS protocols were
> handed down in a state of grace and that they represent the most
> shining example of perfection we can hope to achieve and that anyone
> who suggests the mere possibility of alternative approaches must be
> cast out as a heretic.

Or we can do something like HTTP/2 is doing and approaching it as a new 
mechanism and allow methods for choosing, but having a fall back strategy.

>
> DNSSEC has always had to dance round the problem that DNS responses
> have to fit in one packet. And that pushes a huge number of
> contortions onto designs. I think it is more than reasonable to
> require that if people are going to start encrypting packets that they
> be required to have a strategy that can transport DNSSEC packets for
> almost all real world protocols without having to switch from UDP to
> TCP. That could mean staying in UDP all along or starting in TCP from
> the start. But switching horses in midstream from UDP to TCP hits all
> sorts of ugly real world deployment issues.

I would agree it should either all work in UDP or start in TCP.

And Pauls' drafts are very relevant to this conversation.

tim



From nobody Fri Mar 21 04:33:01 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE71C1A08B7 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 04:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 f-47mv37FA2J for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 04:32:58 -0700 (PDT)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) by ietfa.amsl.com (Postfix) with ESMTP id BA1741A08AE for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 04:32:57 -0700 (PDT)
Received: by mail-la0-f51.google.com with SMTP id pv20so1583620lab.10 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 04:32:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vh1+EGnk6xOdKlkJLfcAIIvoraDXXHceNM4z2jcvJQs=; b=BvsJ5Zbh9ke2ltN+/3QahQEczX3WiB9l5q/6/j4xmwaC8DoMzoBMNbMERVOEXv/D2x 4Nbk1BOBJ6g5M5dKx+HTm0oPVXNNddBe+Jk0aI8V103bYyPeH1sOyM0zFKDiJI4ptJTl 2TKXWFaA6NHjHXGpGwb4Ctm/oJq+pVZSV+CLGjbP4No4CP9q8PAaQopXSq6dfmKbFhjG gJfUR/UyM88UV5qcP9ow1UVNtb37DH21ojQBO2Wc7U3U868M6Sl+3fgvPPGPDEmnH4eK KHnjOeKQOOrCSYsYsN3AJPdOkpTITW4BD+7UihrN8Z8GOi6YxJS5KMPnTLDWwf2OJ6Ok mpRw==
MIME-Version: 1.0
X-Received: by 10.112.94.229 with SMTP id df5mr5470327lbb.36.1395401567834; Fri, 21 Mar 2014 04:32:47 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 04:32:47 -0700 (PDT)
In-Reply-To: <532BC100.4050704@gmail.com>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com> <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com> <532A9BDF.80401@nlnetlabs.nl> <CAMm+LwjysRvkKqH=HeuQtxf8Kh0VRBDzwW63G0Z58yb0ptQB2w@mail.gmail.com> <532BC100.4050704@gmail.com>
Date: Fri, 21 Mar 2014 07:32:47 -0400
Message-ID: <CAMm+LwhP9YNu+tOWCs7TTV-cguB4tvPf1B5e8V_KOSaDuJq_kw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Tim Wicinski <tjw.ietf@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/H6-olNTqm8Z2NoR08SpGRgjKySQ
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 11:33:00 -0000

On Fri, Mar 21, 2014 at 12:33 AM, Tim Wicinski <tjw.ietf@gmail.com> wrote:
>
> On 3/20/14, 8:54 AM, Phillip Hallam-Baker wrote:

>> What I am saying here is that we have an opportunity to say that we
>> leave certain parts of the legacy behind without additional cost.
>>
>>
>> Or we could start the work by declaring that the DNS protocols were
>> handed down in a state of grace and that they represent the most
>> shining example of perfection we can hope to achieve and that anyone
>> who suggests the mere possibility of alternative approaches must be
>> cast out as a heretic.
>
>
> Or we can do something like HTTP/2 is doing and approaching it as a new
> mechanism and allow methods for choosing, but having a fall back strategy.

That is what I was proposing.

Every time we try to use the DNS for a particular project we end up
hitting our heads against a slew of deployment restrictions that make
it unusable or limit the value.

Encrypting the traffic is inevitably a significant discontinuity.

>
>>
>> DNSSEC has always had to dance round the problem that DNS responses
>> have to fit in one packet. And that pushes a huge number of
>> contortions onto designs. I think it is more than reasonable to
>> require that if people are going to start encrypting packets that they
>> be required to have a strategy that can transport DNSSEC packets for
>> almost all real world protocols without having to switch from UDP to
>> TCP. That could mean staying in UDP all along or starting in TCP from
>> the start. But switching horses in midstream from UDP to TCP hits all
>> sorts of ugly real world deployment issues.
>
>
> I would agree it should either all work in UDP or start in TCP.
>
> And Pauls' drafts are very relevant to this conversation.

Or possibly more practical would be to have a strategy where UDP is
the default but there is a fallback over HTTP.

-- 
Website: http://hallambaker.com/


From nobody Fri Mar 21 07:43:18 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5EAAD1A0973 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:43:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 hMYBeydzr44h for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:43:14 -0700 (PDT)
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id A47A91A09B4 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 07:43:13 -0700 (PDT)
Received: by mail-la0-f41.google.com with SMTP id gl10so1780476lab.28 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 07:43:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=n7b83uB69JbFcRuQkla0eZPi1zN4JVcYhM/Zo6POO5A=; b=FmsNjsCgbJVKqCQuX38an5ZaavOc6jUOEh62B71HMSPDpo88DKO7qWQbHlCSmOXtgC fwqkR/o9UVWtQ7UebyNkAgfwXLH551zPVP/XMPRNmf9aSCOTHTExb3JySnSfMYQC4NOB ABiAwtC2V3vbc+2FgLuUmoIiUVSjsxhdFgYtKhz/QUZ77yzU68lsc9k8UKnn3PPtg0M1 goGLIshbaeeFPPZc/K8hr5PKYn4m5peRnwwsFAHaK04fPS/BI309Fahn+PeEtyRwaQXJ PL8MSAe3qULHnH4PJqmDVfHXHkcq6KjqTwSNQHfAwCIBErKCTPWmhjUMUq9IceYE3e0y NxvQ==
MIME-Version: 1.0
X-Received: by 10.152.190.135 with SMTP id gq7mr34178507lac.28.1395412983492;  Fri, 21 Mar 2014 07:43:03 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 07:43:03 -0700 (PDT)
Date: Fri, 21 Mar 2014 10:43:03 -0400
Message-ID: <CAMm+LwjBL5C_FCBpkyLjxS7ayF2Eo=yLnLiWRNB2hgFiY1KN0w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: dns-privacy@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/euL7loWFw9YnHVgsdAyfzd6a8aI
Subject: [dns-privacy] Private DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 14:43:16 -0000

So far we have been talking about DNS Privacy. But what is more
important to many Internet users is control over their choice of DNS
providers.

Consider the following:
https://twitter.com/enginonder/status/446819815106576384/photo/1

Right now we have several million Internet users who want control over
their DNS service. I am pretty sure that they don't want their
government to know what sites they are visiting. But they also want to
make sure that government censors can't block criticism of the ruling
party.

So the challenge as I see it is not just DNS-Privacy, it is providing
users with a private DNS. As in a DNS service that is their private
choice and under their private control.

This was the use case that I started with that resulted in OmniBroker.
Encrypting DNS traffic is a different set of requirements but the hard
part of the problem is essentially the same: We have to do a key
exchange.


As an attempt to close the earlier discussion on 'backwards
compatibility', could I suggest the following as a criteria:

* Any DNS Encryption scheme has to be compatible with the getdnsapi
except for extensions to the setup/configuration part of the API.

I know getdnsapi is not a standard, there are other implementations,
yadda yadda. But it is a really useful sanity check. Any proposal that
is compatible with getdnsapi is likely to work as a drop in
replacement for existing DNS.


As an anti-censorship tool, OmniBroker is a lot more powerful because
it is designed to allow the service to give more comprehensive
tactical advice. So for example, the OmniBroker could say 'connect to
this site using TOR'.


-- 
Website: http://hallambaker.com/


From nobody Fri Mar 21 07:55:18 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A13C1A0989 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:55:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.547] 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 c1RrqvVpalbH for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:55:14 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) by ietfa.amsl.com (Postfix) with ESMTP id 14EEF1A099B for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 07:55:14 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id 342F228015A; Fri, 21 Mar 2014 15:55:04 +0100 (CET)
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx4.nic.fr (Postfix) with ESMTP id 2F73C280102; Fri, 21 Mar 2014 15:55:04 +0100 (CET)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [IPv6:2001:67c:1348:8::7:113]) by relay2.nic.fr (Postfix) with ESMTP id 2DCA6B3B0BF; Fri, 21 Mar 2014 15:54:34 +0100 (CET)
Date: Fri, 21 Mar 2014 15:54:34 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Phillip Hallam-Baker <hallam@gmail.com>
Message-ID: <20140321145434.GA25219@nic.fr>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com>
X-Operating-System: Debian GNU/Linux 7.4
X-Kernel: Linux 3.2.0-4-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ADDzPUcm4GgM2S5cZxbIe_t01MI
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 14:55:16 -0000

On Wed, Mar 19, 2014 at 01:40:01PM -0400,
 Phillip Hallam-Baker <hallam@gmail.com> wrote 
 a message of 144 lines which said:

> One consequence of encrypting DNS traffic is that we break backwards
> compatibility.

Just a reminder: "This list is for the discussion of the problem
statement surrounding the addition of privacy to the DNS protocol."
Privacy is the goal, encryption may be a solution. This list is
dns-privacy, not dns-encryption.

> Since we are going to break backwards compatibility we should take
> the opportunity to fix some of the problems in the DNS protocol.

I disagree with this approach: adding encryption, should we decide it,
is more than enough work to keep an IETF mailing list active for many
months (years?) Saying "hey, cool, the gates are open, let's try to
push all the other stuff I want" seems a sure recipe for a second
system failure <http://en.wikipedia.org/wiki/Second-system_effect>.

> So I would like to require a server that supports the crypto query protocol
> to be required to actually implement what is written in 1035 and respond to
> multiple queries.

RFC 1035 is quite broken here since it does not say how to set the
status code when the different questions yield differente results. In
the last years, several people have proposed to update RFC 1035 to
make this scheme workable (for instance by requesting that all the
questions use the same qname or by having several response packets, as
you suggest) but it never went far.



From nobody Fri Mar 21 07:57:57 2014
Return-Path: <gwiley@verisign.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 292601A09A8 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:57:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 EE9glEWwunio for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 07:57:54 -0700 (PDT)
Received: from exprod6og112.obsmtp.com (exprod6og112.obsmtp.com [64.18.1.29]) by ietfa.amsl.com (Postfix) with ESMTP id E83221A099C for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 07:57:51 -0700 (PDT)
Received: from peregrine.verisign.com ([216.168.239.74]) (using TLSv1) by exprod6ob112.postini.com ([64.18.5.12]) with SMTP ID DSNKUyxTZj4Mez3ELsYKJS/dTlAqhTepCb1h@postini.com; Fri, 21 Mar 2014 07:57:45 PDT
Received: from brn1wnexcas01.vcorp.ad.vrsn.com (brn1wnexcas01.vcorp.ad.vrsn.com [10.173.152.205]) by peregrine.verisign.com (8.13.6/8.13.4) with ESMTP id s2LEvdqc012064 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 21 Mar 2014 10:57:41 -0400
Received: from BRN1WNEXMBX01.vcorp.ad.vrsn.com ([::1]) by brn1wnexcas01.vcorp.ad.vrsn.com ([::1]) with mapi id 14.03.0174.001; Fri, 21 Mar 2014 10:57:38 -0400
From: "Wiley, Glen" <gwiley@verisign.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>, Phillip Hallam-Baker <hallam@gmail.com>
Thread-Topic: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
Thread-Index: AQHPRRWPjHMxJ/FVQkG/FXXgJ9yqq5rroZ8A
Date: Fri, 21 Mar 2014 14:57:38 +0000
Message-ID: <CF51CB55.37817%gwiley@verisign.com>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <20140321145434.GA25219@nic.fr>
In-Reply-To: <20140321145434.GA25219@nic.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
x-originating-ip: [10.173.152.4]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6C3B8053B0738A4D95860A5FB94C0C35@verisign.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/xV3aiGnpYXcqG5QR3VYNVL-BskA
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 14:57:56 -0000

--=20
Glen Wiley
KK4SFV

Sr. Engineer
The Hive, Verisign, Inc.




On 3/21/14 10:54 AM, "Stephane Bortzmeyer" <bortzmeyer@nic.fr> wrote:

>On Wed, Mar 19, 2014 at 01:40:01PM -0400,
> Phillip Hallam-Baker <hallam@gmail.com> wrote
> a message of 144 lines which said:
>
>> One consequence of encrypting DNS traffic is that we break backwards
>> compatibility.
>
>Just a reminder: "This list is for the discussion of the problem
>statement surrounding the addition of privacy to the DNS protocol."
>Privacy is the goal, encryption may be a solution. This list is
>dns-privacy, not dns-encryption.

+1

>
>> Since we are going to break backwards compatibility we should take
>> the opportunity to fix some of the problems in the DNS protocol.
>
>I disagree with this approach: adding encryption, should we decide it,
>is more than enough work to keep an IETF mailing list active for many
>months (years?) Saying "hey, cool, the gates are open, let's try to
>push all the other stuff I want" seems a sure recipe for a second
>system failure <http://en.wikipedia.org/wiki/Second-system_effect>.

The past decade of chatter regarding changes to DNS is a strong indicator
of the need to keep the scope of these changes tightly constrained if
there is any hope of producing consensus on a solution.

>
>> So I would like to require a server that supports the crypto query
>>protocol
>> to be required to actually implement what is written in 1035 and
>>respond to
>> multiple queries.
>
>RFC 1035 is quite broken here since it does not say how to set the
>status code when the different questions yield differente results. In
>the last years, several people have proposed to update RFC 1035 to
>make this scheme workable (for instance by requesting that all the
>questions use the same qname or by having several response packets, as
>you suggest) but it never went far.
>
>
>_______________________________________________
>dns-privacy mailing list
>dns-privacy@ietf.org
>https://www.ietf.org/mailman/listinfo/dns-privacy


From nobody Fri Mar 21 08:55:56 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53AA41A09E8 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 08:55:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 BNHS2J-efixK for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 08:55:49 -0700 (PDT)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by ietfa.amsl.com (Postfix) with ESMTP id EBA451A06D2 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 08:55:48 -0700 (PDT)
Received: by mail-lb0-f169.google.com with SMTP id q8so1798473lbi.14 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 08:55:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tJpbPkFpfw9hb3Qg79jz7zGZmBsPVJb46SxqTEwcmmw=; b=oqszE37hyjfbHM5sFrCnqviWlPa3RSHk7Q5p3JGCe7NZ18Ry0LYWw6i0fphwrnaGWY wsDGz6PvP/5ziemsPPAGoExLDL+KWFiKTfWDh+3dk1jywyNIfVYvFqPrWtsnJNcJbCIB OpEVrqCa+25W9ggMr3Rd67DCHvHIm7xz4ja+8RDPdrdW8B3Wv4FrE8O5bS7LAeqyfPtd eHOdHc/In1Gkwq/G4DfB2P2ViWsMfbYpDVvVKxH+PBq9UsxVzhZc5fRRl3zOffMVA6Fq Jhpc3/y40GjVk0EeNxDgIExQbtvZQzZMIFg8wN9wJ5uajHWOkelJXCh0tbCqQR318cHx M2rg==
MIME-Version: 1.0
X-Received: by 10.152.199.104 with SMTP id jj8mr63323lac.70.1395417338805; Fri, 21 Mar 2014 08:55:38 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 08:55:38 -0700 (PDT)
In-Reply-To: <20140321145434.GA25219@nic.fr>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <20140321145434.GA25219@nic.fr>
Date: Fri, 21 Mar 2014 11:55:38 -0400
Message-ID: <CAMm+LwhgbFhLC+93QMJFjY98K3YL34JHf66DX8dNujOuOoie7A@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/13AXvHA6AeAXYUsnuMq8hIYbc18
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 15:55:53 -0000

On Fri, Mar 21, 2014 at 10:54 AM, Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:
> On Wed, Mar 19, 2014 at 01:40:01PM -0400,
>  Phillip Hallam-Baker <hallam@gmail.com> wrote
>  a message of 144 lines which said:
>
>> One consequence of encrypting DNS traffic is that we break backwards
>> compatibility.
>
> Just a reminder: "This list is for the discussion of the problem
> statement surrounding the addition of privacy to the DNS protocol."
> Privacy is the goal, encryption may be a solution. This list is
> dns-privacy, not dns-encryption.
>
>> Since we are going to break backwards compatibility we should take
>> the opportunity to fix some of the problems in the DNS protocol.
>
> I disagree with this approach: adding encryption, should we decide it,
> is more than enough work to keep an IETF mailing list active for many
> months (years?) Saying "hey, cool, the gates are open, let's try to
> push all the other stuff I want" seems a sure recipe for a second
> system failure <http://en.wikipedia.org/wiki/Second-system_effect>.

And end up with systems like DNSSEC which have taken as long as they
have because necessary changes to the protocol were fought tooth and
nail for absolutely no good reason.

There is no point in a specification that nobody is going to use
because they can't or it does not solve enough problems. Right now we
have a million people trying to connect to Twitter despite DNS
blocking. That is just as important a use case as stopping other
governments seeing that people are connecting to Twitter.


If people were willing to think about new ideas for just 5% of the
time they spend trying to block them in the DNS space because they
find the idea of new ideas scary we might get somewhere.

DNSSEC would have been deployed in 2002 if you had been willing to
consider doing things my way. You guys never intended to give me a
chance to help you then.

The main reason everything takes so long in the DNS area is that there
are so many people that think they add value by creating friction and
opposing every proposal before they have even heard what it is.

I have been thinking about and publishing on this problem for over two
years. As a result I know the problem space, the solution space and
the cost of various options pretty well.


>> So I would like to require a server that supports the crypto query protocol
>> to be required to actually implement what is written in 1035 and respond to
>> multiple queries.
>
> RFC 1035 is quite broken here since it does not say how to set the
> status code when the different questions yield differente results. In
> the last years, several people have proposed to update RFC 1035 to
> make this scheme workable (for instance by requesting that all the
> questions use the same qname or by having several response packets, as
> you suggest) but it never went far.

I did wonder about that. But I think I have a solution as follows.

PRIVATE-DNS (my scheme) has

1) a key exchange used to setup a relationship between a client and
server. That just reuses TLS at the moment but I expect that some
extra crypto will end up in the mix.

2) a wrapper for transporting DNS messages.


A simple wrapper would be something like:

Request:

ContextID:    Byte []   // The cryptographic session information
TID:    Byte []   // Transaction Identifier and Initialization Vector
for the crypto
Data: Byte []   // The encrypted DNS Request message as per RFC1035
MAC:   Byte []   // Authentication code (possibly optional)

Response

TID:    Byte []   // Transaction Identifier and Initialization Vector
for the crypto
Data: Byte []   // The encrypted DNS Request message as per RFC1035
MAC:   Byte []   // Authentication code (possibly optional)

Since the IV is 128+ bits of random data it makes perfect sense to
reuse it as a transaction identifier for matching requests and
responses. To do this securely the mechanism for converting the TID to
the IV has to be different on requests and responses. The simplest
scheme would be to XOR the TID and MAC values from the request to
produce the IV for the response.


All that is needed to put multiple requests in a request packet is to
change the schema to be:

Request:

Data: Byte []   // Encrypted list of DNS Request message as per RFC1035

i.e instead of the encoding being something like

<length> <bytes> <data-padding>

It would be

<length> <bytes> (<length> <bytes>) * <00> <data-padding>

For an application like DNS, the length of the message can reveal a
great deal about the request. So adding padding to bulk up the message
to an
integral multiple of 64 bytes (say) is quite important.


The data framing for the response would be the same except that if we
wanted to support multiple response packets the format of each packet
would be something like:


Packet:

PacketIndex:  Integer (0..15)
MaxIndex:  Integer (0..15)
TID:    Byte []
Segment:   Byte []

To process responses the client must first receive all the response
packets, match them to the request and assemble them in order. The
inner encoded data is then

<length> <bytes> (<length> <bytes>) * <00> <mac> <data-padding>

The responses are given in the same order as the original requests.

This mechanism is limited to 16 response packets (requests are always
1 packet). This is probably close to the upper limit for reliable UDP
since the receiver has to receive all the packets to use them. But
this is almost certainly ample for virtually all DNS queries we might
want to make.


Allowing multiple requests/responses does make the client
implementation a little more complex. But it avoids the need to
fallback to TCP which these days only works reliably on ports 80 and
443. It reduces latency and network traffic.

The big advantage is that it means that we can use DNSSEC now without
having to constantly worry a little bit of extra data in the response
is going to cripple performance and reliability due to clients having
to fallback to TCP over port 53.

-- 
Website: http://hallambaker.com/


From nobody Fri Mar 21 09:43:01 2014
Return-Path: <paul@nohats.ca>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8CDFD1A0794 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 09:42:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.547] 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 Wg9wVM-e5zkS for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 09:42:56 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id 53AA91A08F0 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 09:42:56 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 2993D800AA; Fri, 21 Mar 2014 12:42:46 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1395420166; bh=lFCSwucqU5B1Ig2hamon91tNFuAYEylPZdZUUZTUMWw=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=eOLkNmlKSWZ6HWU3qDZvlvV6lrV6HYrF98meC7mZJEexdyjw7hc3u7b+/MzS7ZM3n Frj4lN4UbSRbIe+VY+mTOryl/yFw16sgPrM42hzRajzZbzsP1V63yE7L9h+x5IIve8 D757cC3mxzXLlCwrCeFiqnIGxvhJXwN8caJYjAzM=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s2LGgjWx029692; Fri, 21 Mar 2014 12:42:45 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Fri, 21 Mar 2014 12:42:45 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwhP9YNu+tOWCs7TTV-cguB4tvPf1B5e8V_KOSaDuJq_kw@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1403211241180.13863@bofh.nohats.ca>
References: <CAMm+LwgXExHH6YxpvQLEsgZ+C4uUjvv0E=+g0XBmWVBrQnG_-w@mail.gmail.com> <CA+9kkMAVkUtLZ95g-Enk1EaSif4FOuuCy_utwcHYDN3Vjw3xjg@mail.gmail.com> <CAMm+Lwi_aLqyyC4ek_twcr_x_XC6J1AOFbEgJkHaAe=skfSmLw@mail.gmail.com> <532A9BDF.80401@nlnetlabs.nl> <CAMm+LwjysRvkKqH=HeuQtxf8Kh0VRBDzwW63G0Z58yb0ptQB2w@mail.gmail.com> <532BC100.4050704@gmail.com> <CAMm+LwhP9YNu+tOWCs7TTV-cguB4tvPf1B5e8V_KOSaDuJq_kw@mail.gmail.com>
User-Agent: Alpine 2.10 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/C6jCsQCv11tMnEUcNVvlQ-04Bfw
Cc: Tim Wicinski <tjw.ietf@gmail.com>, dns-privacy@ietf.org
Subject: Re: [dns-privacy] Multiple DNS requests per packet, multiple packet responses
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 16:42:58 -0000

On Fri, 21 Mar 2014, Phillip Hallam-Baker wrote:

> Or possibly more practical would be to have a strategy where UDP is
> the default but there is a fallback over HTTP.

If you want to be censorship resistant, you should make DNS
encryption integral to DNS. Not have some appendix that someone
can easilly cut off.

Paul


From nobody Fri Mar 21 14:16:21 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC5A31A08D0 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 14:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 AQknPJK0X_R1 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 14:16:17 -0700 (PDT)
Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 5925A1A08F5 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 14:16:17 -0700 (PDT)
Received: by mail-lb0-f172.google.com with SMTP id c11so2074534lbj.31 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 14:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=PzzwmQ1dmH5FoB2Ql1G3YaYHhtrx3Z7hCzmyEs6HRrI=; b=IdkrH9PvqDGPktPjdUezlhs7Pr2jeRgh2vel+t4Dcel9XAR43CG/NEbKuJ7ON5NZqK eEQKL4i8VR5YQ9KlXLBeyPeVjyfQQY0U0aqmcy/mJXquvo+f4kySEm6V+H3Hv7AmlUiJ rDatx728M4E/4fMs51Caa/XN412x0Pm6DpXKnZ96lML2UL6G5q/u2347gWQ7gDpdfBCk 4gFieGxp1uzbaMaquxHBJPSkh/6z2TVgYM4okfNRKtIa5Q1FOjdhJAm0+EHFMJ2tDSpP kRB3zJehL2M9rOM5vz9XoLv3+VIlWunvxXvwjPeLDWKF3bJn5OVLMmptKQ6zD5QNof1L 5F2w==
MIME-Version: 1.0
X-Received: by 10.152.42.144 with SMTP id o16mr35838913lal.9.1395436567022; Fri, 21 Mar 2014 14:16:07 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 14:16:06 -0700 (PDT)
Date: Fri, 21 Mar 2014 17:16:06 -0400
Message-ID: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: dns-privacy@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/5IsVXwUI0PQsjMtVXZTMDlIx6aA
Subject: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 21:16:20 -0000

I have a first cut of a use cases and requirements draft. It also
contains a description of my proposed solution.

http://www.ietf.org/id/draft-hallambaker-dnse-00.txt

I have not gone through and audited the proposal against the
requirements but I am pretty sure it meets them all.

The key is the division of the problem between the service connection
service and the query hosts. If we divide up the problem that way so
that the two are independent services that can be implemented
separately if desired, I have enough flexibility to meet pretty much
any set of requirements people want to throw at it. And none of the
consequences show through the query host part.


So looking at the way this might deploy on a service like
dnsbycomodo.com, the dns publication constellation does not need to be
affected very much. All I need to do is to rack up some Service
Connection hosts that can handle the new work. I have to deploy the
new message encapsulation format for the query hosts but that just
means doing a few simple symmetric crypto steps on each request. I
don't think its going to affect the server load at all.

-- 
Website: http://hallambaker.com/


From nobody Fri Mar 21 14:59:32 2014
Return-Path: <ietf@rozanak.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 796761A0048 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 14:59:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.047
X-Spam-Level: 
X-Spam-Status: No, score=-1.047 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RP_MATCHES_RCVD=-0.547] 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 IDJiN5Jf5GpN for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 14:59:28 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) by ietfa.amsl.com (Postfix) with ESMTP id 566001A08C7 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 14:59:28 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id E477623E2B25; Fri, 21 Mar 2014 21:59:17 +0000 (UTC)
X-Virus-Scanned: amavisd-new at rozanak.com
Received: from mail.rozanak.com ([127.0.0.1]) by localhost (mail.iknowlaws.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jTemPLAeTVd1; Fri, 21 Mar 2014 22:59:16 +0100 (CET)
Received: from kopoli (g225061101.adsl.alicedsl.de [92.225.61.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 637C823E24BF; Fri, 21 Mar 2014 22:59:16 +0100 (CET)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Phillip Hallam-Baker'" <hallam@gmail.com>
References: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com>
In-Reply-To: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com>
Date: Fri, 21 Mar 2014 22:59:14 +0100
Message-ID: <000801cf4550$cc9fd200$65df7600$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJKi1HeRWP5HE8zfSy4TBmy17zh1Zn1hOWg
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/mHEciy9oGVUutPps3ZMS4Hiyoz8
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 21:59:30 -0000

Hi Phillip,

I just skimmed your draft. Just a quick comment...

>[R-C-AFIRST]
         Protect the confidentiality of request and response data 
         against an active attacker after first contact.

   >   [R-C-ACTIVE]
         Protect the confidentiality of request and response data 
         against an active attacker on every contact.


>     [R-C-TRAFFIC]
         Protect the contents of messages from being disclosed by an 
         external attacker through traffic analysis.

I do not see any real difference between protecting the data confidentiality
or protecting the message content. If you mean protecting the IP address of
requestor or something like that, I guess not possible. If you mean
something else then it is not really clear. I do not see any difference
between external attacker and active attacker... 

Section 4, why you only consider UDP? Why not also TCP?
I guess it makes sense to include any problem that is the cause of using
TCP.

> Under certain network conditions attempts to reach the PRIVATE-DNS 
   service may fail due to constraints imposed by firewalls or through 
   attempted censorship. Under these conditions, HTTP [RFC2616] MAY be 
   used as an alternative transport as follows:

I am really curious to know what is the example network that you're talking
about that close port 53 on firewall but thinks that port 80 is more
important and should keep it open.  It might appear only on web servers but
I do not think this might happen on the any network that uses firewall.
Right??

Hosnieh




From nobody Fri Mar 21 15:51:44 2014
Return-Path: <ted.ietf@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFD491A0751 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 15:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 Wtik_KmRvAQO for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 15:51:40 -0700 (PDT)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 984E01A0048 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 15:51:40 -0700 (PDT)
Received: by mail-ig0-f170.google.com with SMTP id uq10so3032290igb.1 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 15:51:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=Fhth9e9b0BXyboWG80M27FMe2HGAjWLJK3Bxq84ADXA=; b=O419UDf/SJFhsEPQDmngGsfwGK/gnLmUoNTVTtPr7z6uae1S5XpenxvXxagMUaaEeo 2sUm7FIf3BfticUEzLe0PMn22Xt4vw1M7wINVOWuRe76inWF8zivrcksN1kXYzXhDww7 eifqDFpET+1ms7VFAtEpVUSpcA9XHqzM2c1xTNGng9Qk+iLZIwO8VtulgZ4d/qpkDyct ELUnm98wPeUl/mlz3SRzMoMNkne5YmEmpscmaueiWT72tpr46QSlpH/ySBLGLb0Li6WR AIoJu5Aptf2/9ENRqe7tf/D8bBF1dOdmikqh5ecTx5JvUncTyJ1pHHmthTHQ2vmkuk04 s0TQ==
MIME-Version: 1.0
X-Received: by 10.50.83.38 with SMTP id n6mr167158igy.30.1395442290743; Fri, 21 Mar 2014 15:51:30 -0700 (PDT)
Received: by 10.42.237.206 with HTTP; Fri, 21 Mar 2014 15:51:30 -0700 (PDT)
Date: Fri, 21 Mar 2014 15:51:30 -0700
Message-ID: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: dns-privacy@ietf.org
Content-Type: multipart/alternative; boundary=089e010d97f80ba83304f525babf
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/SS3-o4b-EaqYif-KJh4t5qgxx3c
Subject: [dns-privacy] Core effort
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 22:51:41 -0000

--089e010d97f80ba83304f525babf
Content-Type: text/plain; charset=ISO-8859-1

Reading through Phillip's draft, I thought it might be useful to summarize
a simpler core statement:

Given large scale passive collection of Internet traffic (the first threat
alluded to in draft-barnes-pervasive-problem-00), making it possible to
confidentially issue DNS queries and receive DNS responses is required to
avoid DNS query traffic leaking data about Internet users.

We may eventually get to active attacks as well, but those aren't likely to
be occurring at the moment because they aren't required; passive monitoring
of a cleartext protocol is enough.

Do we have agreement that this is the core of what we're setting out to do?

Ted

--089e010d97f80ba83304f525babf
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:georgia,=
serif">Reading through Phillip&#39;s draft, I thought it might be useful to=
 summarize a simpler core statement:<br><br></div><div class=3D"gmail_defau=
lt" style=3D"font-family:georgia,serif">
<div style=3D"margin-left:40px">Given large scale passive collection of Int=
ernet traffic (the first threat alluded to in draft-barnes-pervasive-proble=
m-00), making it possible to=A0 confidentially issue DNS queries and receiv=
e DNS responses is required to avoid DNS query traffic leaking data about I=
nternet users.<br>
</div><br></div><div class=3D"gmail_default" style=3D"font-family:georgia,s=
erif">We may eventually get to active attacks as well, but those aren&#39;t=
 likely to be occurring at the moment because they aren&#39;t required; pas=
sive monitoring of a cleartext protocol is enough.<br>
<br></div><div class=3D"gmail_default" style=3D"font-family:georgia,serif">=
Do we have agreement that this is the core of what we&#39;re setting out to=
 do?<br><br>Ted<br></div></div>

--089e010d97f80ba83304f525babf--


From nobody Fri Mar 21 15:59:40 2014
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4390E1A092A for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 15:59:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.9
X-Spam-Level: 
X-Spam-Status: No, score=0.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_IS_SMALL6=0.556, RDNS_NONE=0.793] autolearn=no
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 auOWxhLvQRTB for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 15:59:33 -0700 (PDT)
Received: from hoba.ie (unknown [92.51.243.15]) by ietfa.amsl.com (Postfix) with ESMTP id 30DB61A09FD for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 15:59:28 -0700 (PDT)
Received: from [10.87.48.12] (unknown [86.45.63.226]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: stephen) by hoba.ie (Postfix) with ESMTPSA id 6BBB0E01ED; Fri, 21 Mar 2014 22:59:18 +0000 (GMT)
Message-ID: <532CC446.8070403@cs.tcd.ie>
Date: Fri, 21 Mar 2014 22:59:18 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Ted Hardie <ted.ietf@gmail.com>, dns-privacy@ietf.org
References: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
In-Reply-To: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/d7NCzF2EflWQ4dAuHsnT0uGsICE
Subject: Re: [dns-privacy] Core effort
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Fri, 21 Mar 2014 22:59:38 -0000

On 03/21/2014 10:51 PM, Ted Hardie wrote:
> Reading through Phillip's draft, I thought it might be useful to summarize
> a simpler core statement:
> 
> Given large scale passive collection of Internet traffic (the first threat
> alluded to in draft-barnes-pervasive-problem-00), making it possible to
> confidentially issue DNS queries and receive DNS responses is required to
> avoid DNS query traffic leaking data about Internet users.
> 
> We may eventually get to active attacks as well, but those aren't likely to
> be occurring at the moment because they aren't required; passive monitoring
> of a cleartext protocol is enough.
> 
> Do we have agreement that this is the core of what we're setting out to do?

Pretty much. I'd add one thing and a comment or two.

My addition: If whatever we do does not protect current DNS
data and is not easily integrated into current applications
and infrastructure then there is no point in doing anything.

Comments:

- We should include investigating data minimisation as well
as crypto. Not sending data is a fine way of keeping it more
confidential.

- Personally, I think the problem statement is v. good and
well worked out. I also think that the crypto mechanisms that
could be used are obvious. I think the work to be done here is
to see if some combination of those obvious mechanisms can be
put together that'd help with the problem. And that last can
only happen if people will deploy. So I'd see the work here
(or the interesting part of it) to be figuring out if there
are one or more solutions that might get deployed and that
would help. And if there are, then figuring out (and testing
for) pros and cons would be good.

Cheers,
S.


> 
> Ted
> 
> 
> 
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
> 


From nobody Fri Mar 21 18:00:13 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40F421A08C7 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 18:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 inJI5qy1uTLC for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 18:00:10 -0700 (PDT)
Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) by ietfa.amsl.com (Postfix) with ESMTP id 17A9F1A08EA for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 18:00:09 -0700 (PDT)
Received: by mail-lb0-f181.google.com with SMTP id c11so2139466lbj.26 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 18:00:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ph4eT+0BJktrqIMf/gdnief8WYjAGwE9Czc3ityDkEU=; b=oWwida5Hw5Y0y6MoSxLuRUURj5i4dfo+Knz8VXn5e/jl1DKAO8uafqOt9Kmo/84KeM MF9KZ5eq4TgrCsX1KB9OxMndZ+H7wFhiFsRcrYgkDAbdUFCCa55K2SdwzG5++8a5w6B7 h4D8jsdIi2Hf1fsceIZ2eAAbTi/T/Qhq7yHI5v2xgxAeZgFJeLj0co1ZBPLnrhGvBoRJ lFr1pgFy+Enrmo1wwxv6Ct1JPk93cY75adjRHIp2YzzXbiMiLeCcR26HuHl91mf/iGO/ g1RBdEeOF8/j5VI3y5zLV3dxQsaRo37b+lioFZxPo0XBGv6wamRd1sWKoWlVDqsLX28J dDtQ==
MIME-Version: 1.0
X-Received: by 10.152.37.137 with SMTP id y9mr35470902laj.8.1395449999535; Fri, 21 Mar 2014 17:59:59 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 17:59:59 -0700 (PDT)
In-Reply-To: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
References: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
Date: Fri, 21 Mar 2014 20:59:59 -0400
Message-ID: <CAMm+LwhmJSF1c+uXRW2V+BJkQ2-v+i7=yFz6AzxjxzP-jHbpPA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/yEpDpai42L207viw7668ZAcF6jY
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Core effort
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sat, 22 Mar 2014 01:00:12 -0000

On Fri, Mar 21, 2014 at 6:51 PM, Ted Hardie <ted.ietf@gmail.com> wrote:
> Reading through Phillip's draft, I thought it might be useful to summarize a
> simpler core statement:
>
> Given large scale passive collection of Internet traffic (the first threat
> alluded to in draft-barnes-pervasive-problem-00), making it possible to
> confidentially issue DNS queries and receive DNS responses is required to
> avoid DNS query traffic leaking data about Internet users.
>
> We may eventually get to active attacks as well, but those aren't likely to
> be occurring at the moment because they aren't required; passive monitoring
> of a cleartext protocol is enough.
>
> Do we have agreement that this is the core of what we're setting out to do?

I didn't go through the case by case but whether you have protection
against a MITM attack is just a function of whether you authenticate
the key exchange and which credentials you accept.

If we are building on top of established protocols such as TLS for the
key exchange part, this has no impact on the complexity of the
solution. It is in the toolkit already for free.


On Fri, Mar 21, 2014 at 6:59 PM, Stephen Farrell
<stephen.farrell@cs.tcd.ie> wrote:

> My addition: If whatever we do does not protect current DNS
> data and is not easily integrated into current applications
> and infrastructure then there is no point in doing anything.

+1

There is also a business model dimension.


> Comments:
>
> - We should include investigating data minimisation as well
> as crypto. Not sending data is a fine way of keeping it more
> confidential.

+1 totally.

> - Personally, I think the problem statement is v. good and
> well worked out. I also think that the crypto mechanisms that
> could be used are obvious. I think the work to be done here is
> to see if some combination of those obvious mechanisms can be
> put together that'd help with the problem. And that last can
> only happen if people will deploy.

Which is why I want to make sure that we don't pre-empt possible
early adopter niche markets.

If we can get enterprise customers to tell RedHat or Apple or
Microsoft that they really want a scheme in their product it is very
likely to happen.

So supporting enterprise specific use cases like split horizon DNS
is very important.


> So I'd see the work here
> (or the interesting part of it) to be figuring out if there
> are one or more solutions that might get deployed and that
> would help. And if there are, then figuring out (and testing
> for) pros and cons would be good.

Or we can iterate deltas on one proposal. If someone wants to
do something different and can give a reason I can spin versions
very quickly. Its just putting different schema into the configuralizer.

The only major depature I could see would be working off GSS-API rather
than TLS for the key exchange. That is a defensible point of view but very
much an inside IETF game compared to TLS.

I tried using DTLS, it did nothing useful in this application.


-- 
Website: http://hallambaker.com/


From nobody Fri Mar 21 18:36:26 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72E811A099E for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 18:36:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 UlOBVMypHDE4 for <dns-privacy@ietfa.amsl.com>; Fri, 21 Mar 2014 18:36:19 -0700 (PDT)
Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by ietfa.amsl.com (Postfix) with ESMTP id 746BD1A098A for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 18:36:19 -0700 (PDT)
Received: by mail-la0-f48.google.com with SMTP id gf5so2170516lab.21 for <dns-privacy@ietf.org>; Fri, 21 Mar 2014 18:36:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IaxHBTtn7cuLiSY8n9QSPBM9SkR5CP3A6ZIivDug4lY=; b=chOBStgzW6BeYe/wBdDtoYd+vepezlbzt8Xgrrkvhc0MYcyHcZso31gLabIMDvAz21 CF/gJoIV39VyCy/WoOztGCQzqmznoRzrzx1NMk8mEjffHDsgWyr8tsmIje5gq52mTohy Z2+AJHrQpMRX+U10h/E6ZMITYS6piESPOKaM59wa0r4Ern/MeWqaMgbKGdzdizfMO+J2 EhsOKGTCtlMy+PG+BcIKKGG8yn+dCkV7VIwItqJDpdt6Lz9H1jaDpHEm7Ki34lqYadDy 2XozwgDSC87OctRvGHIlNV6pO+phtsWO7F4+MJEnuGBBOcN08M4izASgEY8gRs9FOaYy LmSA==
MIME-Version: 1.0
X-Received: by 10.112.137.5 with SMTP id qe5mr34283477lbb.16.1395452169114; Fri, 21 Mar 2014 18:36:09 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Fri, 21 Mar 2014 18:36:08 -0700 (PDT)
In-Reply-To: <000801cf4550$cc9fd200$65df7600$@rozanak.com>
References: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com> <000801cf4550$cc9fd200$65df7600$@rozanak.com>
Date: Fri, 21 Mar 2014 21:36:08 -0400
Message-ID: <CAMm+LwimiuJ8qjkwuoLEAxqxafDBxaquuSQHuNpYGrSw0cGqmg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Hosnieh Rafiee <ietf@rozanak.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/_Wn7QLB1KVsIhE9sD0kN4yDa4bo
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sat, 22 Mar 2014 01:36:22 -0000

On Fri, Mar 21, 2014 at 5:59 PM, Hosnieh Rafiee <ietf@rozanak.com> wrote:
> Hi Phillip,
>
> I just skimmed your draft. Just a quick comment...
>
>>[R-C-AFIRST]
>          Protect the confidentiality of request and response data
>          against an active attacker after first contact.
>
>    >   [R-C-ACTIVE]
>          Protect the confidentiality of request and response data
>          against an active attacker on every contact.
>
>
>>     [R-C-TRAFFIC]
>          Protect the contents of messages from being disclosed by an
>          external attacker through traffic analysis.
>
> I do not see any real difference between protecting the data confidentiality
> or protecting the message content. If you mean protecting the IP address of
> requestor or something like that, I guess not possible. If you mean
> something else then it is not really clear. I do not see any difference
> between external attacker and active attacker...

These are hard to word precisely. I spent several days on those
definitions as it was.

I think the traffic requirement is clearly distinct from the message
confidentiality requirements. But the definition should probably use
terms like 'inference'.


Secure only against passive attacks, secure after first contact and
always secure represent progressively stricter security requirements.
The resources required to provide security are considerably greater as
well.

Which level of security you require depends on your use case and
especially whether you are talking about the client-resolver
interaction or the resolver-authoritative interaction.


> Section 4, why you only consider UDP? Why not also TCP?
> I guess it makes sense to include any problem that is the cause of using
> TCP.

If it is going to be a drop in replacement for DNS it has to be just
as fast. The Google folk are into shaving milliseconds off the latency
of Chrome.

The UDP scheme should work in over 97% of network environments and the
other 3% tend to be places where the network will be horrid anyway.


>> Under certain network conditions attempts to reach the PRIVATE-DNS
>    service may fail due to constraints imposed by firewalls or through
>    attempted censorship. Under these conditions, HTTP [RFC2616] MAY be
>    used as an alternative transport as follows:
>
> I am really curious to know what is the example network that you're talking
> about that close port 53 on firewall but thinks that port 80 is more
> important and should keep it open.  It might appear only on web servers but
> I do not think this might happen on the any network that uses firewall.
> Right??

There are many networks where TCP port 53 is blocked for outbound traffic.

Networks where port 80 is blocked outbound probably don't matter very
much for this project because the user isn't going to be going outside
the local network anyway.


-- 
Website: http://hallambaker.com/


From nobody Sun Mar 23 02:40:44 2014
Return-Path: <ietf@rozanak.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E19971A6F52 for <dns-privacy@ietfa.amsl.com>; Sun, 23 Mar 2014 02:40:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.79
X-Spam-Level: 
X-Spam-Status: No, score=0.79 tagged_above=-999 required=5 tests=[BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01] 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 T0IBoheQCa5P for <dns-privacy@ietfa.amsl.com>; Sun, 23 Mar 2014 02:40:38 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) by ietfa.amsl.com (Postfix) with ESMTP id 494F41A6F50 for <dns-privacy@ietf.org>; Sun, 23 Mar 2014 02:40:37 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 33C3223E2D51; Sun, 23 Mar 2014 09:03:01 +0000 (UTC)
X-Virus-Scanned: amavisd-new at rozanak.com
Received: from mail.rozanak.com ([127.0.0.1]) by localhost (mail.iknowlaws.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YVZfhxB0EGIi; Sun, 23 Mar 2014 10:02:02 +0100 (CET)
Received: from kopoli (unknown [92.229.104.103]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 50FD023E2C12; Sun, 23 Mar 2014 10:02:02 +0100 (CET)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Phillip Hallam-Baker'" <hallam@gmail.com>
References: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com> <000801cf4550$cc9fd200$65df7600$@rozanak.com> <CAMm+LwimiuJ8qjkwuoLEAxqxafDBxaquuSQHuNpYGrSw0cGqmg@mail.gmail.com>
In-Reply-To: <CAMm+LwimiuJ8qjkwuoLEAxqxafDBxaquuSQHuNpYGrSw0cGqmg@mail.gmail.com>
Date: Sun, 23 Mar 2014 10:01:38 +0100
Message-ID: <000601cf4676$8c0707f0$a41517d0$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJKi1HeRWP5HE8zfSy4TBmy17zh1QHBnLthAhrkkimZ2O0+oA==
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/wn_JkqAFuxFWuAZaYrVGjbriYao
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sun, 23 Mar 2014 09:40:41 -0000

> > I do not see any real difference between protecting the data
> > confidentiality or protecting the message content. If you mean
> > protecting the IP address of requestor or something like that, I guess
> > not possible. If you mean something else then it is not really clear.
> > I do not see any difference between external attacker and active
attacker...
> 
> These are hard to word precisely. I spent several days on those
definitions as
> it was.
> 
> I think the traffic requirement is clearly distinct from the message
> confidentiality requirements. But the definition should probably use terms
> like 'inference'.

True, but your definition is not what you meant. If you mean confidentiality
of message headers and the confidentiality of message content. Then what you
wrote is not clearly convey that meaning.


> Which level of security you require depends on your use case and
especially
> whether you are talking about the client-resolver interaction or the
resolver-
> authoritative interaction.

It might be but it also depends on your definition as well.  In one scenario
you can consider the same situation as exist for client to resolver. This is
true especially when the recursive resolver really does not have any clear
secure way to authenticate the authoritative DNS server. Not all
authoritative DNS servers are known to all recursive resolvers. 
In other words, the use case for client to resolver is likely to overlap the
use case for recursive resolver to authoritative resolver, if and if, we are
only concern the passive attack. 
 
> >> Under certain network conditions attempts to reach the PRIVATE-DNS
> >    service may fail due to constraints imposed by firewalls or through
> >    attempted censorship. Under these conditions, HTTP [RFC2616] MAY be
> >    used as an alternative transport as follows:
> >
> > I am really curious to know what is the example network that you're
> > talking about that close port 53 on firewall but thinks that port 80
> > is more important and should keep it open.  It might appear only on
> > web servers but I do not think this might happen on the any network that
> uses firewall.
> > Right??
> 
> There are many networks where TCP port 53 is blocked for outbound traffic.
> 
> Networks where port 80 is blocked outbound probably don't matter very
> much for this project because the user isn't going to be going outside the
local
> network anyway.

If the user are not going to outside of their local network, then I would
consider this as an isolated network and they either have local DNS resolver
or they do not have at all. If they have and it is in the same network as
other nodes, they need to keep open port 53.  So, it is unlikely that the
situation you're concerned about ever happens. I am not really convinced
about your definition here.

Hosnieh




From nobody Sun Mar 23 06:22:34 2014
Return-Path: <hallam@gmail.com>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5712A1A6FAD for <dns-privacy@ietfa.amsl.com>; Sun, 23 Mar 2014 06:22:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 5abx2NOpAvre for <dns-privacy@ietfa.amsl.com>; Sun, 23 Mar 2014 06:22:29 -0700 (PDT)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 6E3841A6FAC for <dns-privacy@ietf.org>; Sun, 23 Mar 2014 06:22:29 -0700 (PDT)
Received: by mail-lb0-f175.google.com with SMTP id w7so2900224lbi.34 for <dns-privacy@ietf.org>; Sun, 23 Mar 2014 06:22:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=K6mTQHx+H1jh+aLjtxNZox8QTXOeQ51n+axyYbnn1Mw=; b=MeW7x7kWwffrLjv2VMTilE1Yu2hI875VlOO/loCsiOUCEV0xJ/7TwSRRs2w1YLT6r9 X9u/oC9JRREu/lbeKpVSC/b5PiPQb4m/YoeR4b575vvJ88aW97xZzotCa2N6kQM1eQLU LxGfVF32vdzRA3+AyXbZPIGrePrP5aQ+CkzyHF5w6iJwy5tPo7k4s0ED0nwfvfWy5ZAu o6ULggPxusm2Wjy8ymvFVgSeCQrEXG3sOqM7w9uNWmxb0cS2KE4Sp3zSDoMaTV//p6mP yeZzjsrNWufyNC5hF2SHb6YMd3tcNYqW1DS2zYzExO+dVfK0aJd3jUDJntiTZ582SXiq H+Kw==
MIME-Version: 1.0
X-Received: by 10.112.143.99 with SMTP id sd3mr39280071lbb.11.1395580948331; Sun, 23 Mar 2014 06:22:28 -0700 (PDT)
Received: by 10.112.234.229 with HTTP; Sun, 23 Mar 2014 06:22:28 -0700 (PDT)
In-Reply-To: <000601cf4676$8c0707f0$a41517d0$@rozanak.com>
References: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com> <000801cf4550$cc9fd200$65df7600$@rozanak.com> <CAMm+LwimiuJ8qjkwuoLEAxqxafDBxaquuSQHuNpYGrSw0cGqmg@mail.gmail.com> <000601cf4676$8c0707f0$a41517d0$@rozanak.com>
Date: Sun, 23 Mar 2014 09:22:28 -0400
Message-ID: <CAMm+Lwjgkz-JFZVwZpyca40Q9Y8uPfCS+fpxKPRvX5m7Z3v=Fw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Hosnieh Rafiee <ietf@rozanak.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/fqWut82nzvgqVKLyAzN5bezD-lw
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sun, 23 Mar 2014 13:22:32 -0000

On Sun, Mar 23, 2014 at 5:01 AM, Hosnieh Rafiee <ietf@rozanak.com> wrote:

>> I think the traffic requirement is clearly distinct from the message
>> confidentiality requirements. But the definition should probably use terms
>> like 'inference'.
>
> True, but your definition is not what you meant. If you mean confidentiality
> of message headers and the confidentiality of message content. Then what you
> wrote is not clearly convey that meaning.

Privacy leakage from the IP header and encapsulation is actually
another requirement I don't distinguish (yet). I will add it.

The point of distinguishing these requirements is that different
approaches meet only some of them. It is a tradeoff.


>> Which level of security you require depends on your use case and
> especially
>> whether you are talking about the client-resolver interaction or the
> resolver-
>> authoritative interaction.
>
> It might be but it also depends on your definition as well.  In one scenario
> you can consider the same situation as exist for client to resolver. This is
> true especially when the recursive resolver really does not have any clear
> secure way to authenticate the authoritative DNS server. Not all
> authoritative DNS servers are known to all recursive resolvers.
> In other words, the use case for client to resolver is likely to overlap the
> use case for recursive resolver to authoritative resolver, if and if, we are
> only concern the passive attack.

The purpose of requirements is to enable an informed discussion of proposals.

A proposal does not have to meet every possible requirement. But
someone evaluating the proposal has to understand the full set of
requirements that might be relevant.

The requirements that are not met are going to end up as security
considerations, thats all.

Worry about the complexity of proposals, not requirements. Simplifying
a proposal is usually a good thing. Simplifying requirements is always
introducing a risk of making a mistake. Here we have a process where
the gnomes of Fort Meade are going to be looking at ways to sabotage
the effort. Manipulating requirements is a favorite trick of theirs.


Authenticating the client/resolver is essentially cost free. Which
makes it completely different to authenticating the
resolver/authoritative. The only reason to not authenticate the client
is if you don't want to know who is asking the question.

The approach proposed in PRIVATE-DNS is always secure against passive
attacks on the service connection service and secure against active or
passive attacks on the query service.


If someone wanted to eliminate the active attack on the service
connection service (SXS) that is easy because SXS is running over TLS
and so we can use straight PKIX or DANE type approaches or we can cut
a new DNS record. But that is not something that would worry me at
this point. We know that we can do it if that turns out to be
desirable and that we have options.

The only impact that requirement has right now is that it is one of
the reasons I want to be able to return longer DNS responses if needed
since I might end up exchanging certs.

Don't assume that fast setup of the SXS is a requirement in the
recursive/authoritative loop. A cache miss is actually a rare event
for a public DNS service. And most cases it means the domain does not
exist.


The point of requirements engineering is to understand the underlying
problem. The IETF approach of twisting the requirements to a
particular limited view of the problem is doing it exactly wrong.


> If the user are not going to outside of their local network, then I would
> consider this as an isolated network and they either have local DNS resolver
> or they do not have at all. If they have and it is in the same network as
> other nodes, they need to keep open port 53.  So, it is unlikely that the
> situation you're concerned about ever happens. I am not really convinced
> about your definition here.

A lot of networks turn out to have transparent MITM DNS servers that
restrict DNS traffic on port 53/UDP and block port 53/TCP completely.

It sucks but thats the constraint.

What I am saying in the proposal is that we eliminate the 53/TCP
fallback through a combination of support for multiple UDP responses
and fallback to a HTTP transport that is more or less guaranteed to
work in any circumstance.


-- 
Website: http://hallambaker.com/


From nobody Mon Mar 24 04:16:03 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB44E1A01C8 for <dns-privacy@ietfa.amsl.com>; Mon, 24 Mar 2014 04:16:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.339
X-Spam-Level: 
X-Spam-Status: No, score=0.339 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_FR=0.35, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 kEmUOn0JpDqV for <dns-privacy@ietfa.amsl.com>; Mon, 24 Mar 2014 04:16:01 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) by ietfa.amsl.com (Postfix) with ESMTP id D90E31A0195 for <dns-privacy@ietf.org>; Mon, 24 Mar 2014 04:16:00 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id AD9582803C2; Mon, 24 Mar 2014 12:15:59 +0100 (CET)
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx4.nic.fr (Postfix) with ESMTP id A90662803BB; Mon, 24 Mar 2014 12:15:59 +0100 (CET)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [IPv6:2001:67c:1348:8::7:113]) by relay2.nic.fr (Postfix) with ESMTP id A7231B3DCA0; Mon, 24 Mar 2014 12:15:29 +0100 (CET)
Date: Mon, 24 Mar 2014 12:15:29 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Phillip Hallam-Baker <hallam@gmail.com>
Message-ID: <20140324111529.GA24967@nic.fr>
References: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+Lwi2k2qY_+=CVAPyVCBG7Sc0-ME0W=UoPs7qm09TU-YpMw@mail.gmail.com>
X-Operating-System: Debian GNU/Linux 7.4
X-Kernel: Linux 3.2.0-4-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/0kAM2eDC6TKv4Xxp6YCEdD-TdPI
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] DNS Privacy requirements and PRIVATE-DNS
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 24 Mar 2014 11:16:02 -0000

On Fri, Mar 21, 2014 at 05:16:06PM -0400,
 Phillip Hallam-Baker <hallam@gmail.com> wrote 
 a message of 31 lines which said:

> I have a first cut of a use cases and requirements draft. It also
> contains a description of my proposed solution.
> 
> http://www.ietf.org/id/draft-hallambaker-dnse-00.txt

My main concern with this draft is that it carries both a set of
requirments and a possible solution. I suggest to split it in two.

On the requirments:

>     [R-PSPOOF]
>         Prevent spoofing of DNS responses by passive attack

I do not see how you can spoof DNS while being purely passive. Do you
refer to an off-the-path active attacker?

Editorial:

> Deployment of the new security mechanism compliments DNSSEC.

Complements? (I know I do not speak english but I'm nevertheless
confused.)


From nobody Mon Mar 24 04:21:40 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E0AD1A01CC for <dns-privacy@ietfa.amsl.com>; Mon, 24 Mar 2014 04:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.14
X-Spam-Level: *
X-Spam-Status: No, score=1.14 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_FR=0.35, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 tyZS0-SHHhLt for <dns-privacy@ietfa.amsl.com>; Mon, 24 Mar 2014 04:21:36 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) by ietfa.amsl.com (Postfix) with ESMTP id B3A171A0195 for <dns-privacy@ietf.org>; Mon, 24 Mar 2014 04:21:36 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id B23252803BB; Mon, 24 Mar 2014 12:21:35 +0100 (CET)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162]) by mx4.nic.fr (Postfix) with ESMTP id ADAC22803B8; Mon, 24 Mar 2014 12:21:35 +0100 (CET)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [IPv6:2001:67c:1348:8::7:113]) by relay1.nic.fr (Postfix) with ESMTP id AC4294C0029; Mon, 24 Mar 2014 12:21:05 +0100 (CET)
Date: Mon, 24 Mar 2014 12:21:05 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Ted Hardie <ted.ietf@gmail.com>
Message-ID: <20140324112105.GB24967@nic.fr>
References: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CA+9kkMBBeGVq12ON+RR1ttRf7FX6LyxXVuv-X2SPGpEbiut2Zw@mail.gmail.com>
X-Operating-System: Debian GNU/Linux 7.4
X-Kernel: Linux 3.2.0-4-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/tw6AwVnEfsClbY1U36cCVGzN0s0
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Core effort
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 24 Mar 2014 11:21:38 -0000

On Fri, Mar 21, 2014 at 03:51:30PM -0700,
 Ted Hardie <ted.ietf@gmail.com> wrote 
 a message of 58 lines which said:

> We may eventually get to active attacks as well, but those aren't likely to
> be occurring at the moment because they aren't required; passive monitoring
> of a cleartext protocol is enough.
> 
> Do we have agreement that this is the core of what we're setting out to do?

Not for me. The problem is that "active" or "passive" depends on the
layer. According to Snowden files, the NSA is doing _active_ attacks
(injecting packets with QUANTUM, planting malware with FOXACID) for
the purpose of conducting _passive_ data collection.

So, I do not think we should limit ourselves to passive attacks. I
like the idea (in draft-hallambaker-dnse) to have several levels of
security (against a purely passive attacker, against an active
attacker but with a trusted first contact, against an active attacker
in every case, etc).


From nobody Sat Mar 29 14:23:15 2014
Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dns-privacy@ietfa.amsl.com
Delivered-To: dns-privacy@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77D051A07D6 for <dns-privacy@ietfa.amsl.com>; Sat, 29 Mar 2014 14:23:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] 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 Q6EWgYxnJFfN for <dns-privacy@ietfa.amsl.com>; Sat, 29 Mar 2014 14:23:11 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [217.70.190.232]) by ietfa.amsl.com (Postfix) with ESMTP id 675691A07D5 for <dns-privacy@ietf.org>; Sat, 29 Mar 2014 14:23:11 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 7F6E83B813; Sat, 29 Mar 2014 22:23:06 +0100 (CET)
Received: by mail.sources.org (Postfix, from userid 1000) id 5F51C190756; Sat, 29 Mar 2014 22:18:31 +0100 (CET)
Date: Sat, 29 Mar 2014 22:18:31 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: dns-privacy@ietf.org
Message-ID: <20140329211831.GA23217@sources.org>
References: <20140317115453.GA5548@sources.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20140317115453.GA5548@sources.org>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 7.3
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/tK4yvWeuqy-ppFwmRMuuqxqv7Tc
Subject: Re: [dns-privacy] Google Public DNS redirected through BGP
X-BeenThere: dns-privacy@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sat, 29 Mar 2014 21:23:13 -0000

On Mon, Mar 17, 2014 at 12:54:53PM +0100,
 Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote 
 a message of 11 lines which said:

> https://twitter.com/bgpmon/status/445266642616868864
> 
> What's the link with DNS privacy? It's an example on a possible
> threat when you use a public DNS resolver without authentication. I do
> not know the motivactions of the attacker (it may have been a simple
> fat-fingering) but such a BGP hijacking could be used to spy on Google
> Public DNS traffic.

And here, public resolvers Google Public DNS and OpenDNS redirected in
Turkey, apparently through the IGP. Privacy implications are obvious:

http://www.bortzmeyer.org/dns-routing-hijack-turkey.html

