
From nobody Wed Aug  6 23:27:37 2014
Return-Path: <dengguangqing@cnnic.cn>
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 94E821A0409 for <dns-privacy@ietfa.amsl.com>; Wed,  6 Aug 2014 23:27:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.242
X-Spam-Level: **
X-Spam-Status: No, score=2.242 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FH_RELAY_NODNS=1.451, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, 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 pzFgm8pwhYj5 for <dns-privacy@ietfa.amsl.com>; Wed,  6 Aug 2014 23:27:32 -0700 (PDT)
Received: from cnnic.cn (unknown [218.241.118.13]) by ietfa.amsl.com (Postfix) with ESMTP id 37ED71B279F for <dns-privacy@ietf.org>; Wed,  6 Aug 2014 23:27:30 -0700 (PDT)
Received: from user-THINK (unknown [218.241.103.130]) by ocmail02.zx.nicx.cn (Coremail) with SMTP id AQAAf0CJkNhEHONTU7cDAA--.4654S2; Thu, 07 Aug 2014 14:27:16 +0800 (CST)
Date: Thu, 7 Aug 2014 14:26:59 +0800
From: "Guangqing Deng" <dengguangqing@cnnic.cn>
To: "John Heidemann" <johnh@isi.edu>
References: <20260.1405399590@dash.isi.edu>
X-Priority: 3
X-Has-Attach: no
X-Mailer: Foxmail 7, 2, 5, 140[cn]
Mime-Version: 1.0
Message-ID: <2014080714265894699225@cnnic.cn>
Content-Type: multipart/alternative; boundary="----=_001_NextPart526656061400_=----"
X-CM-TRANSID: AQAAf0CJkNhEHONTU7cDAA--.4654S2
X-Coremail-Antispam: 1UD129KBjvJXoW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1xlqjqupqqluhdfq/
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/fq6gXq-cOxGH9xoLxFdGSDXHcCc
Cc: dns-privacy <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] updated tech report about DNS-over-TCP and DNS-over-TLS
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, 07 Aug 2014 06:27:34 -0000

This is a multi-part message in MIME format.

------=_001_NextPart526656061400_=----
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: base64

U28gbG9uZyB0aGUgcGFwZXIgaXMgYW5kIHJlYWxseSBleGNlbGxlbnQgd29yayBpdCBpcy4gRnJv
bSB0aGlzIHBhcGVyLCBpdCBzZWVtcyB0aGF0IHRoZSBwZXJmb3JtYW5jZSBvZiBUQ1AtYmFzZWQg
RE5TIGlzIGFjY2VwdGFibGUgY29tcGFyZWQgd2l0aCBVRFAtYmFzZWQgRE5TLiBCdXQgRE5TIG9w
ZXJhdG9ycyBtYXkgc3RpbGwgd29ycnkgdGhlIHBlcmZvcm1hbmNlIG9mIGFueWNhc3Qgd2hpY2gg
aXMgdXNlZCBpbiByb290IGFuZCBtYW55IFRMRCBkb21haW5zIGlmIFVEUCBpcyB3aWRlbHkgcmVw
bGFjZWQgYnkgVENQLiBEbyB5b3UgaGF2ZSBhbnkgcGxhbnMgb24gbWVhc3VyaW5nIHRoZSBwZXJm
b3JtYW5jZSBvZiBhbnljYXN0IGluIFRDUCBzY2VuYXJpb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
bW9yeSByZXF1aXJlbWVudHMgbWF0Y2gNCiAgICBjdXJyZW50IGhhcmR3YXJlOiBhIGxhcmdlIHJl
Y3Vyc2l2ZSByZXNvbHZlciBtYXkgaGF2ZSAyNGsgYWN0aXZlDQogICAgY29ubmVjdGlvbnMgcmVx
dWlyaW5nIGFib3V0IDMuNiBHQiBhZGRpdGlvbmFsIFJBTS4gV2UgaWRlbnRpZnkgdGhlDQogICAg
a2V5IGRlc2lnbiBhbmQgaW1wbGVtZW50YXRpb24gZGVjaXNpb25zIG5lZWRlZCB0byBtaW5pbWl6
ZSBvdmVyaGVhZDoNCiAgICBxdWVyeSBwaXBlbGluaW5nLCBvdXQtb2Ytb3JkZXIgcmVzcG9uc2Vz
LCBUTFMgY29ubmVjdGlvbiByZXN1bXB0aW9uLA0KICAgIGFuZCBwbGF1c2libGUgdGltZW91dHMu
DQogDQpBcyBiZWZvcmUsIHdlIGFyZSBpbnRlcmVzdGVkIGluIGZlZWRiYWNrIGFib3V0IHRoZSB3
b3JrLiAgV2UgZ290IGENCm51bWJlciBvZiBxdWVzdGlvbnMgYWJvdXQgZGVwbG95bWVudCBpc3N1
ZXMsIGFuZCB3ZSd2ZSB0cmllZCB0byBzcGVhayB0bw0KdGhlbSBhbGwuDQogDQogICAtSm9obg0K
IA0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCmRucy1w
cml2YWN5IG1haWxpbmcgbGlzdA0KZG5zLXByaXZhY3lAaWV0Zi5vcmcNCmh0dHBzOi8vd3d3Lmll
dGYub3JnL21haWxtYW4vbGlzdGluZm8vZG5zLXByaXZhY3kNCg==

------=_001_NextPart526656061400_=----
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charse=
t=3Dutf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; =
margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 12pt; font-fami=
ly: =E5=BE=AE=E8=BD=AF=E9=9B=85=E9=BB=91; color: rgb(0, 0, 0); line-height=
: 1.5; }body { line-height: 1.5; font-family: verdana; color: rgb(0, 0, 0)=
; font-size: 10pt; }</style></head><body>=0A =0A<div style=3D"FONT-FAMILY:=
 Times New Roman; FONT-SIZE: 11pt"><span></span>So long the paper is and r=
eally excellent work it is. From this paper, it seems that the performance=
 of TCP-based DNS is acceptable compared with UDP-based DNS. But DNS opera=
tors may still worry the performance of anycast which is used in root and =
many TLD domains if UDP is widely replaced by TCP. Do you have any plans o=
n measuring the performance of anycast in TCP scenario?</div>=0A<div>&nbsp=
;</div>=0A<hr style=3D"WIDTH: 210px; HEIGHT: 1px" align=3D"left" color=3D"=
#b5c4df" size=3D"1">=0A<div style=3D"FONT-FAMILY: Verdana"><span><div styl=
e=3D"MARGIN-TOP: 10px; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px">=0A<div><spa=
n style=3D"FONT-FAMILY: =E5=AE=8B=E4=BD=93; COLOR: #000000; FONT-SIZE: 10.=
5pt">Guangqing =0ADeng</span></div>=0A<div><span style=3D"FONT-FAMILY: =E5=
=AE=8B=E4=BD=93; COLOR: #000000; FONT-SIZE: 10.5pt">CNNIC&nbsp;</span></di=
v></div></span></div><blockquote style=3D"margin-top: 0px; margin-bottom: =
0px; margin-left: 2em;"><div>&nbsp;</div><div style=3D"border:none;border-=
top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style=3D"PADDING-R=
IGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#00=
0000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>=
From:</b>&nbsp;<a href=3D"mailto:johnh@isi.edu">John Heidemann</a></div><d=
iv><b>Date:</b>&nbsp;2014-07-15&nbsp;12:46</div><div><b>To:</b>&nbsp;<a hr=
ef=3D"mailto:dns-privacy@ietf.org">dns-privacy</a>; <a href=3D"mailto:dnso=
p@ietf.org">dnsop</a></div><div><b>Subject:</b>&nbsp;[dns-privacy] updated=
 tech report about DNS-over-TCP and DNS-over-TLS</div></div></div><div><di=
v>&nbsp;</div>=0A<div>In Feb. 2014, Zi Hu posted about a study about DNS p=
erformance over TCP</div>=0A<div>and TLS.&nbsp; The context was a proposal=
 to allow DNS to use TLS over TCP,</div>=0A<div>described in</div>=0A<div>=
http://tools.ietf.org/html/draft-hzhwm-start-tls-for-dns-01</div>=0A<div>&=
nbsp;</div>=0A<div>We got a lot of input we got from the community (partic=
ularly those at</div>=0A<div>OARC in Warsaw).&nbsp; We've updated our tech=
nical report about DNS-over-TCP</div>=0A<div>and -TLS based on new work st=
emming from this feedback.</div>=0A<div>&nbsp;</div>=0A<div>The new tech r=
eport is at</div>=0A<div>http://www.isi.edu/publications/trpublic/files/tr=
-693.pdf</div>=0A<div>&nbsp;</div>=0A<div>This tech report (ISI-TR-2014-69=
3) is a major revision of the prior</div>=0A<div>technical report (ISI-TR-=
2014-688). Since that work we have improved our</div>=0A<div>understanding=
 of the availability of TCP fast open and TLS resumption,</div>=0A<div>and=
 we have tightened our estimates on memory based on external reports</div>=
=0A<div>(section 5.2). This additional information has allowed us to condu=
ct</div>=0A<div>additional experiments, improve our modeling, and provide =
a more</div>=0A<div>accurate view of what is possible today; our estimates=
 of latency and</div>=0A<div>memory consumption are both lower than in our=
 prior technical report as</div>=0A<div>a result. We have also added addit=
ional information about packet size</div>=0A<div>limitations (Figure 2), e=
xperiments evaluating DNSCrypt/DNSCurve</div>=0A<div>(section 6.1), analys=
is of DTLS, and covered a broader range of RTTs in</div>=0A<div>our experi=
ments. We believe these additions strengthen our central</div>=0A<div>clai=
ms: that connectionless DNS causes multiple problems and that T-DNS</div>=
=0A<div>addresses those problems with modest increase in latency and memor=
y</div>=0A<div>suitable for current hardware.</div>=0A<div>&nbsp;</div>=0A=
<div>Discussion with the community and feedback from reviewers raised a</d=
iv>=0A<div>number of associated issues.&nbsp; These issues were and are su=
mmarized in</div>=0A<div>the body of the paper, but we have placed detaile=
d discussion in</div>=0A<div>appendices so the body may focus on our our c=
entral claims in a moderate</div>=0A<div>amount of space.&nbsp; Important =
additional topics include a detailed</div>=0A<div>discussion of deployment=
 (Appendix H), an evaluation of TCP-specific</div>=0A<div>threats and thei=
r applicability to T-DNS (Appendix I), a detailed</div>=0A<div>comparison =
of the relationship between T-DNS with TLS to DTLS (Appendix</div>=0A<div>=
J), and details about supporting experiments.</div>=0A<div>&nbsp;</div>=0A=
<div>&nbsp;</div>=0A<div>Here's the abstract of the new technical report f=
or folks who</div>=0A<div>are unfamiliar with this work:</div>=0A<div>&nbs=
p;</div>=0A<div>&nbsp;&nbsp;&nbsp; DNS is the canonical protocol for conne=
ctionless UDP. Yet DNS today</div>=0A<div>&nbsp;&nbsp;&nbsp; is challenged=
 by eavesdropping that compromises privacy,</div>=0A<div>&nbsp;&nbsp;&nbsp=
; source-address spoofing that results in denial-of-service (DoS)</div>=0A=
<div>&nbsp;&nbsp;&nbsp; attacks on the server and third parties, injection=
 attacks that</div>=0A<div>&nbsp;&nbsp;&nbsp; exploit fragmentation, and s=
ize limitations that constrain policy</div>=0A<div>&nbsp;&nbsp;&nbsp; and =
operational choices. We propose T-DNS to address these</div>=0A<div>&nbsp;=
&nbsp;&nbsp; problems. It uses TCP to smoothly support large payloads and =
to</div>=0A<div>&nbsp;&nbsp;&nbsp; mitigate spoofing and amplification for=
 DoS. T-DNS uses</div>=0A<div>&nbsp;&nbsp;&nbsp; transport-layer security =
(TLS) to provide privacy from users to</div>=0A<div>&nbsp;&nbsp;&nbsp; the=
ir DNS resolvers and optionally to authoritative</div>=0A<div>&nbsp;&nbsp;=
&nbsp; servers. Expectations about DNS suggest connections will balloon</d=
iv>=0A<div>&nbsp;&nbsp;&nbsp; client latency and overwhelm server with sta=
te, but our evaluation</div>=0A<div>&nbsp;&nbsp;&nbsp; shows costs are mod=
est: end-to-end latency from TLS to the recursive</div>=0A<div>&nbsp;&nbsp=
;&nbsp; resolver is only about 9% slower when UDP is used to the</div>=0A<=
div>&nbsp;&nbsp;&nbsp; authoritative server, and 22% slower with TCP to th=
e</div>=0A<div>&nbsp;&nbsp;&nbsp; authoritative. With diverse traces we sh=
ow that frequent connection</div>=0A<div>&nbsp;&nbsp;&nbsp; reuse is possi=
ble (60-95% for stub and recursive resolvers, although</div>=0A<div>&nbsp;=
&nbsp;&nbsp; half that for authoritative servers), and after connection</d=
iv>=0A<div>&nbsp;&nbsp;&nbsp; establishment, we show TCP and TLS latency i=
s equivalent to</div>=0A<div>&nbsp;&nbsp;&nbsp; UDP. With conservative tim=
eouts (20 s at authoritative servers and</div>=0A<div>&nbsp;&nbsp;&nbsp; 6=
0 s elsewhere) and conservative estimates of connection state</div>=0A<div=
>&nbsp;&nbsp;&nbsp; memory requirements, we show that server memory requir=
ements match</div>=0A<div>&nbsp;&nbsp;&nbsp; current hardware: a large rec=
ursive resolver may have 24k active</div>=0A<div>&nbsp;&nbsp;&nbsp; connec=
tions requiring about 3.6 GB additional RAM. We identify the</div>=0A<div>=
&nbsp;&nbsp;&nbsp; key design and implementation decisions needed to minim=
ize overhead:</div>=0A<div>&nbsp;&nbsp;&nbsp; query pipelining, out-of-ord=
er responses, TLS connection resumption,</div>=0A<div>&nbsp;&nbsp;&nbsp; a=
nd plausible timeouts.</div>=0A<div>&nbsp;</div>=0A<div>As before, we are =
interested in feedback about the work.&nbsp; We got a</div>=0A<div>number =
of questions about deployment issues, and we've tried to speak to</div>=0A=
<div>them all.</div>=0A<div>&nbsp;</div>=0A<div>&nbsp;&nbsp; -John</div>=
=0A<div>&nbsp;</div>=0A<div>______________________________________________=
_</div>=0A<div>dns-privacy mailing list</div>=0A<div>dns-privacy@ietf.org<=
/div>=0A<div>https://www.ietf.org/mailman/listinfo/dns-privacy</div>=0A</d=
iv></blockquote>=0A</body></html>
------=_001_NextPart526656061400_=------



From nobody Thu Aug  7 06:33:17 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 971781B2AFE for <dns-privacy@ietfa.amsl.com>; Thu,  7 Aug 2014 06:33:14 -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 pECr2-DQ44nq for <dns-privacy@ietfa.amsl.com>; Thu,  7 Aug 2014 06:33:12 -0700 (PDT)
Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5D351B2AE4 for <dns-privacy@ietf.org>; Thu,  7 Aug 2014 06:33:11 -0700 (PDT)
Received: by mail-ie0-f172.google.com with SMTP id lx4so4662139iec.3 for <dns-privacy@ietf.org>; Thu, 07 Aug 2014 06:33:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google;  h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding :content-disposition; bh=cFGTIO5bQBojW9XI1Yy+9qSK32AShHG2VKy0ZrNjzAo=; b=BJ4ZgBKaXn/RH6gPaRf/9qt+jyPbLioSChWiSH/+66hYGMUIM+fVblb0Ff8xNv4/B2 hSgSA7eywX3hx8bfuKLrMU84ko5rwR9yKvUYVa+6OnjmaDPwXLAJMYvHZpBPImL31VWh SeikIvXlbhwv9yU5ZdlONEN96vywG0zLx99f0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding:content-disposition; bh=cFGTIO5bQBojW9XI1Yy+9qSK32AShHG2VKy0ZrNjzAo=; b=Kd3QAz8cSw78V9yR/ytjwqRSFYAE+c2fPue/ofYC+ykXBt5MUIspeuVD2mW6VP5ZQ2 ej1hb2gysm8rys0KovvcqZKGGhrptT0UCbJqyABlEm4W2KnfG6OiRSrzvRNAJKr3mR0V 0TQ2wMTjyjaxTUZO6w/JCMO5EjZjeoKpm4AqKi9QFx4XnfzT6LQ/4xvS8Y7Sb+UqI20j EFe1/sTgoTgHy8N8PrNuocFl1i+2qu7cfis6xOg/2oJmuHJ7xIHt6F1lrCAjQwyQTliP D9KSUs7qlP9a0QxCuqPhGbgPQ4om3God5QNEKkN+xP6FxtFYtsFwHrAsv/V+0GXrDaU1 4XmA==
X-Gm-Message-State: ALoCoQlHtYqTZY1JiQsMB6pOfvfTt4Pmxdcpb8IQMNzGywhWi1FcZUXmoLPai2U+PMGuYC+CWn0i
X-Received: by 10.42.208.70 with SMTP id gb6mr4025548icb.89.1407418385442; Thu, 07 Aug 2014 06:33:05 -0700 (PDT)
Received: from walrus.hopcount.ca (dhcp66.calod3a.shl.io. [199.212.92.66]) by mx.google.com with ESMTPSA id qd8sm1757573igb.1.2014.08.07.06.33.04 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 06:33:05 -0700 (PDT)
Date: Thu, 7 Aug 2014 09:33:03 -0400
From: Joe Abley <jabley@hopcount.ca>
To: Guangqing Deng <dengguangqing@cnnic.cn>, John Heidemann <johnh@isi.edu>
Message-ID: <etPan.53e3800f.2a487cb0.d8c2@walrus.hopcount.ca>
In-Reply-To: <2014080714265894699225@cnnic.cn>
References: <20260.1405399590@dash.isi.edu> <2014080714265894699225@cnnic.cn>
X-Mailer: Airmail (247)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/fnuHyoLNCbC3DnAQz-g6FEH7SCk
Cc: dns-privacy <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] updated tech report about DNS-over-TCP and DNS-over-TLS
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, 07 Aug 2014 13:33:14 -0000

Hi Guangqing,

On 7 August 2014 at 2:27:37, Guangqing Deng (dengguangqing=40cnnic.cn) wr=
ote:

> So long the paper is and really excellent work it is. =46rom this paper=
, it seems that the =20
> performance of TCP-based DNS is acceptable compared with UDP-based DNS.=
 But DNS operators =20
> may still worry the performance of anycast which is used in root and ma=
ny TLD domains if =20
> UDP is widely replaced by TCP. Do you have any plans on measuring the p=
erformance of anycast =20
> in TCP scenario=3F

The general concern with non-stateless exchanges between a unicast host a=
nd an anycast host is that the routing system between the two may exhibit=
 oscillations that cause different anycast hosts to receive different pac=
kets associated with the same transaction. This is more of a concern the =
longer the transaction, and the more turbulent the routing between the ho=
sts concerned. (In general, I have yet to see a significant problem with =
half-open connections on anycast DNS servers with short-held TCP sessions=
.)

In R=46C 4786 we said:

=C2=A0 =C2=A0When a service is anycast between two or more nodes, the rou=
ting
=C2=A0 =C2=A0system makes the node selection decision on behalf of a clie=
nt.
=C2=A0 =C2=A0Since it is usually a requirement that a single client-serve=
r
=C2=A0 =C2=A0interaction is carried out between a client and the same ser=
ver node
=C2=A0 =C2=A0for the duration of the transaction, it follows that the rou=
ting
=C2=A0 =C2=A0system's node selection decision ought to be stable for subs=
tantially
=C2=A0 =C2=A0longer than the expected transaction time, if the service is=
 to be
=C2=A0 =C2=A0provided reliably.

=C2=A0 =C2=A0Some services have very short transaction times, and may eve=
n be
=C2=A0 =C2=A0carried out using a single packet request and a single packe=
t reply
=C2=A0 =C2=A0(e.g., DNS transactions over UDP transport). =C2=A0Other ser=
vices involve
=C2=A0 =C2=A0far longer-lived transactions (e.g., bulk file downloads and=
 audio-
=C2=A0 =C2=A0visual media streaming).

=C2=A0 =C2=A0Services may be anycast within very predictable routing syst=
ems,
=C2=A0 =C2=A0which can remain stable for long periods of time (e.g., anyc=
ast
=C2=A0 =C2=A0within a well-managed and topologically-simple IGP, where no=
de
=C2=A0 =C2=A0selection changes only occur as a response to node failures)=
. =C2=A0Other
=C2=A0 =C2=A0deployments have far less predictable characteristics (see
=C2=A0 =C2=A0Section 4.4.7).

=C2=A0 =C2=A0The stability of the routing system, together with the trans=
action
=C2=A0 =C2=A0time of the service, should be carefully compared when decid=
ing
=C2=A0 =C2=A0whether a service is suitable for distribution using anycast=
. =C2=A0In
=C2=A0 =C2=A0some cases, for new protocols, it may be practical to split =
large
=C2=A0 =C2=A0transactions into an initialisation phase that is handled by=
 anycast
=C2=A0 =C2=A0servers, and a sustained phase that is provided by non-anyca=
st
=C2=A0 =C2=A0servers, perhaps chosen during the initialisation phase.

One thing we proposed in draft-wouters-edns-tcp-keepalive was:

=C2=A0 =C2=A0Changes in network topology between clients and anycast serv=
ers may
=C2=A0 =C2=A0cause disruption to TCP sessions making use of edns-tcp-keep=
alive
=C2=A0 =C2=A0more often than with TCP sessions that omit it, since the TC=
P
=C2=A0 =C2=A0sessions are expected to be longer-lived. =C2=A0Anycast serv=
ers MAY make
=C2=A0 =C2=A0use of TCP multipath =5BR=46C6824=5D to anchor the server si=
de of the TCP
=C2=A0 =C2=A0connection to an unambiguously-unicast address in order to a=
void
=C2=A0 =C2=A0disruption due to topology changes.

This was a bit of a throwaway comment and deserves greater thought, but i=
t's an example of how we could shoe-horn an initialisation phase into a l=
ong-lived (TCP) DNS transaction.


Joe



From nobody Thu Aug  7 09:42:54 2014
Return-Path: <johnh@isi.edu>
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 8A3DD1B2E56 for <dns-privacy@ietfa.amsl.com>; Thu,  7 Aug 2014 09:42:51 -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, RP_MATCHES_RCVD=-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 LlzM1fDlIQAA for <dns-privacy@ietfa.amsl.com>; Thu,  7 Aug 2014 09:42:49 -0700 (PDT)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D96201B2E48 for <dns-privacy@ietf.org>; Thu,  7 Aug 2014 09:42:49 -0700 (PDT)
Received: from dash.isi.edu (vir.isi.edu [128.9.160.91]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id s77Gg971018136; Thu, 7 Aug 2014 09:42:09 -0700 (PDT)
Received: from dash.isi.edu (localhost.isi.edu [127.0.0.1]) by dash.isi.edu (Postfix) with ESMTP id 8DC68E0203; Thu,  7 Aug 2014 09:42:09 -0700 (PDT)
From: John Heidemann <johnh@isi.edu>
To: Joe Abley <jabley@hopcount.ca>
In-reply-to: <etPan.53e3800f.2a487cb0.d8c2@walrus.hopcount.ca>
References: <20260.1405399590@dash.isi.edu> <2014080714265894699225@cnnic.cn> <etPan.53e3800f.2a487cb0.d8c2@walrus.hopcount.ca>
X-url: http://www.isi.edu/~johnh/
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Date: Thu, 07 Aug 2014 09:42:09 -0700
Message-ID: <7221.1407429729@dash.isi.edu>
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: johnh@isi.edu
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/A8aRbI4iWYL6YLmrGX4xk8ge5To
Cc: dns-privacy <dns-privacy@ietf.org>, Guangqing Deng <dengguangqing@cnnic.cn>
Subject: Re: [dns-privacy] updated tech report about DNS-over-TCP and DNS-over-TLS
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, 07 Aug 2014 16:42:51 -0000

On Thu, 07 Aug 2014 09:33:03 -0400, Joe Abley wrote:=20
>Hi Guangqing,
>
>On 7 August 2014 at 2:27:37, Guangqing Deng (dengguangqing@cnnic.cn) wrote:
>
>> So long the paper is and really excellent work it is. From this paper, i=
t seems that the=20=20
>> performance of TCP-based DNS is acceptable compared with UDP-based DNS. =
But DNS operators=20=20
>> may still worry the performance of anycast which is used in root and man=
y TLD domains if=20=20
>> UDP is widely replaced by TCP. Do you have any plans on measuring the pe=
rformance of anycast=20=20
>> in TCP scenario?
>
>The general concern with non-stateless exchanges between a unicast host an=
d an anycast host is that the routing system between the two may exhibit os=
cillations that cause different anycast hosts to receive different packets =
associated with the same transaction. This is more of a concern the longer =
the transaction, and the more turbulent the routing between the hosts conce=
rned. (In general, I have yet to see a significant problem with half-open c=
onnections on anycast DNS servers with short-held TCP sessions.)
>
>In RFC 4786 we said:
>
>=C2=A0 =C2=A0When a service is anycast between two or more nodes, the rout=
ing
>=C2=A0 =C2=A0system makes the node selection decision on behalf of a clien=
t.
>...
>=C2=A0 =C2=A0The stability of the routing system, together with the transa=
ction
>=C2=A0 =C2=A0time of the service, should be carefully compared when decidi=
ng
>=C2=A0 =C2=A0whether a service is suitable for distribution using anycast.=
 =C2=A0In
>=C2=A0 =C2=A0some cases, for new protocols, it may be practical to split l=
arge
>=C2=A0 =C2=A0transactions into an initialisation phase that is handled by =
anycast
>=C2=A0 =C2=A0servers, and a sustained phase that is provided by non-anycast
>=C2=A0 =C2=A0servers, perhaps chosen during the initialisation phase.
>
>One thing we proposed in draft-wouters-edns-tcp-keepalive was:
>
>=C2=A0 =C2=A0Changes in network topology between clients and anycast serve=
rs may
>=C2=A0 =C2=A0cause disruption to TCP sessions making use of edns-tcp-keepa=
live
>=C2=A0 =C2=A0more often than with TCP sessions that omit it, since the TCP
>=C2=A0 =C2=A0sessions are expected to be longer-lived. =C2=A0Anycast serve=
rs MAY make
>=C2=A0 =C2=A0use of TCP multipath [RFC6824] to anchor the server side of t=
he TCP
>=C2=A0 =C2=A0connection to an unambiguously-unicast address in order to av=
oid
>=C2=A0 =C2=A0disruption due to topology changes.
>
>This was a bit of a throwaway comment and deserves greater thought, but it=
's an example of how we could shoe-horn an initialisation phase into a long=
-lived (TCP) DNS transaction.


We talk about anycast in Appendix H.1 of the tech report, and observe
that anycast is used for HTTP CDNs like Edgecast (see cite [13]).
Patrick Gilmore suggested Cloudflare and Cachefly also do this.

Since HTTP connections are already long lived, I think this suggests
that potential T-DNS connections that last tens of seconds will not be
horrible.

The important thing to think about are the implications of an anycast
route change during a live connection.  With TLS the connection will be
torn down, since the new server will not have the same shared secret.
Clients already must recover TCP connections that are unexpectedly torn
down, so this is just another case that requires restart.

Will restart happen so often performance is impossibly bad?  I think 3
commercial HTTP CDNs would suggest not!  We have some data about anycast
and the roots (see Fan et al "Evaluating Anycast in the Domain Name
System", INFOCOM 2013)---I'll look if we can reanalyze that data to
characterize anycast stability.

It's also important that when DNS-over-TCP is having trouble because of
anycast route changes, DNS-over-UDP will also be less than happy.  See
Labovitz et al's "Delayed {Internet} Routing Convergence" (SIGCOMM 2000)
for loss rates during route change.  UDP will be MUCH more robust than
TCP because just one request and reply has to get through, but UDP too
will suffer.  Anycast route change is perhaps good time for a client to
try out that secondary nameserver :-)

   -John


From nobody Mon Aug 18 10:59:28 2014
Return-Path: <paul.hoffman@vpnc.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 C6F2C1A03DE for <dns-privacy@ietfa.amsl.com>; Mon, 18 Aug 2014 10:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UyAQKuczbjKh for <dns-privacy@ietfa.amsl.com>; Mon, 18 Aug 2014 10:59:25 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D0431A03D8 for <dns-privacy@ietf.org>; Mon, 18 Aug 2014 10:59:25 -0700 (PDT)
Received: from [10.20.30.90] (50-1-51-60.dsl.dynamic.fusionbroadband.com [50.1.51.60]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7IHxM1D009284 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <dns-privacy@ietf.org>; Mon, 18 Aug 2014 10:59:24 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-51-60.dsl.dynamic.fusionbroadband.com [50.1.51.60] claimed to be [10.20.30.90]
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 18 Aug 2014 10:59:22 -0700
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com>
To: dns-privacy@ietf.org
Message-Id: <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/7XB3tqYVL4NE472s0Fab_1exrmo
Subject: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Mon, 18 Aug 2014 17:59:27 -0000

Greetings. I created a new proposal on a simple way to do DNS over TLS =
between stubs and resolvers. Comments are appreciated.

--Paul Hoffman

> A new version of I-D, draft-hoffman-dns-tls-stub-00.txt
> has been successfully submitted by Paul Hoffman and posted to the
> IETF repository.
>=20
> Name:		draft-hoffman-dns-tls-stub
> Revision:	00
> Title:		Using TLS for Privacy Between DNS Stub and =
Recursive Resolvers
> Document date:	2014-08-18
> Group:		Individual Submission
> Pages:		6
> URL:            =
http://www.ietf.org/internet-drafts/draft-hoffman-dns-tls-stub-00.txt
> Status:         =
https://datatracker.ietf.org/doc/draft-hoffman-dns-tls-stub/
> Htmlized:       =
http://tools.ietf.org/html/draft-hoffman-dns-tls-stub-00
>=20
>=20
> Abstract:
>   DNS queries and responses can contain information that reveals
>   important information about the person who caused the queries, and =
it
>   would be better if eavesdroppers were unable to see DNS traffic.
>   This document describes how to use TLS for encrypting DNS traffic
>   between a system acting as a DNS stub resolver and a system acting =
as
>   a DNS recursive resolver.



From nobody Tue Aug 19 06:56:26 2014
Return-Path: <hosnieh.rafiee@huawei.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 D29431A0307 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 06:56:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 Qvrk0DtyiLZX for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 06:56:23 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5344A1A02F4 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 06:56:23 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIK27678; Tue, 19 Aug 2014 13:56:18 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Tue, 19 Aug 2014 14:56:12 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Thread-Topic: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: AQHPuw4ue5GuYwS/s0GqcZRwuwxj9ZvX61gQ
Date: Tue, 19 Aug 2014 13:56:11 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org>
In-Reply-To: <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/JkWDctxFDalQVm_kYo-OW_DB36Q
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 13:56:25 -0000

Hi Paul,

> Greetings. I created a new proposal on a simple way to do DNS over TLS
> between stubs and resolvers. Comments are appreciated.
>=20

I read your draft and have some questions as followings:

Section 2. "If the recursive resolver
   responds on port 443, both the client and the server MUST use the
   ALPN [RFC7301] extension to TLS, and MUST use "dns" as the
   identification sequence in ALPN."

Still the nodes are in processing the hello client exchange and the encrypt=
ion was not happened. As you explained in your draft, opportunistic securit=
y is in use. In other words, the server might not have certificate that is =
signed by a CA.  In this case how the client or server react when an attack=
er intercept this communication and change "dns" to something else? =20
IMHO, there is a missing explanation of the case where this ALPN changes.
You explained in "security consideration" section that ALPN is only for app=
lications to identify this protocol and normally by port numbers this proto=
col would be verified but I guess you have used one of popular port for TLS=
. Now the question is that if an attacker has an opportunity to change this=
 ALPN, what will happen?
How your client or server detects that this supposed to be used as resolver=
 authentication?


I think there is something important missing in your draft. For resolver's =
scenario IMHO, there is two important cases that the first one has a priori=
ry over the second one (this is of course my opinion and might not be the s=
ame as others)
1- authentication

2- encryption=20

I think authentication for a resolver is essential and more important than =
encryption. Because if this authentication cannot be happened then the whol=
e next security steps will fail.=20
if you cannot always authenticate a resolver because it does not always car=
ry a valid certificate, the data receives from this resolver is not trusted=
 so IMHO, opportunistic security is not helpful otherwise you have a method=
 to verify your resolver. =20
I agree that opportunistic security would be helpful in some scenarios such=
 as sending an email to somewhere. Because sending plain text data allow th=
e exposal of the content of email. But IMHO, in scenarios where authenticat=
ion has priority than encryption, opportunistic security is similar to not =
having any security. In other words, exposal of domain names are not as imp=
ortant as verification of the resolver.

IMHO, opportunistic security is useful for cases where once the attacker mi=
ght have an opportunity to retreive data from a user (it only impact on onc=
e communcation) But it is not helpful when it might impact the whole next c=
ommunications. This is true for resolver because all the next communication=
 will be influenced by this first riski step.

Sorry for my long email,
Best,
Hosnieh





=20


From nobody Tue Aug 19 07:41:13 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 93E641A8916 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 07:41:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 9DGaH5r_GNXs for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 07:41:04 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9E321A8913 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 07:41:04 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 1AA94813B2; Tue, 19 Aug 2014 10:41:03 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408459263; bh=tB5zMyNx+riewKz6sLvWvXJZH8tkXd/cVGJHC/dj9oQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=cv/6AkxlcUPiVdnWHrJ8kr8Xbs3MgSZNk7q33mHeFbmDWbdGF9txW5xujOfw9xON/ P+8tYf+CC+erwvjxvB8j6lE32wGBMKrVV2dbFlt3hdTSD9tKjNvzyZMmiqW6IWp+Gf +5GWkU70ba/aHg4d5vZCA7TIiFImE4CoEE7gBjbA=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7JEf1BA020511; Tue, 19 Aug 2014 10:41:02 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 19 Aug 2014 10:41:00 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com>
Message-ID: <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.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/wAInSuNZFrkds7ybH5tNARgBSx0
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 14:41:11 -0000

On Tue, 19 Aug 2014, Hosnieh Rafiee wrote:

> Still the nodes are in processing the hello client exchange and the encryption was not happened. As you explained in your draft, opportunistic security is in use. In other words, the server might not have certificate that is signed by a CA.  In this case how the client or server react when an attacker intercept this communication and change "dns" to something else?

encryption might happen without authentication.

> Now the question is that if an attacker has an opportunity to change this ALPN, what will happen?

encryption without authentication is not enough to defend against active
attacks. If possible, use authenticated encryption.

Note that DNSSEC provides authenticity of DNS data. So the only part of
authentication that you gain is about privacy (encryption) of data, not
about data integrity.

> I think there is something important missing in your draft. For resolver's scenario IMHO, there is two important cases that the first one has a prioriry over the second one (this is of course my opinion and might not be the same as others)
> 1- authentication
>
> 2- encryption

If I'm at starbucks, I care more about encrypting the last mile then
authenticating the random starbucks location. And even if I
authenticated the starbucks, they will just use an ISP DNS server
that sees all the queries, so that local authentication does not
really help you much anyway.

> I think authentication for a resolver is essential and more important than encryption.

DNSSEC allows us to ask DNS data from random attackers, as we will be
able to verify the authenticity of data. I do not need to authenticate
the resolver for that.

So this is all about encryption. We might want to authenticate with the
network to encrypt with the good guy and not the bad guy. But if you're
in a random untrusted network, you are going with an unknown guy anyway,
so authentication matters much less.

Of course, if you can just level the network and setup a secure
authenticated and encrypted DNS layer up to a trusted party, like
your own DNS server via VPN, google dns or opendns via this draft's
method plus an out-of-band public key for authentication, all the
better. But these are two very distinct cases.

> But IMHO, in scenarios where authentication has priority than encryption, opportunistic security is similar to not having any security. In other words, exposal of domain names are not as important as verification of the resolver.

This draft says nothing about authenticity of DNS data. For that, there
is DNSSEC.

Paul


From nobody Tue Aug 19 07:54:44 2014
Return-Path: <paul.hoffman@vpnc.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 AB5191A891F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 07:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6S3aE9HZfO8p for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 07:54:39 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3069D1A891A for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 07:54:39 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7JEn1bT058102 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 Aug 2014 07:50:05 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com>
Date: Tue, 19 Aug 2014 07:48:48 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <48AF1BC2-4C04-4BE4-B96A-FA3994B57517@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/Lee7PdqGXZqqswVgnLxPmn46rq8
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 14:54:41 -0000

On Aug 19, 2014, at 6:56 AM, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> =
wrote:

> Hi Paul,
>=20
>> Greetings. I created a new proposal on a simple way to do DNS over =
TLS
>> between stubs and resolvers. Comments are appreciated.
>>=20
>=20
> I read your draft and have some questions as followings:
>=20
> Section 2. "If the recursive resolver
>   responds on port 443, both the client and the server MUST use the
>   ALPN [RFC7301] extension to TLS, and MUST use "dns" as the
>   identification sequence in ALPN."
>=20
> Still the nodes are in processing the hello client exchange and the =
encryption was not happened. As you explained in your draft, =
opportunistic security is in use. In other words, the server might not =
have certificate that is signed by a CA.  In this case how the client or =
server react when an attacker intercept this communication and change =
"dns" to something else? =20

I'm not sure how to interpret your question. If there is an MITM who =
wants to watch the DNS traffic, why would they change the ALPN name to =
prevent DNS from passing?

> IMHO, there is a missing explanation of the case where this ALPN =
changes.

I can add that if I understood what it might change to.

> You explained in "security consideration" section that ALPN is only =
for applications to identify this protocol and normally by port numbers =
this protocol would be verified

????? The security considerations say nothing about ALPN.

> but I guess you have used one of popular port for TLS. Now the =
question is that if an attacker has an opportunity to change this ALPN, =
what will happen?
> How your client or server detects that this supposed to be used as =
resolver authentication?

If both sides are not using ALPN of "dns", then communication doesn't =
happen. Is that not clear from RFC 7301?

> I think there is something important missing in your draft. For =
resolver's scenario IMHO, there is two important cases that the first =
one has a prioriry over the second one (this is of course my opinion and =
might not be the same as others)
> 1- authentication
>=20
> 2- encryption=20
>=20
> I think authentication for a resolver is essential and more important =
than encryption. Because if this authentication cannot be happened then =
the whole next security steps will fail.=20

Great! Use the policy knob explicitly listed in section 2.1.

> if you cannot always authenticate a resolver because it does not =
always carry a valid certificate, the data receives from this resolver =
is not trusted so IMHO, opportunistic security is not helpful otherwise =
you have a method to verify your resolver. =20
> I agree that opportunistic security would be helpful in some scenarios =
such as sending an email to somewhere. Because sending plain text data =
allow the exposal of the content of email. But IMHO, in scenarios where =
authentication has priority than encryption, opportunistic security is =
similar to not having any security. In other words, exposal of domain =
names are not as important as verification of the resolver.
>=20
> IMHO, opportunistic security is useful for cases where once the =
attacker might have an opportunity to retreive data from a user (it only =
impact on once communcation) But it is not helpful when it might impact =
the whole next communications. This is true for resolver because all the =
next communication will be influenced by this first riski step.
>=20
> Sorry for my long email,

It is not the length that bothers me: it is the attitude of "because I =
have this policy for my own traffic, the rest of you cannot have better =
privacy because I don't want the protocol to allow it".

--Paul Hoffman=


From nobody Tue Aug 19 08:10:01 2014
Return-Path: <hosnieh.rafiee@huawei.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 F41C41A03DB for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 08:09:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 QXHmLkdsFuUO for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 08:09:57 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 192541A03A8 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 08:09:56 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIK34139; Tue, 19 Aug 2014 15:09:55 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Tue, 19 Aug 2014 16:09:52 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Paul Wouters <paul@nohats.ca>
Thread-Topic: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: AQHPuw4ue5GuYwS/s0GqcZRwuwxj9ZvX61gQgAAE+ACAABMRYA==
Date: Tue, 19 Aug 2014 15:09:51 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca>
In-Reply-To: <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/YqaSSZI9yWM4rQSOVH-0ux7A6TM
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 15:09:59 -0000

>=20
> > Still the nodes are in processing the hello client exchange and the
> encryption was not happened. As you explained in your draft,
> opportunistic security is in use. In other words, the server might not
> have certificate that is signed by a CA.  In this case how the client
> or server react when an attacker intercept this communication and
> change "dns" to something else?
>=20
> encryption might happen without authentication.

But this fails... Because of the reason that I explained in my last message=
...Because your connection can be directly to the attacker's resolver and t=
hen you redirected to his own places or all the other communication would b=
e through that attacker. So , the question is now does it matter that wheth=
er you encrypt this communication since you already have a MITM in your com=
munication? Is it really important now?
IMHO , NO...
This is why I said it is different than sending an email because if your em=
ail goes through third parties only that third party have access to that ce=
rtain message but not all the data exchanged after that with that certain s=
erver. The likelihood is not high. But when we are talking about a resolver=
, all your next communication will be influenced by this attacker because w=
hatever place you go, it doesn't matter that you encrypt this data but it i=
s through this attacker.

=20
> > Now the question is that if an attacker has an opportunity to change
> this ALPN, what will happen?
>=20
> encryption without authentication is not enough to defend against
> active attacks. If possible, use authenticated encryption.
>=20
> Note that DNSSEC provides authenticity of DNS data. So the only part of
> authentication that you gain is about privacy (encryption) of data, not
> about data integrity.

Data integrity is different than authentication. I am not talking about dat=
a integrity. If you can verify the data integrity of a node, it doesn't mea=
n that it is authenticated. DNSSEC, at the moment is unable at the moment t=
o protect his last mile and your draft is supposed to provide this protecti=
on but at the moment it does not.

> > I think there is something important missing in your draft. For
> > resolver's scenario IMHO, there is two important cases that the first
> > one has a prioriry over the second one (this is of course my opinion
> > and might not be the same as others)
> > 1- authentication
> >
> > 2- encryption
>=20
> If I'm at starbucks, I care more about encrypting the last mile then
> authenticating the random starbucks location. And even if I
> authenticated the starbucks, they will just use an ISP DNS server that
> sees all the queries, so that local authentication does not really help
> you much anyway.

Doesn't make sense... Your data is now all go through attacker, it doesn't =
matter for you? Then what privacy is supposed to be provided to the user?

> > I think authentication for a resolver is essential and more important
> than encryption.
>=20
> DNSSEC allows us to ask DNS data from random attackers, as we will be
> able to verify the authenticity of data. I do not need to authenticate
> the resolver for that.

This is wrong. Then why do you bother yourself to encrypt the resolver. Whe=
n you do not authenticate your resolver, what is important that some people=
 do not see what you are browsing?=20

I disagree with you and I think authentication and encryption together make=
 sense. Even authentication alone is securer than encryption alone.=20

> So this is all about encryption. We might want to authenticate with the
> network to encrypt with the good guy and not the bad guy. But if you're
> in a random untrusted network, you are going with an unknown guy anyway,
> so authentication matters much less.

The question is what you are encrypting? Some domain names? Are they as imp=
ortant as you really need to do so?=20
It is not the question of untrusted network, it is about pervasive monitori=
ng. The good guy can be a network administrator or a government?!! who also=
 interested to receive information passed through this network. He can easi=
ly play MITM attack since you trust this resolver in any case.=20

When you cannot authenticate a node, any node in even a good network can pl=
ay this MITM attack. One example, you want to hide what you are browsing fr=
om your colleague... well, that is easy, your colleague will introduce his =
computer as a resolver and play MITM attack. Then who are you hiding the do=
main name or whatever stored in DNS resolver from?



> Of course, if you can just level the network and setup a secure
> authenticated and encrypted DNS layer up to a trusted party, like your
> own DNS server via VPN, google dns or opendns via this draft's method
> plus an out-of-band public key for authentication, all the better. But
> these are two very distinct cases.

This is quite different. IMHO both authentication and encryption are the re=
quirements for resolver privacy.=20

=20
> > But IMHO, in scenarios where authentication has priority than
> encryption, opportunistic security is similar to not having any
> security. In other words, exposal of domain names are not as important
> as verification of the resolver.
>=20
> This draft says nothing about authenticity of DNS data. For that, there
> is DNSSEC.
>=20

DNSSEC cannot do anything when your node doesn't know who is it connecting =
to... when you cannot verify the source of your message, data authenticity =
and encryption is not really useful. In any case, DNSSEC cannot help you in=
 this scenario.

Best,
Hosnieh


From nobody Tue Aug 19 08:28:37 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 209E61A0451 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 08:28:35 -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 5Nu_tBzQ7B6T for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 08:28:33 -0700 (PDT)
Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8CF9A1A03F9 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 08:28:33 -0700 (PDT)
Received: by mail-ig0-f177.google.com with SMTP id hn18so9771031igb.10 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 08:28:32 -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=qDJfws0lCKv2w6TZ8zQhX6Qxc5OrX2k1CJp7iNF5wEc=; b=Kh6tyXzFbXTSggDkUBQ6ljkiHJRdETgqSDjHRRie63+JUHn42iEQSNf35FjM1hC2qu pJ0EWcxner0YLWRE6QKSCU2peZjV20P1Z7ZFNwHHYken2UMfWJEPgWBQgAcTRNEhcSW/ y9q9HmJ4qWqYuiRJHtub1PE58dM1023fRbp80=
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=qDJfws0lCKv2w6TZ8zQhX6Qxc5OrX2k1CJp7iNF5wEc=; b=LTzNKqIqxhHgfvEG5BKaF8+1MXqUu94Be25d6LyRP/h3h/yJ49GTKmVOKiD+5SShMD a4rrImonpITtrI2cZGYHGJWmQN2KPZBfUkEv3AZDlsVBJKkBi7TKhhD9jiJoLOFLaIPq Tl0pSE0WJqOgPk5vcXmtQJaZS8o0MPlXsN5XcjMJA2eoKb+HoXLWX5tIjsVlvrjQYsEl RUUg29CN7OJ4ATLFwNRCoSgv2/mBoBmC2P9FkK2BviVAhqmiaIB/pI9yX/gQ+eo7rC8f ntL2MTyqv+kEMqypF/LltV5xRLHRT7JrMsb+g3rfOQcarTFDsiSnJ58uQYrPlcUNYn9x 9s7Q==
X-Gm-Message-State: ALoCoQnRT1Q6MfQ1yZvP1gl01GNaZ9Iug+q5W4Tv14pbRXalC7AZ6IRlWi9zGu3aSGPxgD42B09h
X-Received: by 10.43.107.133 with SMTP id dy5mr38498376icc.14.1408462112799; Tue, 19 Aug 2014 08:28:32 -0700 (PDT)
Received: from dhcp66.calod3a.shl.io (dhcp66.calod3a.shl.io. [199.212.92.66]) by mx.google.com with ESMTPSA id ki9sm57772760igb.3.2014.08.19.08.28.31 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 08:28:32 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca>
Date: Tue, 19 Aug 2014 11:28:30 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <374743B6-9F95-4AF3-9851-1E3C7BB7A85E@hopcount.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca>
To: Paul Wouters <paul@nohats.ca>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/d6fRs4B6sqesA7SYPwSpEQWFyDY
Cc: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 15:28:35 -0000

On 19 Aug 2014, at 10:41, Paul Wouters <paul@nohats.ca> wrote:

> Note that DNSSEC provides authenticity of DNS data. So the only part =
of
> authentication that you gain is about privacy (encryption) of data, =
not
> about data integrity.

Just a small word of caution, here: the gap between DNSSEC does and =
DNSSEC can is deployment, and deployment to date has been modest.

[With a handful of glorious exceptions, TLDs that have made DNSSEC =
available to date have struggled to get more than a handful of =
registrants to do anything with it. With a similarly-glorious handful of =
exceptions, registrars who have the ability to ship DS/DNSKEY data =
upstream for their customers have declined to let their customers do so. =
Most resolvers don't have a trust anchor robustly installed, or are not =
configured for or cable of validation in any case. Things are getting =
better; this is intended to be realism, not pessimism.]

When we say "we don't have to worry about X because DNSSEC" we are in =
some sense making our proposals operationally dependent on widespread =
DNSSEC deployment.

Perhaps this is not always a bad idea, since DNSSEC needs more reasons =
for people to deploy it; on the other hand, in some cases perhaps it =
*is* a bad idea, since gating deployment of your own protocol on =
something that is struggling seems like a losing proposition unless =
you're quietly placing side bets the other way and intend to throw the =
race.

It's possible to detach DNSSEC deployment from privacy. We think we are =
doing that in dns-onion. (Granted, that proposal does not even attempt =
to address privacy between stub and resolver.)

Just a thought.


Joe=


From nobody Tue Aug 19 09:11:17 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 445751A05E5 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 09:11:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 NJ9ENJ3J8wKI for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 09:11:06 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4D6B1A0535 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 09:11:06 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 616C6813B2; Tue, 19 Aug 2014 12:11:05 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408464665; bh=zajloPOeLTizYjUysbCbr3dV0xKYntqUGihVR5+3Kbg=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=ZPhdGK+4MPcV4y5TQmKHByjIq0l4sYFSt8oCKKHuF2KvNsAP1ZuqGKWkuyvGP7zCE hX48/BwnvW4sz4TlLr74VYjCETMPEpRZhofGfeqdYeGxcpfQWdkIlqKoAlra3ZWM2+ 7uhQHDgDExoEzmRut77JucJf9BMxHzGOw0gX+TqI=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7JGB5AY007213; Tue, 19 Aug 2014 12:11:05 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 19 Aug 2014 12:11:04 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com>
Message-ID: <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.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/zWg-pODawFtc7I_b2VMBGATxvxw
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 16:11:14 -0000

On Tue, 19 Aug 2014, Hosnieh Rafiee wrote:

> Data integrity is different than authentication. I am not talking about data integrity. If you can verify the data integrity of a node, it doesn't mean that it is authenticated. DNSSEC, at the moment is unable at the moment to protect his last mile and your draft is supposed to provide this protection but at the moment it does not.

That's not how I read the draft. The last mile protection needed is
privacy, not integrity. I believe every node on the planet needs to
validate or have a trusted path to a validator. But that's all unrelated
to this draft. This drafts is about encrypting (and maybe possible
authenticating) the last mile. Protection against passive attackers,
(and maybe protection against active attackers)

>>> 2- encryption
>>
>> If I'm at starbucks, I care more about encrypting the last mile then
>> authenticating the random starbucks location. And even if I
>> authenticated the starbucks, they will just use an ISP DNS server that
>> sees all the queries, so that local authentication does not really help
>> you much anyway.
>
> Doesn't make sense... Your data is now all go through attacker, it doesn't matter for you? Then what privacy is supposed to be provided to the user?

Most attackers at the starbucks can only monitor what I send and receive,
and do not actively send attacking packets to me.

>> DNSSEC allows us to ask DNS data from random attackers, as we will be
>> able to verify the authenticity of data. I do not need to authenticate
>> the resolver for that.
>
> This is wrong. Then why do you bother yourself to encrypt the resolver.

To prevent wifi monitors from reading my DNS queries and answers.

> When you do not authenticate your resolver, what is important that some people do not see what you are browsing?

That's my call to make, not yours.

> I disagree with you and I think authentication and encryption together make sense. Even authentication alone is securer than encryption alone.

I have authentication of data via DNSSEC already. And I did not say it
makes no sense to authenticate the local resolver. If you can, great and
do it (and the draft says do it via some out-of-band method). But how on
earth am I going to authenticate joe random coffeeshop from joe random
attacker???

>> So this is all about encryption. We might want to authenticate with the
>> network to encrypt with the good guy and not the bad guy. But if you're
>> in a random untrusted network, you are going with an unknown guy anyway,
>> so authentication matters much less.
>
> The question is what you are encrypting? Some domain names? Are they as important as you really need to do so?

Again, that is my call to make, not yours. There is a difference between
the network owner/manager and the dozens of guests on the network. I
trust one more than the other.

> It is not the question of untrusted network, it is about pervasive monitoring. The good guy can be a network administrator or a government?!! who also interested to receive information passed through this network. He can easily play MITM attack since you trust this resolver in any case.

And so can they when you authenticate the starbucks wifi, who then does
a backhaul to their DSL provider's DNS server. So I fail to see what
authentication of the local DNS server with authenticated encryption
on the local wifi, helps me from nation state monitoring? That's not
really what this draft is trying to do. If you need that, you need the
tor network for DNS as a starting point....

> When you cannot authenticate a node, any node in even a good network can play this MITM attack. One example, you want to hide what you are browsing from your colleague... well, that is easy, your colleague will introduce his computer as a resolver and play MITM attack. Then who are you hiding the domain name or whatever stored in DNS resolver from?

Yes, you made this point a few times now. And I answered with explaining
passive versus active attacks.

> IMHO both authentication and encryption are the requirements for resolver privacy.

As I explained, authentication of joe random resolver is pretty
pointless. I'm at the mercy of the DHCP server, for which there is
no authentication whatsoever anyway.

> DNSSEC cannot do anything when your node doesn't know who is it connecting to... when you cannot verify the source of your message, data authenticity and encryption is not really useful. In any case, DNSSEC cannot help you in this scenario.

DNSSEC allows me to use unknown or untrusted resolvers. While I am not
sure of my privacy, I'm pretty sure about my data integrity.

Paul


From nobody Tue Aug 19 09:55:20 2014
Return-Path: <hosnieh.rafiee@huawei.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 E52621A04F1 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 09:55:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 Ob_LhtTnOHYc for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 09:55:16 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C34901A0475 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 09:55:15 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BLL11783; Tue, 19 Aug 2014 16:55:14 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Tue, 19 Aug 2014 17:55:12 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Paul Wouters <paul@nohats.ca>
Thread-Topic: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: AQHPuw4ue5GuYwS/s0GqcZRwuwxj9ZvX61gQgAAE+ACAABMRYIAABhkAgAARWSA=
Date: Tue, 19 Aug 2014 16:55:11 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca>
In-Reply-To: <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/vDMYF9Av0KrJo293ohu3FUXHG6s
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 16:55:19 -0000

Paul,

>=20
> > Data integrity is different than authentication. I am not talking
> about data integrity. If you can verify the data integrity of a node,
> it doesn't mean that it is authenticated. DNSSEC, at the moment is
> unable at the moment to protect his last mile and your draft is
> supposed to provide this protection but at the moment it does not.
>=20
> That's not how I read the draft. The last mile protection needed is
> privacy, not integrity. I believe every node on the planet needs to
> validate or have a trusted path to a validator. But that's all
> unrelated to this draft. This drafts is about encrypting (and maybe
> possible
> authenticating) the last mile. Protection against passive attackers,
> (and maybe protection against active attackers)

Well... I guess you are answering yourself .. I did not have any discussion=
 about data integrity and also the second paragraph is all what I tried to =
tell you ... So I only answered your comment and explained that I did not t=
alk about data integrity.  So not sure what is the problem here!?? :-/


> >>> 2- encryption
> >>
> >> If I'm at starbucks, I care more about encrypting the last mile then
> >> authenticating the random starbucks location. And even if I
> >> authenticated the starbucks, they will just use an ISP DNS server
> >> that sees all the queries, so that local authentication does not
> >> really help you much anyway.
> >
> > Doesn't make sense... Your data is now all go through attacker, it
> doesn't matter for you? Then what privacy is supposed to be provided to
> the user?
>=20
> Most attackers at the starbucks can only monitor what I send and
> receive, and do not actively send attacking packets to me.

I guess we are not on a same page... are we discussing about resolver priva=
cy or the web application or email privacy?

Can you please explain to me what you expect to encrypt in resolver privacy=
 scenario?=20
I thought the encryption is only some domain names, IP address or the label=
s available on DNS server. The things that DNS server send it back to the n=
ode.

What you are talking here seems to be about web application privacy because=
 if the first point doesn't fail (use opportunistic or whatever other appro=
aches) then you are right that the attacker doesn't have the possibility to=
 play MITM attack.=20

But when you are talking about the resolver, you receive the IP address of =
one of attacker's server from this bad guy or good guy that can be inside y=
our own network.=20

For example,
You want to connect to google.com. your computer sends a request to resolve=
r x with IP address 192.168.1.1. You will exchange the key information with=
 this resolver. The good or bad guy called eve intercepts this communicatio=
n and sends its own key and spoof the legitimate resolver IP address. Your =
poor node doesn't have any possibility to authenticate this resolver. So, y=
our computer accepts eve's computer as the resolver and accepts any IP addr=
ess eve gives to your computer. So, eve gives the IP address of one of her =
servers instead of google server. So, your computer sends all packets to th=
is computer instead of sending it to the real google server and this comput=
er forward it to real google server. So eve in this scenario only eavesdrop=
s all the communications. Even though google server uses a valid certificat=
e. But eve computer established this secure connection to google server. So=
 your computer established a fake secure connection to google webserver whi=
le eve is in between and receives all the packet, decrypt it and then again=
 send it to google server.

Your computer can never understand this problem since it has no possibility=
 to authenticate this resolver.=20

Did you solve privacy? Eve or who ever in between listened to all traffic. =
If you are using your home network and there is no other person who might b=
e interested in your query send to this resolver, then why do you encrypt?
If there is a likelihood of having eavesdropper in the network, that eavesd=
ropper can directly answer your query and claim to be a resolver so again w=
hy do you encrypt?
  =20
So what I think is that encryption and authentication both are necessary co=
mponents for resolver DNS privacy. =20

> >> DNSSEC allows us to ask DNS data from random attackers, as we will
> be
> >> able to verify the authenticity of data. I do not need to
> >> authenticate the resolver for that.
> >
> > This is wrong. Then why do you bother yourself to encrypt the
> resolver.
>=20
> To prevent wifi monitors from reading my DNS queries and answers.

But that person in wifi can also claim to be a resolver and directly receiv=
e your information. Like my example with eve. So I do not see any privacy p=
rotection.=20

> > When you do not authenticate your resolver, what is important that
> some people do not see what you are browsing?
>=20
> That's my call to make, not yours.
>=20
> > I disagree with you and I think authentication and encryption
> together make sense. Even authentication alone is securer than
> encryption alone.
>=20
> I have authentication of data via DNSSEC already. And I did not say it
> makes no sense to authenticate the local resolver. If you can, great
> and do it (and the draft says do it via some out-of-band method). But
> how on earth am I going to authenticate joe random coffeeshop from joe
> random attacker???

Nope, Joel already responded you. DNSSEC cannot protect you in this case. I=
f it could, they could also use it now and there was no need for any other =
proposals.

> >> So this is all about encryption. We might want to authenticate with
> >> the network to encrypt with the good guy and not the bad guy. But if
> >> you're in a random untrusted network, you are going with an unknown
> >> guy anyway, so authentication matters much less.
> >
> > The question is what you are encrypting? Some domain names? Are they
> as important as you really need to do so?
>=20
> Again, that is my call to make, not yours. There is a difference
> between the network owner/manager and the dozens of guests on the
> network. I trust one more than the other.

The important thing is whatever is in your query is not protected only by e=
ncryption because whoever you afraid to retrieve these data can introduced =
itself as a resolver and directly receive the data that you are afraid to e=
xpose it.

> > It is not the question of untrusted network, it is about pervasive
> monitoring. The good guy can be a network administrator or a
> government?!! who also interested to receive information passed through
> this network. He can easily play MITM attack since you trust this
> resolver in any case.
>=20
> And so can they when you authenticate the starbucks wifi, who then does
> a backhaul to their DSL provider's DNS server. So I fail to see what
> authentication of the local DNS server with authenticated encryption on
> the local wifi, helps me from nation state monitoring? That's not
> really what this draft is trying to do. If you need that, you need the
> tor network for DNS as a starting point....


Please see above.. this avoid repeating the same sentence.
Do not misinterpret what I said. I said both Encryption and Authentication =
is necessary and only encryption does not help because of the reasons I rep=
eated in this message and last messages.

> > When you cannot authenticate a node, any node in even a good network
> can play this MITM attack. One example, you want to hide what you are
> browsing from your colleague... well, that is easy, your colleague will
> introduce his computer as a resolver and play MITM attack. Then who are
> you hiding the domain name or whatever stored in DNS resolver from?
>=20
> Yes, you made this point a few times now. And I answered with
> explaining passive versus active attacks.

This is again my opinion. There is no passive attacks on resolvers. Your no=
de once get some information and then if this information is wrong you are =
in trouble because you are connected via MITM.=20
So the attacks is only once during when the time your node itself ask for a=
 query. After that, everything is finished. And your node uses different ap=
proaches to connect for instance to a website or to a server.=20
It appears that you think the resolver is last point of connection. The res=
olver is only the point which provide you information. It can be wrong or r=
ight. If it is right then the whole connection would be secure because you =
received the IP address of a correct server. Then the passive attack is for=
 that part which is not related to resolver.=20
The attacker might try to eavesdrop the data exchanged between you and a we=
bsite. If the website is secure and you obtained the Ip address of this web=
site securely from this resolver then the passive attack is protected as we=
ll but if there was MITM , you already have a MITM and encrypted connection=
 to that website doesn't make sense otherwise that website uses a CA. Then =
your browser might give you a message that it cannot detect this IP certifi=
cate (because it is for attacker node).=20
So this part is out of scope of resolver privacy scenario.

If this is not correct, please explain to me a passive attack scenario for =
resolver.

So again, I think passive attacks in resolver scenario tightly coupled to t=
he first active attack and then whether the website or server that you obta=
ined this IP address from, supports a valid CA.



> > IMHO both authentication and encryption are the requirements for
> resolver privacy.
>=20
> As I explained, authentication of joe random resolver is pretty
> pointless. I'm at the mercy of the DHCP server, for which there is no
> authentication whatsoever anyway.

And any attack is possible.. this is why there is some new approaches like =
SAVI to protect DHCP

=20
> > DNSSEC cannot do anything when your node doesn't know who is it
> connecting to... when you cannot verify the source of your message,
> data authenticity and encryption is not really useful. In any case,
> DNSSEC cannot help you in this scenario.
>=20
> DNSSEC allows me to use unknown or untrusted resolvers. While I am not
> sure of my privacy, I'm pretty sure about my data integrity.

Ok then I am an attacker, since you cannot authenticate me, I sign the data=
 myself. This has data integrity. But it is the modified data and not what =
you expected to receive...

Hosnieh


From nobody Tue Aug 19 11:01:16 2014
Return-Path: <cas@strotmann.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 0A1DC1A068F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 10:43:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.209
X-Spam-Level: 
X-Spam-Status: No, score=0.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311] 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 E7ShMPmmg2Ha for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 10:43:24 -0700 (PDT)
Received: from csgate3.strotmann.de (cstrotm-1-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:f1d::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DA431A0682 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 10:42:57 -0700 (PDT)
Received: from mailout.strotmann.de (b9168e27.cgn.dg-w.de [185.22.142.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by csgate3.strotmann.de (Postfix) with ESMTPSA id 156C250ED; Tue, 19 Aug 2014 19:42:51 +0200 (CEST)
Received: by mailout.strotmann.de (Postfix, from userid 1001) id 11908B4D7; Tue, 19 Aug 2014 19:42:54 +0200 (CEST)
From: Carsten Strotmann <cas@strotmann.de>
To: "Hosnieh Rafiee" <hosnieh.rafiee@huawei.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com>
User-agent: mu4e 0.9.9.5; emacs 24.3.1
In-reply-to: <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com>
Date: Tue, 19 Aug 2014 19:42:54 +0200
Message-ID: <86mwb0e5pd.fsf@strotmann.de>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/kBIFaIpql1jkQZ8hgXDmkGX7IdI
X-Mailman-Approved-At: Tue, 19 Aug 2014 11:01:15 -0700
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 17:43:29 -0000

Hello Hosnieh,

Hosnieh Rafiee writes:

>
> Ok then I am an attacker, since you cannot authenticate me, I sign the
> data myself. This has data integrity. But it is the modified data and
> not what you expected to receive...

How can you sign DNSSEC data without being in the posession of the
private signing key(s) all the way to the root?

DNSSEC adds data integrity, and with one or more trust-anchors in the
resolver the client is able to validate the data, no matter which way
the data took.

The benefit of this proposal is to add encrption, so that not everyone
on the same network (wireless etc) can monitor the traffic.

Sure, the operator of the un-authenticated DNS resolver can monitor, but
now everyone could possibly monitor. With encryption, only the operator
could. Not optimal, but better.

And yes, some people care to keep their DNS queries private.

-- 
Carsten Strotmann
Email: cas@strotmann.de
Blog: strotmann.de


From nobody Tue Aug 19 11:12:25 2014
Return-Path: <jinmei.tatuya@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 14B991A065F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:12:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level: 
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, 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 4hnIzyRuOoBG for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:12:23 -0700 (PDT)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC85D1A0646 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 11:12:22 -0700 (PDT)
Received: by mail-we0-f177.google.com with SMTP id w62so6845664wes.36 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 11:12:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KJoggM8MECFkJRLq3pOf3UnVIZuagHUOozH5T1pJFi0=; b=mtFzb5RcdE8AdUBYuMJFNzGSJN5y43QX7N2jNDap5kbOjx04fJi2l6FzgGbW4R2WaR C0eruDme5AVLUgeY+srN1FxBeG3d95gibvIiMcrYEE/UyogeWsyJSU48HCWa9/wSxjYh jNQiYT07hmvTHk7iNlX7UXIP2g258RNAxampiNFhF19hsG9B21TX2UtZp4IqxK+y2XwB SzGx5dOYQdKNuMkIv4xpN4GQTMUyUi2+V9FgVdjNi2VJiFn4wvRflD+bbkhoSrXxD++H tXU/QuoCCLi8q2mlyBswZvhtkXL2NzA/DGJxfKrnUrdkdjs3Ji65NEMJiJyRXl2tbaeV +yQQ==
MIME-Version: 1.0
X-Received: by 10.194.20.230 with SMTP id q6mr53299299wje.43.1408471941576; Tue, 19 Aug 2014 11:12:21 -0700 (PDT)
Sender: jinmei.tatuya@gmail.com
Received: by 10.194.123.164 with HTTP; Tue, 19 Aug 2014 11:12:21 -0700 (PDT)
In-Reply-To: <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org>
Date: Tue, 19 Aug 2014 11:12:21 -0700
X-Google-Sender-Auth: Ult5KV8bZy3D7cadvu6V4JWSzg0
Message-ID: <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/WYIPmyn3FhxIu2f_8OD3v5zZdEc
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 18:12:24 -0000

At Mon, 18 Aug 2014 10:59:22 -0700,
Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> Greetings. I created a new proposal on a simple way to do DNS over
> TLS between stubs and resolvers. Comments are appreciated.

I have one few small comments.

- Section 2.1

   A security-oblivious stub resolver MAY use policy to allow
   unauthenticated encryption (which can possibly be intercepted by an
   on-path adversary) or authenticated encryption (which might prevent
   all DNS resolution if the server does not have correct authentication
   credentials) when contacting a recursive resolver using this
   protocol.

  Is this "security-oblivious stub" the concept defined in RFC 4033?
  If so, I think it's helpful to refer to the RFC explicitly.  And,
  even if so, I'm not sure how the "security-oblivious"ness
  matters in this context.  Some more explanation might be needed.

- Section 2.2

   A stub resolver cannot tell whether it is sending queries to a
   recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
   that acts as a TLS server for DNS requests MUST also act as a TLS
   client for queries to its upstream recursive resolvers.

I wonder this 'MUST' may be too strong (or I don't fully understand
the sense of this MUST).  Since the upstream recursive resolver may or
may not support the TLS extension, the DNS forwarder may end up giving
up the resolution altogether.  But depending on the stub clients'
policy it may be still better to provide encryption between the stub
and the forwarder.

- General: perhaps related to the above points, I wonder what the stub
  resolver should do if it finds the recursive server(s) don't support
  the TLS extension.  It's probably just another policy matter (it can
  simply give up or live with resolution without encryption, etc), but
  I think it's worth noting explicitly.

--
JINMEI, Tatuya


From nobody Tue Aug 19 11:33:01 2014
Return-Path: <paul.hoffman@vpnc.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 8604F1A06A1 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.347
X-Spam-Level: 
X-Spam-Status: No, score=-3.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rmmTEXlR3NJb for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:32:59 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55CE91A0676 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 11:32:59 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7JIWu2Z065143 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 Aug 2014 11:32:58 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com>
Date: Tue, 19 Aug 2014 11:32:54 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com>
To: =?utf-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/2Ri8gvRuzzKjRA6UxjZcZL8Uayc
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 18:33:00 -0000

On Aug 19, 2014, at 11:12 AM, =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 =
<jinmei@wide.ad.jp> wrote:

> At Mon, 18 Aug 2014 10:59:22 -0700,
> Paul Hoffman <paul.hoffman@vpnc.org> wrote:
>=20
>> Greetings. I created a new proposal on a simple way to do DNS over
>> TLS between stubs and resolvers. Comments are appreciated.
>=20
> I have one few small comments.
>=20
> - Section 2.1
>=20
>   A security-oblivious stub resolver MAY use policy to allow
>   unauthenticated encryption (which can possibly be intercepted by an
>   on-path adversary) or authenticated encryption (which might prevent
>   all DNS resolution if the server does not have correct =
authentication
>   credentials) when contacting a recursive resolver using this
>   protocol.
>=20
>  Is this "security-oblivious stub" the concept defined in RFC 4033?
>  If so, I think it's helpful to refer to the RFC explicitly.  And,
>  even if so, I'm not sure how the "security-oblivious"ness
>  matters in this context.  Some more explanation might be needed.

This was just a leftover from a pre-draft when I was trying to deal with =
passing validation responses from resolver as well. It should simply =
have read "A stub resolver MAY..."

> - Section 2.2
>=20
>   A stub resolver cannot tell whether it is sending queries to a
>   recursive resolver or to a DNS forwarder.  Therefore, a DNS =
forwarder
>   that acts as a TLS server for DNS requests MUST also act as a TLS
>   client for queries to its upstream recursive resolvers.
>=20
> I wonder this 'MUST' may be too strong (or I don't fully understand
> the sense of this MUST).  Since the upstream recursive resolver may or
> may not support the TLS extension, the DNS forwarder may end up giving
> up the resolution altogether.  But depending on the stub clients'
> policy it may be still better to provide encryption between the stub
> and the forwarder.

Good catch. Proposed replacement to handle the case where the recursive =
resolver doesn't do TLS:

  A stub resolver cannot tell whether it is sending queries to a
  recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
  that acts as a TLS server for DNS requests MUST also attempt to act as =
a TLS
  client for queries to its upstream recursive resolvers, but MAY
  use the normal DNS protocol on port 53 if an upstream recursive
  resolver does set up a TLS session.

> - General: perhaps related to the above points, I wonder what the stub
>  resolver should do if it finds the recursive server(s) don't support
>  the TLS extension.  It's probably just another policy matter (it can
>  simply give up or live with resolution without encryption, etc), but
>  I think it's worth noting explicitly.

Sure, let's be explicit. Proposed addition to the policy section:

If a recursive resolver does not respond on port 443 or set up a TLS =
session, the stub resolver MAY use the normal DNS protocol on port 53.

--Paul Hoffman=


From nobody Tue Aug 19 11:51:55 2014
Return-Path: <jacob@appelbaum.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 4A5711A06AF for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:51:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 Jj4TPB0_ueKM for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 11:51:53 -0700 (PDT)
Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49C0C1A06E0 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 11:51:53 -0700 (PDT)
Received: by mail-qa0-f50.google.com with SMTP id s7so5904141qap.23 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 11:51:50 -0700 (PDT)
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=jrCdeS4mk3/a9sA0RLE6VQIpAJ9ADUdy0yVxV/hn3Nk=; b=ivN3fK5uuFBttEZ4PF5djKOgjnFLUxBGYTn7OaItJXwfTA+VBJQlhL5swIf5lidTS3 EUVws0JELKZx0ZkP9K+1P3GdXVCWf502yVqKxP8PKH0HH5WbFkIX9rPaNBsnQo197wy6 mkCHvdtcARYatPv0zB/rTeey63w4lN3GWTnRTZ3I4jXIdxpiMKVop5CSmQVLRSpr0JJb HajLzxUDrMNvFPZyQmyhzHX6ss5PjxaaEQv9vhM3FK/hIgFVQsC9TXa1cPB0Qcdwb/4o bXCyRwsGz7OVBnYcTKneHPKnsTdQXf743PCuyTcgLOeaPUi7sxU7F5ZJUhe+TwAG38NO 1wEg==
X-Gm-Message-State: ALoCoQlVHN/omUhVp1nUrIzNhH4ODmFfKbMePSVoBNfUnXJOs6CGAcqqLJCKpU5HDv12VHGkPRpI
MIME-Version: 1.0
X-Received: by 10.224.80.10 with SMTP id r10mr71010610qak.24.1408474309720; Tue, 19 Aug 2014 11:51:49 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Tue, 19 Aug 2014 11:51:49 -0700 (PDT)
X-Originating-IP: [77.247.181.164]
In-Reply-To: <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
Date: Tue, 19 Aug 2014 18:51:49 +0000
Message-ID: <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/9GeN4IeAsY_ejyAcL46UP0u9dwA
Cc: dns-privacy@ietf.org, =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 18:51:54 -0000

> Sure, let's be explicit. Proposed addition to the policy section:
>
> If a recursive resolver does not respond on port 443 or set up a TLS
> session, the stub resolver MAY use the normal DNS protocol on port 53.
>

I'm not a fan of making it possible for an attacker to downgrade with
a single (non-cryptographically protected) TCP RST packet. If I
configure a resolver and declare it to be secure (and use it as such),
why not fail closed? Why not detect that as an attack or as outright
network censorship?

This seems to fail if there is an active attacker that blocks TLS
traffic - is there a way for the resolver to somehow learn in-band on
port 53 that this attack is happening?

All the best,
Jacob


From nobody Tue Aug 19 12:17:50 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 A93E71A06FB for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:17:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 N406GnOwd-Yb for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:17:46 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37EC31A0686 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 12:17:46 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 445CC566013B for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 19:17:44 +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 AGoYgGsPEyLq for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 21:17:14 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 2B63E5660137 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 21:17:14 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: <dns-privacy@ietf.org>
Date: Tue, 19 Aug 2014 21:17:10 +0200
Message-ID: <008c01cfbbe2$2e666820$8b333860$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac+74izFesB7iTWZT+ajsxZfCc/giw==
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/MXIXcyg-Fom0ww3NOVfii2dENBM
Subject: [dns-privacy] Summary of the thoughts about DNS privacy
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, 19 Aug 2014 19:17:48 -0000

Folks,

I summarize all MY thoughts here. If you are object or think I am wrong, =
please argue with your reasons and give an example.=20

1-  Opportunistic encryption is not appropriate for the privacy of stub =
resolver to recursive resolver scenario unless the node has a =
possibility to authenticate this resolver.
If you think when your domain is signed by DNSSEC, a fake resolver =
cannot cause any problem for you, I gives you an example. You can argue =
with your own example.

This is the scenario where there is no authentication but a  record is =
supposed to signed by a DNSSEC server.=20
A domain called www.example.com signed by DNSSEC A. =20
Client B wants to browse "www.example.com".=20
It asks the IP address of this from resolver C. Attacker D spoof the IP =
address of resolver C and response to this query with the IP address of =
his own server F. If the client supports DNSSEC then, the attacker sign =
www.example.com with address of server F using his own key and sends it =
back to client B.
Client B needs to verify resolver C. The problem here is that Client B =
only knows resolver C and needs to ask the other queries from Resolver =
C. These include the IP address of example.com, .com and . to verify the =
key sent by resolver C.=20
Resolver C answers all queries with wrong IP addresses that so that all =
queries ends to itself or one of the servers of himself.=20
So, either client B encrypt the queries send back and forth to the =
resolver, it ends to the case where the unwanted person can still =
eavesdrop this communication by directly answer to the node in place of =
resolver.

In my opinion it does not matter whether this record is signed or =
encrypted, the attacker can directly be in the middle of the =
communication and forward all the packets to his desire place. So DNSSEC =
in this stage or last mile does not help.

2- Passive attack in resolver scenario seems inappropriate because an =
attacker can easily do active attack (as explained in item 1) and =
retrieve information it seeks. So he doesn=E2=80=99t need to do passive =
attack to retrieve domain  information. Maybe passive attacks happens =
after sending wrong information to victim node and it is for web =
application or etc. but not at the entry point.
The other reason is that node only once asks the resolver about the IP =
address of a certain website or server. Passive attack usually makes =
sense when there is a continuous communication between two nodes for a =
certain time. But this is not a case for resolver scenario where the =
attacker can actively introduced himself as a resolver.=20

3-  For DNS privacy both encryption and authentication is necessary. =
When authentication is not possible, encryption doesn't help because of =
what explained in item 1 and 2. When encryption is not possible, this is =
where the passive attack makes sense because the attacker cannot claim =
to be a resolver (authentication will fail) so it uses his last chance =
to eavesdrop the communication. But in case authentication is not =
available, this attacker easily introduced himself as a resolver. This =
gives him more chance to obtain more information and even redirect all =
packets to his own place, infect user's computer or any further attacks.

Best,
Hosnieh





From nobody Tue Aug 19 12:28:07 2014
Return-Path: <paul.hoffman@vpnc.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 5E9281A1F20 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:28:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7fIf25YyvCvh for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:28:05 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2FFFB1A0AE9 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 12:28:05 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7JJRxXr068350 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 Aug 2014 12:28:01 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com>
Date: Tue, 19 Aug 2014 12:27:58 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <AD3938CD-1928-452F-8EC1-FE7D64CB950B@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/tOxqFgQ_JqkG57y7D61YWhQoGck
Cc: dns-privacy@ietf.org, =?utf-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 19:28:06 -0000

On Aug 19, 2014, at 11:51 AM, Jacob Appelbaum <jacob@appelbaum.net> =
wrote:

>> Sure, let's be explicit. Proposed addition to the policy section:
>>=20
>> If a recursive resolver does not respond on port 443 or set up a TLS
>> session, the stub resolver MAY use the normal DNS protocol on port =
53.
>>=20
>=20
> I'm not a fan of making it possible for an attacker to downgrade with
> a single (non-cryptographically protected) TCP RST packet. If I
> configure a resolver and declare it to be secure (and use it as such),
> why not fail closed?

Because then hosts that use stub resolvers will not be able to use the =
DNS at all.

> Why not detect that as an attack or as outright
> network censorship?

We could add such detection, but only if the value outweighs the =
complexity and possible failure modes.

> This seems to fail if there is an active attacker that blocks TLS
> traffic - is there a way for the resolver to somehow learn in-band on
> port 53 that this attack is happening?

Probably, but you still haven't said what value there is in knowing =
that. A stub resolver has no log and no way of alerting anyone that it =
discovered something important.

Let me know if I'm missing something obvious.

--Paul Hoffman=


From nobody Tue Aug 19 12:36:30 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 972931A0AFE for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:36:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 krazsBeZnJDL for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:36:25 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC42A1A0AE6 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 12:36:25 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 7B630566013B; Tue, 19 Aug 2014 19:36:23 +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 zvVokja-u51s; Tue, 19 Aug 2014 21:35:53 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id E6DCB5660137; Tue, 19 Aug 2014 21:35:52 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Carsten Strotmann'" <cas@strotmann.de>
Date: Tue, 19 Aug 2014 21:35:51 +0200
Message-ID: <008d01cfbbe4$c9489af0$5bd9d0d0$@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: Ac+75MgogK9rLesYRS6TfLkL0S8e/g==
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/4Et3D-b2Gu-oUuraDmt1GJKWOq4
Cc: dns-privacy@ietf.org, 'Paul Wouters' <paul@nohats.ca>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 19:36:27 -0000

> 
> How can you sign DNSSEC data without being in the posession of the private
> signing key(s) all the way to the root?

The problem is this bad guy resolver is on a way and has a possibility to
send any information it wants to this node. For asking about anything again
the node needs to ask this fake DNSSEC resolver that is on a way. The node
also cannot verify this fake DNSSEC resolver. 

I think,  like an example I explained in other message, this can happen. If
you say it cannot please explain how? Because all the queries are through
this bad guy.  This bad guy introduced himself as a first resolver and first
point of contact.


> DNSSEC adds data integrity, and with one or more trust-anchors in the
> resolver the client is able to validate the data, no matter which way the
data
> took.

Yes true but when you cannot identify the source of this data, it doesn't
matter that the data integrity is available. I am the first point of contact
and the node doesn't have any possibility to ask other resolvers. For
verification, whatever he asks, I introduced my own fake servers and provide
him with my own generated data. that is actually correct (because I am the
owner of key and I signed these data) but  if this node had another server
to ask, then he could understand that I gave him wrong information. 
It is similar to the case that the node is in an island and isolated. Only
one point of contact which is a pirate. 

> The benefit of this proposal is to add encrption, so that not everyone on
the
> same network (wireless etc) can monitor the traffic.

Please refer to my other message which answers this

> Sure, the operator of the un-authenticated DNS resolver can monitor, but
> now everyone could possibly monitor. With encryption, only the operator
> could. Not optimal, but better.
> 
> And yes, some people care to keep their DNS queries private.


Best,
Hosnieh


From nobody Tue Aug 19 12:39:13 2014
Return-Path: <ajs@anvilwalrusden.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 A45C81A0AE6 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:39:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.141
X-Spam-Level: 
X-Spam-Status: No, score=-0.141 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 bR0eIbi8rSUs for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:39:10 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9D461A00C2 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 12:39:10 -0700 (PDT)
Received: from mx1.yitter.info (nat-08-mht.dyndns.com [216.146.45.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id 87FE48A031 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 19:39:09 +0000 (UTC)
Date: Tue, 19 Aug 2014 15:39:05 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140819193904.GA806@mx1.yitter.info>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <008c01cfbbe2$2e666820$8b333860$@rozanak.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/WSSorq0ZRSWZklmuGWi_ZPS4sT0
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 19 Aug 2014 19:39:11 -0000

On Tue, Aug 19, 2014 at 09:17:10PM +0200, Hosnieh Rafiee wrote:
> A domain called www.example.com signed by DNSSEC A.  
> Client B wants to browse "www.example.com". 
> It asks the IP address of this from resolver C. Attacker D spoof the IP address of resolver C and response to this query with the IP address of his own server F. If the client supports DNSSEC then, the attacker sign www.example.com with address of server F using his own key and sends it back to client B.

DNSSEC detects this case.  If you think it does not, you need to show
how.  I think you've misunderstood how DNSSEC works.

In order for an attacker to do that, it has to be able to insert its
own key on both sides of the zone cut.  This works all the way up the
chain until you get to the trust anchor, which the validator is
supposed to have configured.  You build this chain of trust from the
root for each validation.  If you think that can be subverted, you
have to say how.

Best regards,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Tue Aug 19 12:54:38 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 69AA81A0B0C for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:54:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 DTSPXXaBhVdk for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 12:54:36 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2FA111A0AFA for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 12:54:36 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 29ED780048; Tue, 19 Aug 2014 15:54:35 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408478075; bh=4QbKpFcB+UjkST9F3A+N8oO6mmtWh+2IhWc1WzFwq+I=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=MkT+rXB6eqWqllMmkPFG7cPFEaKomKsa7kxLusCptlXAR6u/O0ZyeyFe2IS1ggKWn z0gK4w3UhOtaUWW/7tzfrdmap/Hf7zdj6oX5XGyt1ed1No85XaDLVEt4jiLz6S1zMG oNekLv39b4sschqgdHjDl1TkWsI997+O6MrNqaCw=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7JJsWHG010858; Tue, 19 Aug 2014 15:54:33 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 19 Aug 2014 15:54:32 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Jacob Appelbaum <jacob@appelbaum.net>
In-Reply-To: <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1408191546090.22835@bofh.nohats.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@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/zYRGmE2xcCB2gYdAsBSqw8uSpxA
Cc: dns-privacy@ietf.org, Paul Hoffman <paul.hoffman@vpnc.org>, =?ISO-2022-JP?Q?=1B$B=3F=40L=40C#=3AH=1B=28J?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 19:54:37 -0000

On Tue, 19 Aug 2014, Jacob Appelbaum wrote:

>> Sure, let's be explicit. Proposed addition to the policy section:
>>
>> If a recursive resolver does not respond on port 443 or set up a TLS
>> session, the stub resolver MAY use the normal DNS protocol on port 53.
>>
>
> I'm not a fan of making it possible for an attacker to downgrade with
> a single (non-cryptographically protected) TCP RST packet.

So you would want DTLS?

The ALPN would also mark you censorship. In fact, just attempting to get
encrypted DNS in whatever way would mark you as such. If you tunnel all
of this over 443, they will just have to block all of 443.

An attacker on the local network could just forge the DHCP server. But
an attacker on-path on the internet could indeed send an RST packet.
However, most likely an attacker that can inject a packet can also
filter one out, so how common is the case of a non-local RST attacker?

If you are connecting to a remote DNS server for TLS, I would assume
you also have an out-of-band key (like a TLSA record) to authenticate
the resolver. You would detect this failure and know you are on a
hostile network.

> If I
> configure a resolver and declare it to be secure (and use it as such),
> why not fail closed? Why not detect that as an attack or as outright
> network censorship?

I don't think the draft says anything about how to handle failure?

> This seems to fail if there is an active attacker that blocks TLS
> traffic - is there a way for the resolver to somehow learn in-band on
> port 53 that this attack is happening?

If you would publish a TLSA record, then yes. eg:

_443._tcp.8.8.8.8-in-addr.arpa IN TLSA <google-dns-pubkey>

Seeing the responses so far, I think the document needs to be much
clearer with respects to "last mile" versus "remote DNS server"
encryption.

Paul


From nobody Tue Aug 19 13:02:42 2014
Return-Path: <jacob@appelbaum.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 1A8EA1A040F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 13:02:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 gWmNZTrtejDZ for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 13:02:39 -0700 (PDT)
Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B70D81A0661 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 13:02:39 -0700 (PDT)
Received: by mail-qa0-f47.google.com with SMTP id i13so6165191qae.34 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 13:02:38 -0700 (PDT)
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=Ed2Dogrb6YV3aV4Kf5Soewl6GcyESZBeJQ2ydKUQs8g=; b=NHt6PMsTAoIAMArWBB1uevdpy7eNE1DqnWMKNcCvS3i4zXCDM0tg4Y1EUGMhknyipd r2jvRRFvdQBk4A1hN7BMfe6qreH+CwHUxjx7zQpuZgaScRKgRONkVeOniu5AVjVxba4X T7uWq+QDw1ndjDwuyMGh3irljlpWYo7KzrePgUO9SnsrENjMw3jLjMcCazL3s11x4o7n u8C+XCdwYYxca/XCXIniHn1qfNS6lpVJnimlO1zckZgS7mSvmoduUrQnynnAC5OEiMGK 3EJrR9smK5YLiU38ITeyrrInrUi2UAWGJ+J3K/3ryo/BIckFPPw2SAnOeHcvJIFHH4CV Ur9w==
X-Gm-Message-State: ALoCoQkA4693zLuYLJzS8+ITNaGPFILv7UTOG+BXryLCOpLqh9txJA11Se65u/oAZ2DErMHi7Z0W
MIME-Version: 1.0
X-Received: by 10.224.129.201 with SMTP id p9mr10272908qas.75.1408478558675; Tue, 19 Aug 2014 13:02:38 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Tue, 19 Aug 2014 13:02:38 -0700 (PDT)
X-Originating-IP: [178.20.55.16]
In-Reply-To: <AD3938CD-1928-452F-8EC1-FE7D64CB950B@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com> <AD3938CD-1928-452F-8EC1-FE7D64CB950B@vpnc.org>
Date: Tue, 19 Aug 2014 20:02:38 +0000
Message-ID: <CAFggDF2Z75q_Pb5WFAWZym6RWS4U=mkLiwPfRWBO5fbWPsGfvQ@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/noou5-I9fIXZM-_IOHOjcAUmwaA
Cc: dns-privacy@ietf.org, =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 20:02:41 -0000

On 8/19/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> On Aug 19, 2014, at 11:51 AM, Jacob Appelbaum <jacob@appelbaum.net> wrote:
>
>>> Sure, let's be explicit. Proposed addition to the policy section:
>>>
>>> If a recursive resolver does not respond on port 443 or set up a TLS
>>> session, the stub resolver MAY use the normal DNS protocol on port 53.
>>>
>>
>> I'm not a fan of making it possible for an attacker to downgrade with
>> a single (non-cryptographically protected) TCP RST packet. If I
>> configure a resolver and declare it to be secure (and use it as such),
>> why not fail closed?
>
> Because then hosts that use stub resolvers will not be able to use the DNS
> at all.

That is correct and that is exactly what I expect when my network is
attacking me. Rather than leaking that I'm being visited an ad name
that implies I've visited a gay dating site, I want it to fail closed.
If I declare it as secure, I want it to remain secure - where the
security here is all about *confidentiality* and DNSSEC does the rest
with regard to integrity, etc.

>
>> Why not detect that as an attack or as outright
>> network censorship?
>
> We could add such detection, but only if the value outweighs the complexity
> and possible failure modes.

If the TLS connection fails to complete (authenicated or not), it
should be as simple as returning something like E_CENSORSHIP_DETECTED.
An error like "Unable to connect securely to resolver, please contact
your ISP" would be fine.

Most OSes don't do anything remotely helpful when DNS fails. It might
be nice if that failure mode was privacy preserving...

>
>> This seems to fail if there is an active attacker that blocks TLS
>> traffic - is there a way for the resolver to somehow learn in-band on
>> port 53 that this attack is happening?
>
> Probably, but you still haven't said what value there is in knowing that. A
> stub resolver has no log and no way of alerting anyone that it discovered
> something important.

If my resolver allows upgrading to a secure method of communication,
I'd like to know. Furthermore, I'd like to automatically upgrade to
that secure communications path if it was available. An OS could probe
for a specific record type - similar to say, version.txt.

e.g.: nslookup -q=txt -class=CHAOS query.privacy.bind.

It could even learn the likely fingerprint of the server ala DANE, for example.

>
> Let me know if I'm missing something obvious.

Hope that helps.

All the best,
Jacob


From nobody Tue Aug 19 13:15:08 2014
Return-Path: <jacob@appelbaum.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 EB63E1A0B73 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 13:15:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 efmMnmhdXLiH for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 13:15:04 -0700 (PDT)
Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6664B1A6EF1 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 13:14:55 -0700 (PDT)
Received: by mail-qa0-f47.google.com with SMTP id i13so6017337qae.20 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 13:14:51 -0700 (PDT)
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=Kf9Q+Bf0o7zqJ2bs8Y1nTedTv0cTy56+8muOKU5Z9aE=; b=VOEP7nnJsP52mGkJYptjNvn4VX9EwiKLvTSK/cig4H0FGKLioZOeGs+W60D6TvOmsG CJGUKfuZmc2S/LslsfFXbN7hzWFXMkzS1sDAIkF/65dZIpKS54TnUEq1Ryd0EmAJiYeM TAEia9YrlgkaO5Z6VQq/+GY7wlKP1fu9yche8qCMRPZvMRLiqy3FhYqREIj79HZvLZw+ ZWTzXxqibJnIG1HUiJBbhQsc0OkSKhTsh5xJYlFMXqWEsjY24UP2OGoIejynnrJFc32c nz1DgEe/FrSbgeEd31GS1cDAY5rPe7YYfJsYVTRo6xKO3SJZPkFIwjTQX9CfrSjRhmZj VGng==
X-Gm-Message-State: ALoCoQlLtJtURJziPmvYq/nxFgPIBpkAxYj5V0V9GRGPE9RqVyrvjX8a3oF7y+oqvJAjfJjL9McU
MIME-Version: 1.0
X-Received: by 10.140.94.100 with SMTP id f91mr66634783qge.41.1408479291299; Tue, 19 Aug 2014 13:14:51 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Tue, 19 Aug 2014 13:14:51 -0700 (PDT)
X-Originating-IP: [95.128.43.164]
In-Reply-To: <alpine.LFD.2.10.1408191546090.22835@bofh.nohats.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <CAFggDF3G3JEnPLVqZ2PjX8hCBP5-rkh7jGBWMvMxgpFSN7g1yw@mail.gmail.com> <alpine.LFD.2.10.1408191546090.22835@bofh.nohats.ca>
Date: Tue, 19 Aug 2014 20:14:51 +0000
Message-ID: <CAFggDF0whYTbgu5ZCLEAhthcuhFKSJ+ma=_e=cDJa4R3Cg01ng@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Wouters <paul@nohats.ca>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gklPOX6NCiXocNTyUtp_bsTNllI
Cc: dns-privacy@ietf.org, Paul Hoffman <paul.hoffman@vpnc.org>, =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 20:15:06 -0000

On 8/19/14, Paul Wouters <paul@nohats.ca> wrote:
> On Tue, 19 Aug 2014, Jacob Appelbaum wrote:
>
>>> Sure, let's be explicit. Proposed addition to the policy section:
>>>
>>> If a recursive resolver does not respond on port 443 or set up a TLS
>>> session, the stub resolver MAY use the normal DNS protocol on port 53.
>>>
>>
>> I'm not a fan of making it possible for an attacker to downgrade with
>> a single (non-cryptographically protected) TCP RST packet.
>
> So you would want DTLS?
>

It depends; perhaps? An on-path attacker can mess with TCP and UDP by
dropping. There isn't much to be done there. An off-path attacker (eg:
QUANTUMINSERT) is a Machine-On-The-Side and in that case, TCP still
falls over. DTLS may do better, I'm not sure.

> The ALPN would also mark you censorship. In fact, just attempting to get
> encrypted DNS in whatever way would mark you as such. If you tunnel all
> of this over 443, they will just have to block all of 443.

I'm not clear that this is true - I think encrypting all DNS provides
a kind of herd immunity: this is the way the network works and major
DNS providers will support a secure option. If only those that need
it, ask for it, then yes, it is a distingushing feature that is likely
a problem.

And yes, they'd have to block all of 443. This doesn't happen as often
as we'd think, I suspect. Also, if they have a single switch - they
kill it for *everyone* and not only for selected folks by keyword.
This creates a lot of social pressure.

In my experience with Tor being blocked in Iran - it is much easier to
block Tor than it is to block Google. This isn't just technical. It is
also about deployment - the one everyone uses is normal and not as
acceptable to block all of the time.

>
> An attacker on the local network could just forge the DHCP server.

A lot of people manually set their DNS servers in censorship prone
countries. I've heard that Google selected 8.8.8.8 for cultural
reasons in addition to being a nice short number.

> But
> an attacker on-path on the internet could indeed send an RST packet.

An attacker can inject if they've seen the handshake - they don't have
to be on-path to tear it down.

> However, most likely an attacker that can inject a packet can also
> filter one out, so how common is the case of a non-local RST attacker?
>

I think it is pretty real:

  https://en.wikipedia.org/wiki/QUANTUMINSERT#QUANTUM_attacks

To compare - Iran has edge routers that are often hostile (on-path)
and the NSA/GCHQ have that at defense networks, as well as off-path
injection all around the world.

We have to deal with both kinds of attackers, I think. Jerks. :(

> If you are connecting to a remote DNS server for TLS, I would assume
> you also have an out-of-band key (like a TLSA record) to authenticate
> the resolver. You would detect this failure and know you are on a
> hostile network.
>

Yes, that sounds about right.

>> If I
>> configure a resolver and declare it to be secure (and use it as such),
>> why not fail closed? Why not detect that as an attack or as outright
>> network censorship?
>
> I don't think the draft says anything about how to handle failure?

It should. We should actually handle attacks in the wild and not treat
them as rare flowers that are never expected to be found.

>
>> This seems to fail if there is an active attacker that blocks TLS
>> traffic - is there a way for the resolver to somehow learn in-band on
>> port 53 that this attack is happening?
>
> If you would publish a TLSA record, then yes. eg:
>
> _443._tcp.8.8.8.8-in-addr.arpa IN TLSA <google-dns-pubkey>

I think that is a good start but I was thinking about service
discovery - that is I have to know to look for that record.

>
> Seeing the responses so far, I think the document needs to be much
> clearer with respects to "last mile" versus "remote DNS server"
> encryption.
>

They're essentially the same problem when you use OpenDNS, Google's
public DNS, Sonic.net's awesome resolvers, and so on.

All the best,
Jacob


From nobody Tue Aug 19 14:01:21 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 9749D1A04C5 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 14:01:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 nkFGbBp0QGH0 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 14:01:18 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53D191A013B for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 14:01:18 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 14A2C81790; Tue, 19 Aug 2014 17:01:17 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408482077; bh=qGftZ3ok/wOK7qNInSQUCTv8Rkfs0tiyJJvInR9fAb4=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=NbRwID+LNIevjJo+tdm669ap41Tc1jGgd3Ry5orFZvat9y3pOCImywjenEduHdPrQ 07CuCyrIO0XDe9ZvI15eu4SkfRiEUgw9L3ZQqQ505JQr2SxmsgSYfYAq1AUBG61pVU 4oFXMmCxB2LmZ0G0IVIzvgD1+OaV2BDfc7cZR6k8=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7JL1EBM001690; Tue, 19 Aug 2014 17:01:14 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Tue, 19 Aug 2014 17:01:14 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
Message-ID: <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
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/Tqz9LIBY59fDPbo4Eo1nzOnZ3Ms
Cc: dns-privacy@ietf.org, =?ISO-2022-JP?Q?=1B$B=3F=40L=40C#=3AH=1B=28J?= <jinmei@wide.ad.jp>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 21:01:19 -0000

On Tue, 19 Aug 2014, Paul Hoffman wrote:

>> I wonder this 'MUST' may be too strong (or I don't fully understand
>> the sense of this MUST).  Since the upstream recursive resolver may or
>> may not support the TLS extension, the DNS forwarder may end up giving
>> up the resolution altogether.  But depending on the stub clients'
>> policy it may be still better to provide encryption between the stub
>> and the forwarder.
>
> Good catch. Proposed replacement to handle the case where the recursive resolver doesn't do TLS:
>
>  A stub resolver cannot tell whether it is sending queries to a
>  recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
>  that acts as a TLS server for DNS requests MUST also attempt to act as a TLS
>  client for queries to its upstream recursive resolvers, but MAY
>  use the normal DNS protocol on port 53 if an upstream recursive
>  resolver does set up a TLS session.

A resolver at a coffee shop is mostly concerned about protecting the DNS
in the public wifi, and might not worry at all about its DSL uplink,
especially when it has no real reason to trust its own uplink. So I
would just make it very generic:

   a DNS forwarder that acts as a TLS server for DNS requests SHOULD
   attempt to use TLS with its upstream resolver(s) to maximize the
   anonymity of its stub clients.

> Sure, let's be explicit. Proposed addition to the policy section:
>
> If a recursive resolver does not respond on port 443 or set up a TLS session, the stub resolver MAY use the normal DNS protocol on port 53.

MAY sounds a little odd here. If there is no preconfiguration for
authenticating this resolver, I don't think we should advise
stubs to refuse to do DNS completely, which is what the MAY is
suggesting as a valid option. (this is breaking the "opportunistic
security design pattern recommendation advise" :)

How about:

 	If a recursive resolver for which an authentication method is
 	available does not respond on port 443 or fails to set up a TLS
 	session, the stub resolver SHOULD NOT use that resolver over
 	unencrypted DNS using port 53. If no authentication method is
 	available for the recusive resolver, the stub resolver SHOULD
 	fallback to using cleartext DNS on port 53.

Paul


From nobody Tue Aug 19 15:07:15 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 F241F1A6F2F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 15:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 JQGj6Bn6lZvg for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 15:07:06 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CD521A017E for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 15:07:05 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 4FB68566013B; Tue, 19 Aug 2014 22:07:03 +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 yVQGqaleWL2q; Wed, 20 Aug 2014 00:06:33 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 996775660137; Wed, 20 Aug 2014 00:06:32 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Carsten Strotmann'" <cas@strotmann.de>
References: 
In-Reply-To: 
Date: Wed, 20 Aug 2014 00:06:29 +0200
Message-ID: <00ba01cfbbf9$d561f010$8025d030$@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: Ac+75MgogK9rLesYRS6TfLkL0S8e/gAEyMDw
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ptfxi3bflwtzurvRYiEX99sFqGc
Cc: dns-privacy@ietf.org, 'Paul Wouters' <paul@nohats.ca>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 22:07:10 -0000

I change my story a bit based on some offlist discussions ...

So the point 1 from summary email changes like this
1-  Opportunistic encryption is not appropriate for the privacy of stub
resolver to recursive resolver scenario unless the node has a possibility to
authenticate this resolver.
If you think when your domain is signed by DNSSEC, a fake resolver cannot
cause any problem for you, I gives you an example. You can argue with your
own example.

This is the scenario where there is no authentication but a  record is
supposed to signed by a DNSSEC server. 
A domain called www.example.com signed by DNSSEC A.  
Client B wants to browse "www.example.com". 
It asks the IP address of this from resolver C. Attacker D spoof the IP
address of resolver C and response to this query with the IP address of his
own server F. The client cannot verify this attacker in any case since it is
only a stub resolver and dependent to a recursive resolver for query
different authoritative DNS server in order to verify this DNSSEC server.
This is why the stub resolver accepts whatever receives from this fake
DNSSEC server. 

So, either client B encrypt the queries send back and forth to the resolver,
it ends to the case where the unwanted person can still eavesdrop this
communication by directly answer to the node in place of resolver.

In my opinion it does not matter whether this record is signed or encrypted,
the stub resolver has no possibility to verify that record. So, an attacker
can directly be in the middle of the communication and forward all the
packets to his desire place. So DNSSEC in this stage or last mile does not
help. 


> > How can you sign DNSSEC data without being in the posession of the
> > private signing key(s) all the way to the root?

So based on the revision in item 1. I can also revise my answer here.

I don't need to sign the DNSSEC data since the stub resolver is dependent to
me (or a DNSSEC recursive resolver) to verify any other DNSSEC server. 


Best,
Hosnieh



From nobody Tue Aug 19 16:19:19 2014
Return-Path: <paul.hoffman@vpnc.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 CA0591A6FC1 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 16:19:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KsmC6o_eDt2F for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 16:19:15 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2A081A6FB2 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 16:19:15 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7JNJDc3074824 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 16:19:15 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca>
Date: Tue, 19 Aug 2014 16:19:12 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca>
To: dns-privacy@ietf.org
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/D9CyKBrHCqKHH19HVKBmUiSbvMI
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Tue, 19 Aug 2014 23:19:17 -0000

[[ Combined PaulW's and Jacob's responses ]]

On Aug 19, 2014, at 2:01 PM, Paul Wouters <paul@nohats.ca> wrote:

> On Tue, 19 Aug 2014, Paul Hoffman wrote:
>=20
>>> I wonder this 'MUST' may be too strong (or I don't fully understand
>>> the sense of this MUST).  Since the upstream recursive resolver may =
or
>>> may not support the TLS extension, the DNS forwarder may end up =
giving
>>> up the resolution altogether.  But depending on the stub clients'
>>> policy it may be still better to provide encryption between the stub
>>> and the forwarder.
>>=20
>> Good catch. Proposed replacement to handle the case where the =
recursive resolver doesn't do TLS:
>>=20
>> A stub resolver cannot tell whether it is sending queries to a
>> recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
>> that acts as a TLS server for DNS requests MUST also attempt to act =
as a TLS
>> client for queries to its upstream recursive resolvers, but MAY
>> use the normal DNS protocol on port 53 if an upstream recursive
>> resolver does set up a TLS session.
>=20
> A resolver at a coffee shop is mostly concerned about protecting the =
DNS
> in the public wifi, and might not worry at all about its DSL uplink,
> especially when it has no real reason to trust its own uplink. So I
> would just make it very generic:
>=20
>  a DNS forwarder that acts as a TLS server for DNS requests SHOULD
>  attempt to use TLS with its upstream resolver(s) to maximize the
>  anonymity of its stub clients.

I'm fine with that as a replacement for my suggestion above.

>=20
>> Sure, let's be explicit. Proposed addition to the policy section:
>>=20
>> If a recursive resolver does not respond on port 443 or set up a TLS =
session, the stub resolver MAY use the normal DNS protocol on port 53.
>=20
> MAY sounds a little odd here. If there is no preconfiguration for
> authenticating this resolver, I don't think we should advise
> stubs to refuse to do DNS completely, which is what the MAY is
> suggesting as a valid option. (this is breaking the "opportunistic
> security design pattern recommendation advise" :)
>=20
> How about:
>=20
> 	If a recursive resolver for which an authentication method is
> 	available does not respond on port 443 or fails to set up a TLS
> 	session, the stub resolver SHOULD NOT use that resolver over
> 	unencrypted DNS using port 53. If no authentication method is
> 	available for the recusive resolver, the stub resolver SHOULD
> 	fallback to using cleartext DNS on port 53.

That seems mixed up. I think the policies we want to list are:

a) Must have authenticated TLS, otherwise don't get any DNS responses

b) Try to do authenticated TLS, but use unauthenticated TLS if possible, =
otherwise don't get any DNS responses

c) Try to do authenticated TLS, but use unauthenticated TLS if possible, =
but allow cleartext on port 53 if TLS cannot be established

Does this seem like the whole list?


On Aug 19, 2014, at 1:02 PM, Jacob Appelbaum <jacob@appelbaum.net> =
wrote:

>>> I'm not a fan of making it possible for an attacker to downgrade =
with
>>> a single (non-cryptographically protected) TCP RST packet. If I
>>> configure a resolver and declare it to be secure (and use it as =
such),
>>> why not fail closed?
>>=20
>> Because then hosts that use stub resolvers will not be able to use =
the DNS
>> at all.
>=20
> That is correct and that is exactly what I expect when my network is
> attacking me. Rather than leaking that I'm being visited an ad name
> that implies I've visited a gay dating site, I want it to fail closed.
> If I declare it as secure, I want it to remain secure - where the
> security here is all about *confidentiality* and DNSSEC does the rest
> with regard to integrity, etc.

I think that would policy (a) listed above. Does that work for you?

>>> Why not detect that as an attack or as outright
>>> network censorship?
>>=20
>> We could add such detection, but only if the value outweighs the =
complexity
>> and possible failure modes.
>=20
> If the TLS connection fails to complete (authenicated or not), it
> should be as simple as returning something like E_CENSORSHIP_DETECTED.

It is reasonable for the policy to suggest that a later API might be =
able to detect which level of protection, if any, the user has gotten.=20=


> An error like "Unable to connect securely to resolver, please contact
> your ISP" would be fine.

And you might want to only use applications that use that later API.

> Most OSes don't do anything remotely helpful when DNS fails. It might
> be nice if that failure mode was privacy preserving...

It might be, yes.

>>> This seems to fail if there is an active attacker that blocks TLS
>>> traffic - is there a way for the resolver to somehow learn in-band =
on
>>> port 53 that this attack is happening?
>>=20
>> Probably, but you still haven't said what value there is in knowing =
that. A
>> stub resolver has no log and no way of alerting anyone that it =
discovered
>> something important.
>=20
> If my resolver allows upgrading to a secure method of communication,
> I'd like to know. Furthermore, I'd like to automatically upgrade to
> that secure communications path if it was available. An OS could probe
> for a specific record type - similar to say, version.txt.
>=20
> e.g.: nslookup -q=3Dtxt -class=3DCHAOS query.privacy.bind.
>=20
> It could even learn the likely fingerprint of the server ala DANE, for =
example.

Once we have privacy for all types of stub resolvers, it could certainly =
be useful for a few people who have security-aware validating stub =
resolvers to have that information. It is an easy follow-on for those =
who care about it.

--Paul Hoffman=


From nobody Tue Aug 19 22:29:17 2014
Return-Path: <cas@strotmann.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 AA3D21A8779 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 22:29:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.809
X-Spam-Level: 
X-Spam-Status: No, score=0.809 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_21=0.6] 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 Fw8Dnk783J71 for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 22:29:15 -0700 (PDT)
Received: from csgate3.strotmann.de (cstrotm-1-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:f1d::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB5AB1A8774 for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 22:29:13 -0700 (PDT)
Received: from Carstens-MacBook-Pro.local (b9168e27.cgn.dg-w.de [185.22.142.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by csgate3.strotmann.de (Postfix) with ESMTPSA id DFFFA50ED; Wed, 20 Aug 2014 07:29:04 +0200 (CEST)
Received: by Carstens-MacBook-Pro.local (Postfix, from userid 501) id 1996C2533F55; Wed, 20 Aug 2014 07:29:08 +0200 (CEST)
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com>
From: Carsten Strotmann <carsten@strotmann.de>
To: Hosnieh Rafiee <ietf@rozanak.com>
Date: Wed, 20 Aug 2014 07:20:08 +0200
In-reply-to: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com>
Message-ID: <m2ppfv6863.fsf@strotmann.de>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/At_hnyVcv7LzZyJ61u7aibNZ6b4
Cc: dns-privacy@ietf.org, 'Paul Wouters' <paul@nohats.ca>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 05:29:16 -0000

Hello Hosnieh,

Hosnieh Rafiee writes:

> I change my story a bit based on some offlist discussions ...
>
> So the point 1 from summary email changes like this
> 1-  Opportunistic encryption is not appropriate for the privacy of stub
> resolver to recursive resolver scenario unless the node has a possibility to
> authenticate this resolver.
> If you think when your domain is signed by DNSSEC, a fake resolver cannot
> cause any problem for you, I gives you an example. You can argue with your
> own example.
>
> This is the scenario where there is no authentication but a  record is
> supposed to signed by a DNSSEC server. 
> A domain called www.example.com signed by DNSSEC A.  
> Client B wants to browse "www.example.com". 
> It asks the IP address of this from resolver C. Attacker D spoof the IP
> address of resolver C and response to this query with the IP address of his
> own server F. The client cannot verify this attacker in any case since it is
> only a stub resolver and dependent to a recursive resolver for query
> different authoritative DNS server in order to verify this DNSSEC server.
> This is why the stub resolver accepts whatever receives from this fake
> DNSSEC server. 
>
> So, either client B encrypt the queries send back and forth to the resolver,
> it ends to the case where the unwanted person can still eavesdrop this
> communication by directly answer to the node in place of resolver.
>
> In my opinion it does not matter whether this record is signed or encrypted,
> the stub resolver has no possibility to verify that record. So, an attacker
> can directly be in the middle of the communication and forward all the
> packets to his desire place. So DNSSEC in this stage or last mile does not
> help. 
>
>
>> > How can you sign DNSSEC data without being in the posession of the
>> > private signing key(s) all the way to the root?
>
> So based on the revision in item 1. I can also revise my answer here.
>
> I don't need to sign the DNSSEC data since the stub resolver is dependent to
> me (or a DNSSEC recursive resolver) to verify any other DNSSEC server. 
>

As the draft mentioned the stub-resolver cannot rely on the DNSSEC
validation of an un-authenticated, unknown DNS resolver. 

Either the stub-resolver, or the application, needs to do the DNSSEC
validation. While not widely deployed, this is possible today. 

For this local validation, the stub-resolver or the application has one
or more DNSSEC "well-known" trust-anchors (like the DNS root zone trust
anchor, or the ".de" zone trust anchor) pre-configured. The validation
does not rely on the any data received via the unautenticated DNS
resolver. The integrety of DNSSEC signed DNS zone data can always be
checked.

A malicious unauthenticated and unknown DNS resolver can stop all
communication by providing false DNS data, but the false data is always
detected.

DNSSEC validation does not rely on the the data received through the DNS
resolver, which might be malicious. The trust anchor is configured
before this communication, out-of-band, coming with the software or
manually configured.

-- Carsten
-- 
Sent with my mu4e


From nobody Tue Aug 19 23:25:58 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 5C5531A87CC for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 23:25:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.668
X-Spam-Level: 
X-Spam-Status: No, score=-0.668 tagged_above=-999 required=5 tests=[RP_MATCHES_RCVD=-0.668] 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 qIcDvChwvAWq for <dns-privacy@ietfa.amsl.com>; Tue, 19 Aug 2014 23:25:54 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 044B11A87CB for <dns-privacy@ietf.org>; Tue, 19 Aug 2014 23:25:54 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 42E095660140; Wed, 20 Aug 2014 06:25:51 +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 iLtczDuWks0j; Wed, 20 Aug 2014 08:25:10 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id DD480566013B; Wed, 20 Aug 2014 08:25:09 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Carsten Strotmann'" <carsten@strotmann.de>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <m2ppfv6863.fsf@strotmann.de>
In-Reply-To: <m2ppfv6863.fsf@strotmann.de>
Date: Wed, 20 Aug 2014 08:25:06 +0200
Message-ID: <003901cfbc3f$7dad88c0$79089a40$@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: AQKUPlzldp8EhTskZiJwFszuzAaxyAHDsaOXmkHY5rA=
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/UomP2sTATBzoAyro9SROJMzGLF0
Cc: dns-privacy@ietf.org, 'Paul Wouters' <paul@nohats.ca>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 06:25:56 -0000

Hi Carsten,

Thanks again for your response.
The problem about this draft is that, they did not consider authentication
as a necessary step and only presumed that some other services would do this
task for them and they only focused on encryption. All the discussion back
and forth is because I think the focus should be on both and encryption
alone let the observer to retrieve and watch the data.  In other words, for
instance if a service implement such draft, it fails if they do not change
their focus on both. 

What I understand from privacy is that we want to disallow an observer to
watch our data. This observer is usually inside our own network or somewhere
in our network where our first point of this communication is also a
resolver that we might not be able to trust because it is not clear it is a
trusted resolver or a fake one. So when an observer can easily change his
role to one of this fake resolver and watch data. Encryption ends to him. 


> 
> As the draft mentioned the stub-resolver cannot rely on the DNSSEC
> validation of an un-authenticated, unknown DNS resolver.

This is why I said there is missing part in this draft. "cannot" is
different than offering a certain solution. 

> Either the stub-resolver, or the application, needs to do the DNSSEC
> validation. While not widely deployed, this is possible today.

I think this not the task of stub-resolver. If stub resolver supposed to
play a role of recursive resolver and query different authoritative DNSSEC
servers from "." to "www.example.com" , then it is not called a stub
resolver and it is recursive resolver.  So then the question is what is the
task of recursive resolver? Is there any plan to change all stub resolver in
future to recursive resolver and remove the recursive resolvers on internet?

If purpose is to give these tasks to other services then I think it needs to
be mentioned clearly in the draft that "HOW" this can be done. This is all
what effect on privacy consideration of the draft and , of course, the
implementation of this draft and important because again encryption alone
does not make sense either they use opportunistic encryption or be lucky and
use  a fixed encryption approach. (people think I am against opportunistic
encryption but this is different, I am against encryption without secure
authentication) So that, all implements this approach and always encrypt the
packets. As far as the observer has the easy opportunity to forge the
identity of a resolver, encryption is like boiling the ocean water. 

The problem is that , often, like the example of wifi connection, the node
is anonymous. Do you plan to preconfigured all nodes inside a network with
the preconfigured value of some trusted anchors? This is especially really
difficult when the nodes in a network are dynamic like a wifi connection. 

I guess the problem here is not well defined... in my opinion the problems
that a draft needs to address for privacy consideration are as followings:

- secure robust authentication (essential)
- encryption (good to have)
- automation to whatever extend possible (essential)
And of course performance (good to have)


Maybe if you install an active directory, you solve all this problems but
you cannot trust all nodes in a public network to join to your domain that
they can access to the list of trusted anchors and can automate this task to
some extend. 
If this was an easy task or feasible task,  there wasn't always a discussion
about DNSSEC and last mile of Internet.... 
 

> For this local validation, the stub-resolver or the application has one or
more
> DNSSEC "well-known" trust-anchors (like the DNS root zone trust anchor, or
> the ".de" zone trust anchor) pre-configured. The validation does not rely
on
> the any data received via the unautenticated DNS resolver. The integrety
of
> DNSSEC signed DNS zone data can always be checked.

Not stub resolver but the recursive resolvers usually preconfigured with
what you say. But the problem here is real task of stub resolvers and what
they are expected to do. 

And the application here in my opinion is out of scope otherwise they plan
to say this draft is very dependent to x application to do this
authentication and without this, the implementation of such approach is not
really helpful because the observer has a chance to easily forge the
identity of the resolvers.

> A malicious unauthenticated and unknown DNS resolver can stop all
> communication by providing false DNS data, but the false data is always
> detected.
> 
> DNSSEC validation does not rely on the the data received through the DNS
> resolver, which might be malicious. The trust anchor is configured before
this
> communication, out-of-band, coming with the software or manually
> configured.

This actually not the question of what DNSSEC can do . But here is the
question of how to solve privacy problem (if the plan is to also use DNSSEC
as a part then the question is what DNSSEC cannot do and what the drafts
should address to assist what it cannot do.) 


Thanks,
Best,
Hosnieh







From nobody Wed Aug 20 06:13:00 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 C72AF1A0378 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 06:12:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.482
X-Spam-Level: 
X-Spam-Status: No, score=0.482 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.668] 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 0ODvJ5XNZyMi for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 06:12:57 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C58501A0375 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 06:12:56 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id 8C2A5280655 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:12:54 +0200 (CEST)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162]) by mx4.nic.fr (Postfix) with ESMTP id 88820280294 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:12:54 +0200 (CEST)
Received: from bortzmeyer.nic.fr (unknown [IPv6:2001:67c:1348:7::86:133]) by relay1.nic.fr (Postfix) with ESMTP id 7B20E4C0097 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:12:24 +0200 (CEST)
Date: Wed, 20 Aug 2014 15:12:24 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: dns-privacy@ietf.org
Message-ID: <20140820131224.GA12317@nic.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Debian GNU/Linux jessie/sid
X-Kernel: Linux 3.14-1-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/lDJsc1umHCkvvf_Wfsz5krknNqw
Subject: [dns-privacy] Proof that QNAME minimization is mainstream
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, 20 Aug 2014 13:12:59 -0000

CENTR just (re-)advertised:

https://twitter.com/CENTRnews/status/502077141643960320

this short video explaining the DNS:

https://www.youtube.com/watch?v=vZ007Vi5HIM

and using QNAME minimization (the red thing asks "eu?" to the root and
not the full QNAME).


From nobody Wed Aug 20 06:30:14 2014
Return-Path: <jacob@appelbaum.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 964651A038B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 06:30:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.722
X-Spam-Level: 
X-Spam-Status: No, score=0.722 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 ChVY2OirfC97 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 06:30:05 -0700 (PDT)
Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 558ED1A038A for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 06:30:05 -0700 (PDT)
Received: by mail-qa0-f50.google.com with SMTP id s7so6792911qap.23 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 06:30:04 -0700 (PDT)
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=eOUPxe1jLkc4BJXUtWIAktRRnEQZbd72wwDYHM1B1yA=; b=HXmUCjgKKe0D7p3BzS77qpE41JGJhrqkA3a4K+m9vSybIwrPGBLAExvTuWc2EaimO5 a5qA2QincLbSM3l7ma1dFhyJBLtHlzb+rd6dOEQT5dQ7RnRmg+wmn3C1R+aiPK2GrU/A XYY4AKxzWpY8sMG3FdkY8xSnC4yhBrwPJFgNgnmty90O4yIYdWhf3FIj09ozH1OeN6Lp fVm3fDjxbFv/tT1JA1ekLWjKqdFpX8oAELgyMwmGIRU/uOxX6k/eIgvIPTOkFoaLWQN2 fEm0dd7lt9rOyWWwgrXK8ADZkNzP6uvu69ETqGwIJEpn/4OLv0fHzzHjAa7zb5hZiNQh QWgw==
X-Gm-Message-State: ALoCoQlaoIgwGW7iUs4mZ2cL3uIhTL1hsHZF2N0KyJ9It5Msn6IsRL+SxUlm26qpNChZ1I/Qr4CM
MIME-Version: 1.0
X-Received: by 10.140.24.140 with SMTP id 12mr72978747qgr.11.1408541403864; Wed, 20 Aug 2014 06:30:03 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 06:30:03 -0700 (PDT)
X-Originating-IP: [46.165.221.166]
In-Reply-To: <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org>
Date: Wed, 20 Aug 2014 13:30:03 +0000
Message-ID: <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/uvW90Ix6hlJAsMnU0Xf8rCiad58
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 13:30:12 -0000

On 8/19/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> [[ Combined PaulW's and Jacob's responses ]]
>
> On Aug 19, 2014, at 2:01 PM, Paul Wouters <paul@nohats.ca> wrote:
>
>> On Tue, 19 Aug 2014, Paul Hoffman wrote:
>>
>>>> I wonder this 'MUST' may be too strong (or I don't fully understand
>>>> the sense of this MUST).  Since the upstream recursive resolver may or
>>>> may not support the TLS extension, the DNS forwarder may end up giving
>>>> up the resolution altogether.  But depending on the stub clients'
>>>> policy it may be still better to provide encryption between the stub
>>>> and the forwarder.
>>>
>>> Good catch. Proposed replacement to handle the case where the recursive
>>> resolver doesn't do TLS:
>>>
>>> A stub resolver cannot tell whether it is sending queries to a
>>> recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
>>> that acts as a TLS server for DNS requests MUST also attempt to act as a
>>> TLS
>>> client for queries to its upstream recursive resolvers, but MAY
>>> use the normal DNS protocol on port 53 if an upstream recursive
>>> resolver does set up a TLS session.
>>
>> A resolver at a coffee shop is mostly concerned about protecting the DNS
>> in the public wifi, and might not worry at all about its DSL uplink,
>> especially when it has no real reason to trust its own uplink. So I
>> would just make it very generic:
>>
>>  a DNS forwarder that acts as a TLS server for DNS requests SHOULD
>>  attempt to use TLS with its upstream resolver(s) to maximize the
>>  anonymity of its stub clients.
>
> I'm fine with that as a replacement for my suggestion above.

I'd switch this to say 'confidentiality' rather than anonymity.
Anonymity is a much stronger claim which I adore but it seems out of
place here.

>
>>
>>> Sure, let's be explicit. Proposed addition to the policy section:
>>>
>>> If a recursive resolver does not respond on port 443 or set up a TLS
>>> session, the stub resolver MAY use the normal DNS protocol on port 53.
>>
>> MAY sounds a little odd here. If there is no preconfiguration for
>> authenticating this resolver, I don't think we should advise
>> stubs to refuse to do DNS completely, which is what the MAY is
>> suggesting as a valid option. (this is breaking the "opportunistic
>> security design pattern recommendation advise" :)
>>
>> How about:
>>
>> 	If a recursive resolver for which an authentication method is
>> 	available does not respond on port 443 or fails to set up a TLS
>> 	session, the stub resolver SHOULD NOT use that resolver over
>> 	unencrypted DNS using port 53. If no authentication method is
>> 	available for the recusive resolver, the stub resolver SHOULD
>> 	fallback to using cleartext DNS on port 53.
>
> That seems mixed up. I think the policies we want to list are:
>
> a) Must have authenticated TLS, otherwise don't get any DNS responses
>
> b) Try to do authenticated TLS, but use unauthenticated TLS if possible,
> otherwise don't get any DNS responses
>
> c) Try to do authenticated TLS, but use unauthenticated TLS if possible, but
> allow cleartext on port 53 if TLS cannot be established
>
> Does this seem like the whole list?

d) Don't do TLS at all, only try cleartext on port 53 (the sad default
state of the internet today)

e) All the other DNS privacy stuff - eg: OpenDNS's encrypted DNS
stuff, djb's other work, etc.


>
> On Aug 19, 2014, at 1:02 PM, Jacob Appelbaum <jacob@appelbaum.net> wrote:
>
>>>> I'm not a fan of making it possible for an attacker to downgrade with
>>>> a single (non-cryptographically protected) TCP RST packet. If I
>>>> configure a resolver and declare it to be secure (and use it as such),
>>>> why not fail closed?
>>>
>>> Because then hosts that use stub resolvers will not be able to use the
>>> DNS
>>> at all.
>>
>> That is correct and that is exactly what I expect when my network is
>> attacking me. Rather than leaking that I'm being visited an ad name
>> that implies I've visited a gay dating site, I want it to fail closed.
>> If I declare it as secure, I want it to remain secure - where the
>> security here is all about *confidentiality* and DNSSEC does the rest
>> with regard to integrity, etc.
>
> I think that would policy (a) listed above. Does that work for you?

Yes. It is perfectly fine. If it was the default policy when
configuring a TLS aware resolver unless configured to be *less secure*
explicitly, certainly so.

>
>>>> Why not detect that as an attack or as outright
>>>> network censorship?
>>>
>>> We could add such detection, but only if the value outweighs the
>>> complexity
>>> and possible failure modes.
>>
>> If the TLS connection fails to complete (authenicated or not), it
>> should be as simple as returning something like E_CENSORSHIP_DETECTED.
>
> It is reasonable for the policy to suggest that a later API might be able to
> detect which level of protection, if any, the user has gotten.

I like the idea of a notice but I prefer the idea of explicitly
ensuring that one has configured a privacy DNS resolver - thus - it
seems the API needs to consider this from the start.

>
>> An error like "Unable to connect securely to resolver, please contact
>> your ISP" would be fine.
>
> And you might want to only use applications that use that later API.
>
>> Most OSes don't do anything remotely helpful when DNS fails. It might
>> be nice if that failure mode was privacy preserving...
>
> It might be, yes.
>
>>>> This seems to fail if there is an active attacker that blocks TLS
>>>> traffic - is there a way for the resolver to somehow learn in-band on
>>>> port 53 that this attack is happening?
>>>
>>> Probably, but you still haven't said what value there is in knowing that.
>>> A
>>> stub resolver has no log and no way of alerting anyone that it
>>> discovered
>>> something important.
>>
>> If my resolver allows upgrading to a secure method of communication,
>> I'd like to know. Furthermore, I'd like to automatically upgrade to
>> that secure communications path if it was available. An OS could probe
>> for a specific record type - similar to say, version.txt.
>>
>> e.g.: nslookup -q=txt -class=CHAOS query.privacy.bind.
>>
>> It could even learn the likely fingerprint of the server ala DANE, for
>> example.
>
> Once we have privacy for all types of stub resolvers, it could certainly be
> useful for a few people who have security-aware validating stub resolvers to
> have that information. It is an easy follow-on for those who care about it.
>

I think a key thing is that we need a way to discover that an already
configured stub resolver supports this kind of confidentiality. When
the stub software updates, the resolver that is already configured
could be upgraded to use the privacy preserving path, for example.

All the best,
Jacob


From nobody Wed Aug 20 07:01:04 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 486C21A03CA for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:00:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.218
X-Spam-Level: 
X-Spam-Status: No, score=-2.218 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.668] 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 Gbim775_GXQT for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:00:54 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7F481A03BC for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:00:50 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id F051528066A; Wed, 20 Aug 2014 16:00:44 +0200 (CEST)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162]) by mx4.nic.fr (Postfix) with ESMTP id EBC84280661; Wed, 20 Aug 2014 16:00:44 +0200 (CEST)
Received: from bortzmeyer.nic.fr (unknown [IPv6:2001:67c:1348:7::86:133]) by relay1.nic.fr (Postfix) with ESMTP id DFAE14C00AC; Wed, 20 Aug 2014 16:00:14 +0200 (CEST)
Date: Wed, 20 Aug 2014 16:00:14 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Hosnieh Rafiee <ietf@rozanak.com>
Message-ID: <20140820140014.GC12317@nic.fr>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <008c01cfbbe2$2e666820$8b333860$@rozanak.com>
X-Operating-System: Debian GNU/Linux jessie/sid
X-Kernel: Linux 3.14-1-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/BEI9Jh8vraYVPwEdkZlIErp99hw
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:00:55 -0000

On Tue, Aug 19, 2014 at 09:17:10PM +0200,
 Hosnieh Rafiee <ietf@rozanak.com> wrote 
 a message of 59 lines which said:

> If you think when your domain is signed by DNSSEC, a fake resolver
> cannot cause any problem for you, I gives you an example. 

[Andrew Sullivan explained why this example depends on a lack of
understanding of DNSSEC.]

> But this is not a case for resolver scenario where the attacker can
> actively introduced himself as a resolver. 

[Paul Wouters already explained that it makes no sense to authentify a
DHCP-obtained resolver - since DHCP itself is not secure. You
authentify hard-wired resolvers only.]


From nobody Wed Aug 20 07:20:58 2014
Return-Path: <hosnieh.rafiee@huawei.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 6F68C1A03D1 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:20:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 Dty8G2bS_RLL for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:20:52 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1ADB81A03C5 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:20:51 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml401-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIL32949; Wed, 20 Aug 2014 14:20:49 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml401-hub.china.huawei.com ([10.201.5.240]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 15:20:42 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: Ac+74izFesB7iTWZT+ajsxZfCc/giwAlIHoAAAKEPLA=
Date: Wed, 20 Aug 2014 14:20:41 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr>
In-Reply-To: <20140820140014.GC12317@nic.fr>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/l1cG-wc7BMh6jBuAH4VnHg8r1Co
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:20:56 -0000

Hi Stephane,

> On Tue, Aug 19, 2014 at 09:17:10PM +0200,  Hosnieh Rafiee
> <ietf@rozanak.com> wrote  a message of 59 lines which said:
>=20
> > If you think when your domain is signed by DNSSEC, a fake resolver
> > cannot cause any problem for you, I gives you an example.
>=20
> [Andrew Sullivan explained why this example depends on a lack of
> understanding of DNSSEC.]

Probably I could not explain exactly my meaning.  Please check my answer to=
 Carsten and the revised version of that sample.

The important thing is stub resolver is not recursive resolver and the expe=
ctation of querying different authoritative DNSSEC server for this verifica=
tion seems to be impractical.=20

=20
> > But this is not a case for resolver scenario where the attacker can
> > actively introduced himself as a resolver.
>=20
> [Paul Wouters already explained that it makes no sense to authentify a
> DHCP-obtained resolver - since DHCP itself is not secure. You
> authentify hard-wired resolvers only.]

:-) and my answer was that in this case, it does not make sense to do any e=
ncryption because we are boiling the ocean water as the observer already ca=
n play a role of resolver and access the data that we try to hide him.
My other answer was also was the attempts to secure DHCP and authentication=
.=20

Encryption without authentication is like someone hide his head in the sand=
 and assume that he has privacy while others can see his body clearly.=20

Best,
Hosnieh


From nobody Wed Aug 20 07:23:49 2014
Return-Path: <jacob@appelbaum.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 96DEF1A03B9 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.079
X-Spam-Level: 
X-Spam-Status: No, score=-0.079 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 nm49n56ZqDUO for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:23:46 -0700 (PDT)
Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E62A1A03C2 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:23:46 -0700 (PDT)
Received: by mail-qg0-f46.google.com with SMTP id z60so3872087qgd.19 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:23:43 -0700 (PDT)
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=FCO+ADASNN84+1DY0ffFUVyt8siTyRGOmrZW2e8DYjg=; b=UD0MbqmyKX5/0jSLSvfs+m7libignvcg7rzAPX4gzUcYsSKZS2RM+yrb/LojdIsw+h QiW38nWAMmTW6aauKstDJOMqztctMF90UTGy0MXWLoeWVs5kklZgSPy3OfD0GIKfm5sL +Vb1vPEM0LHwu+rp+gYhCvCxmRpQS9iN8Hs3sio/yrq7+Y0dOpIcnq/88sl4GhaF+OD5 TkFNxQmlcyGNVh+U9kbQSHWN3tZ5WqFtzgdYZCiKlMoQIK2upGmjCvM38MQMPGd0ThOK E28arOdLRspVAZPsTJh/zCfzvt2IBRp9Cr/qYzzUr0lPr3hXr/8HfvmK+mNph78GWLQA w/rA==
X-Gm-Message-State: ALoCoQnm4IeB95/WoYnrCgLDi9obm4iBtq+W1kqFCsZoawXqnr1taW8jJnpoDjlAOrir4tGxo9sb
MIME-Version: 1.0
X-Received: by 10.140.106.225 with SMTP id e88mr73978873qgf.20.1408544623273;  Wed, 20 Aug 2014 07:23:43 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 07:23:42 -0700 (PDT)
X-Originating-IP: [212.129.13.123]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
Date: Wed, 20 Aug 2014 14:23:42 +0000
Message-ID: <CAFggDF2Mhr3bCG39JxH93eC8PCVvb1J5yYV44zi=UMTJrfQr7A@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/nLjfr5d_H7ncgp9fpMyxGN5MzEs
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:23:47 -0000

> Encryption without authentication is like someone hide his head in the sand
> and assume that he has privacy while others can see his body clearly.

You will not know if I will authenticate until you've attacked my
traffic. This is game over for an attacker that must go undetected.
Encryption puts their head in the sand and if they try to pull it out,
they risk detection at a non-zero cost.

Make them pay.

All the best,
Jacob


From nobody Wed Aug 20 07:28:56 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 C53B91A03D4 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:28:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.218
X-Spam-Level: 
X-Spam-Status: No, score=-2.218 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.668] 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 8RrRmm7V9UBg for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:28:53 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DF3C1A03D1 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:28:53 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id DA220280661; Wed, 20 Aug 2014 16:28:51 +0200 (CEST)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162]) by mx4.nic.fr (Postfix) with ESMTP id CDB6128065D; Wed, 20 Aug 2014 16:28:51 +0200 (CEST)
Received: from bortzmeyer.nic.fr (unknown [IPv6:2001:67c:1348:7::86:133]) by relay1.nic.fr (Postfix) with ESMTP id C03F74C00AC; Wed, 20 Aug 2014 16:28:21 +0200 (CEST)
Date: Wed, 20 Aug 2014 16:28:21 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Message-ID: <20140820142821.GA23090@nic.fr>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
X-Operating-System: Debian GNU/Linux jessie/sid
X-Kernel: Linux 3.14-1-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/5mVWyYWzcVMPpHW4XP4c1VZ2oUE
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:28:54 -0000

On Wed, Aug 20, 2014 at 02:20:41PM +0000,
 Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote 
 a message of 37 lines which said:

> Probably I could not explain exactly my meaning.  Please check my
> answer to Carsten and the revised version of that sample.

Yes and you made the same mistake, as Carsten patiently explained to
you.


From nobody Wed Aug 20 07:32:52 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 D4E131A03D1 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:32:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 ak7DnL6E4Vz6 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:32:49 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4EB81A03C3 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:32:49 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id E75DE82E12; Wed, 20 Aug 2014 10:32:48 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408545168; bh=ziTyexp6dAonhZXz1fJ3bP9RCxSr8gfyMHDGsYX3USA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=pI8dc/Pw0ze56Em/u4qXjczmlYUHfudA+oJoEnUAwxH8Te5MQD23EREfl+PccVZNZ QYh9MOQWbFdR2Xg0eHLOYBkjF3lHmTD2gPqcmJJPS42j2S9vsh6Ga8U7LKZgpGTFdz +1qsqbsKYmG2xg4Pk06tnNHySzBOW8eElbrXM4Eg=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7KEWmbQ022055; Wed, 20 Aug 2014 10:32:48 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Wed, 20 Aug 2014 10:32:48 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com>
Message-ID: <alpine.LFD.2.10.1408201029340.19718@bofh.nohats.ca>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.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/t7ueUdj1lGk_VBw_6IX6irf1nkc
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:32:51 -0000

On Wed, 20 Aug 2014, Hosnieh Rafiee wrote:

> The important thing is stub resolver is not recursive resolver and the expectation of querying different authoritative DNSSEC server for this verification seems to be impractical.

So you have two choices in that case:
1 Become a dnssec validating resolver
2 Setup a VPN to a validating resolver you trust

Both are out of scope for this draft.


>> [Paul Wouters already explained that it makes no sense to authentify a
>> DHCP-obtained resolver - since DHCP itself is not secure. You
>> authentify hard-wired resolvers only.]
>
> :-) and my answer was that in this case, it does not make sense to do any encryption because we are boiling the ocean water as the observer already can play a role of resolver and access the data that we try to hide him.

No, an OBSERVER cannot. Only an active attacker can. In the absence of
2) that is the best you can do, and this draft says it is the best you
SHOULD do.

> Encryption without authentication is like someone hide his head in the sand and assume that he has privacy while others can see his body clearly.

With nation state monitoring out of control, this is not true.
Especially when using non-local resolvers like 8.8.8.8.

Paul


From nobody Wed Aug 20 07:34:59 2014
Return-Path: <ajs@anvilwalrusden.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 E50C21A040A for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:34:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.758
X-Spam-Level: *
X-Spam-Status: No, score=1.758 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 l1we4DPkq_Zv for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:34:56 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8B231A03F0 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:34:56 -0700 (PDT)
Received: from mx1.yitter.info (nat-08-mht.dyndns.com [216.146.45.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id 44F528A031 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 14:34:55 +0000 (UTC)
Date: Wed, 20 Aug 2014 10:34:53 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140820143453.GD1065@mx1.yitter.info>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ae2idDRyVoBUOc2CK4gRU1q4VXQ
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 14:34:58 -0000

On Wed, Aug 20, 2014 at 12:06:29AM +0200, Hosnieh Rafiee wrote:
> 1-  Opportunistic encryption is not appropriate for the privacy of stub
> resolver to recursive resolver scenario unless the node has a possibility to
> authenticate this resolver.

I don't think this is true.  The point of the encryption independent
of authentication is for the case where you've decided to accept the
risk that your upstream resolver isn't actually trustworthy, and have
decided to trust it anyway.  You're welcome to say, "That's a bad
decision," but I don't think you've provided a reason that others
can't make that trade-off reasonably.

> If you think when your domain is signed by DNSSEC, a fake resolver cannot
> cause any problem for you

This has nothing at all to do with DNSSEC.  I think you're just
muddying the waters by bringing DNSSEC into it.  It is _certainly_
true that you can't trust DNSSEC validation without knowing exactly
who did the validation and having an authenticated channel to that.
That's completely unrelated to the privacy argument for
stub-to-resolver encryption.

Best regards,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Wed Aug 20 07:35:57 2014
Return-Path: <hosnieh.rafiee@huawei.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 A3C331A03F6 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:35:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 dCnG4YeQ4gnD for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:35:54 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 127FF1A03F0 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:35:53 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BLM10105; Wed, 20 Aug 2014 14:35:46 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 15:35:43 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: Ac+74izFesB7iTWZT+ajsxZfCc/giwAlIHoAAAKEPLD///JsAP//7ulA
Date: Wed, 20 Aug 2014 14:35:42 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A28511@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com> <CAFggDF2Mhr3bCG39JxH93eC8PCVvb1J5yYV44zi=UMTJrfQr7A@mail.gmail.com>
In-Reply-To: <CAFggDF2Mhr3bCG39JxH93eC8PCVvb1J5yYV44zi=UMTJrfQr7A@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ye-7Z3Bni3Ol-bv9OaXl_11GQgo
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 14:35:55 -0000

SGkgSmFjb2IsDQoNCj4gDQo+IFlvdSB3aWxsIG5vdCBrbm93IGlmIEkgd2lsbCBhdXRoZW50aWNh
dGUgdW50aWwgeW91J3ZlIGF0dGFja2VkIG15DQo+IHRyYWZmaWMuIFRoaXMgaXMgZ2FtZSBvdmVy
IGZvciBhbiBhdHRhY2tlciB0aGF0IG11c3QgZ28gdW5kZXRlY3RlZC4NCj4gRW5jcnlwdGlvbiBw
dXRzIHRoZWlyIGhlYWQgaW4gdGhlIHNhbmQgYW5kIGlmIHRoZXkgdHJ5IHRvIHB1bGwgaXQgb3V0
LA0KPiB0aGV5IHJpc2sgZGV0ZWN0aW9uIGF0IGEgbm9uLXplcm8gY29zdC4NCj4gDQo+IE1ha2Ug
dGhlbSBwYXkuDQoNCklmIHlvdSB1c2UgdGhhdCBraW5kIG9mIGVuY3J5cHRpb24gd2l0aG91dCBh
dXRoZW50aWNhdGlvbiBpbiBvdGhlciBzY2VuYXJpbywgSSB3b3VsZCBhZ3JlZSB3aXRoIHlvdSB0
aGF0IGl0IGhlbHBzIGJlY2F1c2Ugb25seSB0aGUgZmlyc3QgcG9pbnQgb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bndhbnRlZCBwZXJzb24gdG8gZWF2ZXNk
cm9wLiAgIA0KDQpCZXN0LA0KSG9zbmllaA0K


From nobody Wed Aug 20 07:53:56 2014
Return-Path: <paul.hoffman@vpnc.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 480CA1A040D for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:53:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4_3dlvK9DSil for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 07:53:52 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 362841A03FE for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 07:53:52 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7KErkmt006709 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Aug 2014 07:53:48 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com>
Date: Wed, 20 Aug 2014 07:53:45 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/JPySH6FABzScLrf0oZrWrkI9_TU
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 14:53:54 -0000

On Aug 20, 2014, at 6:30 AM, Jacob Appelbaum <jacob@appelbaum.net> =
wrote:

> On 8/19/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
>> [[ Combined PaulW's and Jacob's responses ]]
>>=20
>> On Aug 19, 2014, at 2:01 PM, Paul Wouters <paul@nohats.ca> wrote:
>>=20
>>> On Tue, 19 Aug 2014, Paul Hoffman wrote:
>>>=20
>>>>> I wonder this 'MUST' may be too strong (or I don't fully =
understand
>>>>> the sense of this MUST).  Since the upstream recursive resolver =
may or
>>>>> may not support the TLS extension, the DNS forwarder may end up =
giving
>>>>> up the resolution altogether.  But depending on the stub clients'
>>>>> policy it may be still better to provide encryption between the =
stub
>>>>> and the forwarder.
>>>>=20
>>>> Good catch. Proposed replacement to handle the case where the =
recursive
>>>> resolver doesn't do TLS:
>>>>=20
>>>> A stub resolver cannot tell whether it is sending queries to a
>>>> recursive resolver or to a DNS forwarder.  Therefore, a DNS =
forwarder
>>>> that acts as a TLS server for DNS requests MUST also attempt to act =
as a
>>>> TLS
>>>> client for queries to its upstream recursive resolvers, but MAY
>>>> use the normal DNS protocol on port 53 if an upstream recursive
>>>> resolver does set up a TLS session.
>>>=20
>>> A resolver at a coffee shop is mostly concerned about protecting the =
DNS
>>> in the public wifi, and might not worry at all about its DSL uplink,
>>> especially when it has no real reason to trust its own uplink. So I
>>> would just make it very generic:
>>>=20
>>> a DNS forwarder that acts as a TLS server for DNS requests SHOULD
>>> attempt to use TLS with its upstream resolver(s) to maximize the
>>> anonymity of its stub clients.
>>=20
>> I'm fine with that as a replacement for my suggestion above.
>=20
> I'd switch this to say 'confidentiality' rather than anonymity.
> Anonymity is a much stronger claim which I adore but it seems out of
> place here.

Good catch, yes.

>>>> Sure, let's be explicit. Proposed addition to the policy section:
>>>>=20
>>>> If a recursive resolver does not respond on port 443 or set up a =
TLS
>>>> session, the stub resolver MAY use the normal DNS protocol on port =
53.
>>>=20
>>> MAY sounds a little odd here. If there is no preconfiguration for
>>> authenticating this resolver, I don't think we should advise
>>> stubs to refuse to do DNS completely, which is what the MAY is
>>> suggesting as a valid option. (this is breaking the "opportunistic
>>> security design pattern recommendation advise" :)
>>>=20
>>> How about:
>>>=20
>>> 	If a recursive resolver for which an authentication method is
>>> 	available does not respond on port 443 or fails to set up a TLS
>>> 	session, the stub resolver SHOULD NOT use that resolver over
>>> 	unencrypted DNS using port 53. If no authentication method is
>>> 	available for the recusive resolver, the stub resolver SHOULD
>>> 	fallback to using cleartext DNS on port 53.
>>=20
>> That seems mixed up. I think the policies we want to list are:
>>=20
>> a) Must have authenticated TLS, otherwise don't get any DNS responses
>>=20
>> b) Try to do authenticated TLS, but use unauthenticated TLS if =
possible,
>> otherwise don't get any DNS responses
>>=20
>> c) Try to do authenticated TLS, but use unauthenticated TLS if =
possible, but
>> allow cleartext on port 53 if TLS cannot be established
>>=20
>> Does this seem like the whole list?
>=20
> d) Don't do TLS at all, only try cleartext on port 53 (the sad default
> state of the internet today)

Hrm. That is not really a policy choice for *this draft*, but I see your =
point. I'll add it.

> e) All the other DNS privacy stuff - eg: OpenDNS's encrypted DNS
> stuff, djb's other work, etc.

I can't list a policy that I can't cleanly describe. The OpenDNS folks =
still haven't produced a stable description of their protocol that I can =
find; if they have one, I'm happy to list it. DNScurve doesn't work for =
stub-to-recursive, I don't believe; only recursive-to-authoritative.

>> On Aug 19, 2014, at 1:02 PM, Jacob Appelbaum <jacob@appelbaum.net> =
wrote:
>>=20
>>>>> I'm not a fan of making it possible for an attacker to downgrade =
with
>>>>> a single (non-cryptographically protected) TCP RST packet. If I
>>>>> configure a resolver and declare it to be secure (and use it as =
such),
>>>>> why not fail closed?
>>>>=20
>>>> Because then hosts that use stub resolvers will not be able to use =
the
>>>> DNS
>>>> at all.
>>>=20
>>> That is correct and that is exactly what I expect when my network is
>>> attacking me. Rather than leaking that I'm being visited an ad name
>>> that implies I've visited a gay dating site, I want it to fail =
closed.
>>> If I declare it as secure, I want it to remain secure - where the
>>> security here is all about *confidentiality* and DNSSEC does the =
rest
>>> with regard to integrity, etc.
>>=20
>> I think that would policy (a) listed above. Does that work for you?
>=20
> Yes. It is perfectly fine. If it was the default policy when
> configuring a TLS aware resolver unless configured to be *less secure*
> explicitly, certainly so.

The document is not going to list what a default policy should be.

>>>>> Why not detect that as an attack or as outright
>>>>> network censorship?
>>>>=20
>>>> We could add such detection, but only if the value outweighs the
>>>> complexity
>>>> and possible failure modes.
>>>=20
>>> If the TLS connection fails to complete (authenicated or not), it
>>> should be as simple as returning something like =
E_CENSORSHIP_DETECTED.
>>=20
>> It is reasonable for the policy to suggest that a later API might be =
able to
>> detect which level of protection, if any, the user has gotten.
>=20
> I like the idea of a notice but I prefer the idea of explicitly
> ensuring that one has configured a privacy DNS resolver - thus - it
> seems the API needs to consider this from the start.

If you want to work on an API, that's great. APIs for security have a =
long history of bringing down protocols in the IETF, I don't want the =
API to hold up the protocol. If you get started on it before this =
document is finished, I'm happy to point to your work-in-progress.

>>> An error like "Unable to connect securely to resolver, please =
contact
>>> your ISP" would be fine.
>>=20
>> And you might want to only use applications that use that later API.
>>=20
>>> Most OSes don't do anything remotely helpful when DNS fails. It =
might
>>> be nice if that failure mode was privacy preserving...
>>=20
>> It might be, yes.
>>=20
>>>>> This seems to fail if there is an active attacker that blocks TLS
>>>>> traffic - is there a way for the resolver to somehow learn in-band =
on
>>>>> port 53 that this attack is happening?
>>>>=20
>>>> Probably, but you still haven't said what value there is in knowing =
that.
>>>> A
>>>> stub resolver has no log and no way of alerting anyone that it
>>>> discovered
>>>> something important.
>>>=20
>>> If my resolver allows upgrading to a secure method of communication,
>>> I'd like to know. Furthermore, I'd like to automatically upgrade to
>>> that secure communications path if it was available. An OS could =
probe
>>> for a specific record type - similar to say, version.txt.
>>>=20
>>> e.g.: nslookup -q=3Dtxt -class=3DCHAOS query.privacy.bind.
>>>=20
>>> It could even learn the likely fingerprint of the server ala DANE, =
for
>>> example.
>>=20
>> Once we have privacy for all types of stub resolvers, it could =
certainly be
>> useful for a few people who have security-aware validating stub =
resolvers to
>> have that information. It is an easy follow-on for those who care =
about it.
>>=20
>=20
> I think a key thing is that we need a way to discover that an already
> configured stub resolver supports this kind of confidentiality. When
> the stub software updates, the resolver that is already configured
> could be upgraded to use the privacy preserving path, for example.

That would take an API. I really don't want to force that into this =
document, but as I said above, if you or someone wants to tackle the API =
question, I'm happy to point to it.

--Paul Hoffman=


From nobody Wed Aug 20 08:01:12 2014
Return-Path: <hosnieh.rafiee@huawei.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 3A0951A064B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:01:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 dwATWA9UVVGx for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:01:02 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C07C1A0655 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:00:18 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml402-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIL36256; Wed, 20 Aug 2014 15:00:13 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml402-hub.china.huawei.com ([10.201.5.241]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 16:00:05 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Andrew Sullivan <ajs@anvilwalrusden.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Thread-Topic: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: Ac+75MgogK9rLesYRS6TfLkL0S8e/gAEyMDwACDmrYAAAikkgA==
Date: Wed, 20 Aug 2014 15:00:05 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info>
In-Reply-To: <20140820143453.GD1065@mx1.yitter.info>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/wmlqQFRE7bOzxyatfVCdHLM-Tes
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:01:08 -0000

Hi Andrew,

> On Wed, Aug 20, 2014 at 12:06:29AM +0200, Hosnieh Rafiee wrote:
> > 1-  Opportunistic encryption is not appropriate for the privacy of
> > stub resolver to recursive resolver scenario unless the node has a
> > possibility to authenticate this resolver.

> I don't think this is true.  The point of the encryption independent of
> authentication is for the case where you've decided to accept the risk
> that your upstream resolver isn't actually trustworthy, and have
> decided to trust it anyway.  You're welcome to say, "That's a bad
> decision," but I don't think you've provided a reason that others can't
> make that trade-off reasonably.

I provided several reason that the observer doesn't exist. It bothers nobod=
y and not easily detectable when an observer change his role to an active a=
ttacker. it is not easy to detect even an active fake resolver. He can only=
 be active for a certain time and stop when he retrieve information he need=
s.=20
In public network, there is no control over this... so he can do whatever h=
e want and leave the network silently.
In private network like an enterprise, you colleague only filter your reque=
st and answer to the request of your computer and then play a role of resol=
ver.
There is one question here. Why do you want to encrypt the communication be=
tween your stub resolver and the resolver?
Let me gives you some hints.. because...
1- the node is in an unsecure environment and you do not want that others s=
ee where you connect
2- the node is in secure environment but you do not want that your colleagu=
e see where you connect

Answers:
1- If you are in unsecure environment either there is someone who intereste=
d in all information and instead of observing, change his role and introduc=
e himself as a resolver. So encryption ends to him. Then the question is wh=
o you hide your data from? Why did you bother yourself to encrypt your mess=
age?
2- If you are in a secure environment either your colleague is interested t=
o receive your data, then he again do not play a role of observer and chang=
e it to active attack.

What I tried to explain here is that an observer role doesn't make sense in=
 resolver scenario. Someone observe something when he has no possibility to=
 do other things or wants to gather information for further attacks. If it =
is a real attacker, he knows how to change his role to a resolver and gathe=
r all information. Then you protect the data from whom?



> > If you think when your domain is signed by DNSSEC, a fake resolver
> > cannot cause any problem for you
>=20
> This has nothing at all to do with DNSSEC.  I think you're just
> muddying the waters by bringing DNSSEC into it.  It is _certainly_ true
> that you can't trust DNSSEC validation without knowing exactly who did
> the validation and having an authenticated channel to that.
> That's completely unrelated to the privacy argument for stub-to-
> resolver encryption.

DNSSEC just came to this game when some folks say that DNSSEC can protect t=
his and they only need encryption.=20

And my answer was only to those folks that DNSSEC cannot do this at the mom=
ent and will not be able to process this easily because
- it is complex...

So, here are some assumption that might never happen and there is a theory =
that dependent to those assumption.=20
It is like having a plan of building that there is no bricks to complete it=
 and everything is like a dream.

Best,
Hosnieh




From nobody Wed Aug 20 08:03:14 2014
Return-Path: <jacob@appelbaum.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 92BF51A0649 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:02:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 8TsF8E7g2-o8 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:02:55 -0700 (PDT)
Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46A981A0644 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:02:32 -0700 (PDT)
Received: by mail-qa0-f44.google.com with SMTP id f12so7064572qad.31 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:02:31 -0700 (PDT)
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=g+c6yTPq/Qu4HxTCSTMcb236CluoiU9qZraUskV4Z/I=; b=iSwftgPggbqnsDFIDzeV0vxAH+LQq9cJ3iwjxSGxmagWO+L+IzgtKf5wSbNjmx+1IY 0tOewKwC9tQ1Ws5sSNZ0MbzrvPojzOmsMlSTdGyw1Qo9+o4QxR3CzwTALMpMEKOUr/xH n9a0OWHa1Nv6l8nSwKmq0NAsR6kg410OLQVmCOGy357SEMFWWenHdF15rDq9mE0Xc1QA eUknKwJIuz8jVGgRMu8eC9LCUaCsTwaFC5HNEN7mlNmYZvZ5+mu6bqeU/QEuuT1ilPFc lsTXeWTzrBJuzNhd/kmXGA4jHhHczVZuF4wToRe6r5GktrTpwtgLGWOS3643QcnTSvqW t16g==
X-Gm-Message-State: ALoCoQlXB8T4PY+9yaufG/ePknTBnoO7RLoqS7i6NRGiU7LFelSVfTtHHVNBuB098cy9aii6eHUV
MIME-Version: 1.0
X-Received: by 10.224.136.70 with SMTP id q6mr78898752qat.14.1408546950662; Wed, 20 Aug 2014 08:02:30 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 08:02:30 -0700 (PDT)
X-Originating-IP: [23.254.201.28]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A28511@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com> <CAFggDF2Mhr3bCG39JxH93eC8PCVvb1J5yYV44zi=UMTJrfQr7A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A28511@lhreml513-mbb.china.huawei.com>
Date: Wed, 20 Aug 2014 15:02:30 +0000
Message-ID: <CAFggDF1dj7L48DEc6PVPc+nkLyvQbjr=q0g+E1ckWnuYtfhp5A@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/rv3Ov6zC00dhaoh810Bj8u2Wbtw
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 15:02:57 -0000

On 8/20/14, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote:
> Hi Jacob,
>
>>
>> You will not know if I will authenticate until you've attacked my
>> traffic. This is game over for an attacker that must go undetected.
>> Encryption puts their head in the sand and if they try to pull it out,
>> they risk detection at a non-zero cost.
>>
>> Make them pay.
>
> If you use that kind of encryption without authentication in other scenario,
> I would agree with you that it helps because only the first point of
> communication the attack might happen.

I don't think I understand what you are trying to express in the above
statement. Could you rephrase it?

>
> But here for resolver.. ..NO..., this is not the first point. Either the
> attacker is prepared to receive your information or not. If he is prepared,
> he is already your resolver and you connect directly to him and hand on your
> data to him.

This is false. Sniffers are not always on the same path as injectors.
A sniffer is not a resolver. A resolver may be malicious. The network
may try to impersonate my resolver. In the second case, I'd like a way
to detect that someone is trying to impersonate (eg: authentication
via DANE record, etc) my resolver. In the first case, I'll use a
resolver that I trust.

> Then who are you afraid to retrieve your data??

I'm not sure that I understand your quesiton?

> if he is not ready to retrieve your data or eavesdrop, then since this
> communication is not continuous and only there is two messages exchanged
> with the DNS resolver, then he has no chance to receive your data. Did
> encryption help here? No... why? Because the attacker wasn't yet prepared
> otherwise he was your resolver.

Huh?

> In other words, encryption help if there is continuous data exchange for a
> certain time (but not only 2 messages) that might allow unwanted person to
> eavesdrop.

If I configure my stub to trust my recursive resolver from the start,
I should have zero unencrypted connections. If I am a locally
verifying, DNSSEC enabled recursive resolver, I would like the traffic
to look identical (per connection) as if it was from an encrypted stub
resolver.

All the best,
Jacob


From nobody Wed Aug 20 08:12:32 2014
Return-Path: <jacob@appelbaum.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 C33141A0503 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:12:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 d8HN4MoActns for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:12:22 -0700 (PDT)
Received: from mail-qc0-f171.google.com (mail-qc0-f171.google.com [209.85.216.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BC7A1A06AA for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:11:41 -0700 (PDT)
Received: by mail-qc0-f171.google.com with SMTP id r5so7798244qcx.16 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:11:40 -0700 (PDT)
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=tzrlGSUHKdyNjY5+2lGDX4/vLwCm903P2QVCsMyzNjI=; b=cHC0nCXE8seYKaAwgepODrYui9w773WYZpakVzAK3iW/1A31+9VRO4kay756SS74YS GN/vQpzETAgqXNlOs0nVBVGykKurO6t8c2ydXsqgSBFp+juYbBToqhKzbJNQ6Q/W7cGn ZHkghkgkwNwyL1JmWAgydet2f/Gbx3PnXvYvieVf8Sy8btefhqLdCe28DnPSoF/OflP+ LQNWWyc5KU2F93OH3pubYprN0j+rFKaDWXbZFY1jhBMAEiRhp/yhE5v1/ZxKBsHUGsN1 VKuHGKD5dITQauBRGM9b3ao/sYdW4dBosoQxXVcbQnD4wyg3Ui/FoaaCnilebsX3vzcE R4zA==
X-Gm-Message-State: ALoCoQnRI7EQc0YwA6M64z3rMeZBg5g/B93ITbP4t4R4U5EintvswFajPIcYTeWcvWygIOKtZ+im
MIME-Version: 1.0
X-Received: by 10.229.212.194 with SMTP id gt2mr78475985qcb.6.1408547500357; Wed, 20 Aug 2014 08:11:40 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 08:11:40 -0700 (PDT)
X-Originating-IP: [178.32.181.110]
In-Reply-To: <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org>
Date: Wed, 20 Aug 2014 15:11:40 +0000
Message-ID: <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/R7mXYRaZQfCicPToCknbqFAc_Bc
Cc: dns-privacy@ietf.org, David Ulevitch <david@opendns.com>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:12:27 -0000

On 8/20/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> On Aug 20, 2014, at 6:30 AM, Jacob Appelbaum <jacob@appelbaum.net> wrote:
>
>> On 8/19/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
>>> [[ Combined PaulW's and Jacob's responses ]]
>>>
>>> On Aug 19, 2014, at 2:01 PM, Paul Wouters <paul@nohats.ca> wrote:
>>>
>>>> On Tue, 19 Aug 2014, Paul Hoffman wrote:
>>>>
>>>>>> I wonder this 'MUST' may be too strong (or I don't fully understand
>>>>>> the sense of this MUST).  Since the upstream recursive resolver may
>>>>>> or
>>>>>> may not support the TLS extension, the DNS forwarder may end up
>>>>>> giving
>>>>>> up the resolution altogether.  But depending on the stub clients'
>>>>>> policy it may be still better to provide encryption between the stub
>>>>>> and the forwarder.
>>>>>
>>>>> Good catch. Proposed replacement to handle the case where the
>>>>> recursive
>>>>> resolver doesn't do TLS:
>>>>>
>>>>> A stub resolver cannot tell whether it is sending queries to a
>>>>> recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
>>>>> that acts as a TLS server for DNS requests MUST also attempt to act as
>>>>> a
>>>>> TLS
>>>>> client for queries to its upstream recursive resolvers, but MAY
>>>>> use the normal DNS protocol on port 53 if an upstream recursive
>>>>> resolver does set up a TLS session.
>>>>
>>>> A resolver at a coffee shop is mostly concerned about protecting the
>>>> DNS
>>>> in the public wifi, and might not worry at all about its DSL uplink,
>>>> especially when it has no real reason to trust its own uplink. So I
>>>> would just make it very generic:
>>>>
>>>> a DNS forwarder that acts as a TLS server for DNS requests SHOULD
>>>> attempt to use TLS with its upstream resolver(s) to maximize the
>>>> anonymity of its stub clients.
>>>
>>> I'm fine with that as a replacement for my suggestion above.
>>
>> I'd switch this to say 'confidentiality' rather than anonymity.
>> Anonymity is a much stronger claim which I adore but it seems out of
>> place here.
>
> Good catch, yes.
>
>>>>> Sure, let's be explicit. Proposed addition to the policy section:
>>>>>
>>>>> If a recursive resolver does not respond on port 443 or set up a TLS
>>>>> session, the stub resolver MAY use the normal DNS protocol on port 53.
>>>>
>>>> MAY sounds a little odd here. If there is no preconfiguration for
>>>> authenticating this resolver, I don't think we should advise
>>>> stubs to refuse to do DNS completely, which is what the MAY is
>>>> suggesting as a valid option. (this is breaking the "opportunistic
>>>> security design pattern recommendation advise" :)
>>>>
>>>> How about:
>>>>
>>>> 	If a recursive resolver for which an authentication method is
>>>> 	available does not respond on port 443 or fails to set up a TLS
>>>> 	session, the stub resolver SHOULD NOT use that resolver over
>>>> 	unencrypted DNS using port 53. If no authentication method is
>>>> 	available for the recusive resolver, the stub resolver SHOULD
>>>> 	fallback to using cleartext DNS on port 53.
>>>
>>> That seems mixed up. I think the policies we want to list are:
>>>
>>> a) Must have authenticated TLS, otherwise don't get any DNS responses
>>>
>>> b) Try to do authenticated TLS, but use unauthenticated TLS if possible,
>>> otherwise don't get any DNS responses
>>>
>>> c) Try to do authenticated TLS, but use unauthenticated TLS if possible,
>>> but
>>> allow cleartext on port 53 if TLS cannot be established
>>>
>>> Does this seem like the whole list?
>>
>> d) Don't do TLS at all, only try cleartext on port 53 (the sad default
>> state of the internet today)
>
> Hrm. That is not really a policy choice for *this draft*, but I see your
> point. I'll add it.
>

Ok. Sounds great - I'm looking forward to reading the updated draft!

>> e) All the other DNS privacy stuff - eg: OpenDNS's encrypted DNS
>> stuff, djb's other work, etc.
>
> I can't list a policy that I can't cleanly describe. The OpenDNS folks still
> haven't produced a stable description of their protocol that I can find; if
> they have one, I'm happy to list it. DNScurve doesn't work for
> stub-to-recursive, I don't believe; only recursive-to-authoritative.
>

Really? I'm surprised. I've cc'ed David Ulevitch - perhaps he or
someone at OpenDNS can chime in with something helpful here?

>>> On Aug 19, 2014, at 1:02 PM, Jacob Appelbaum <jacob@appelbaum.net>
>>> wrote:
>>>
>>>>>> I'm not a fan of making it possible for an attacker to downgrade with
>>>>>> a single (non-cryptographically protected) TCP RST packet. If I
>>>>>> configure a resolver and declare it to be secure (and use it as
>>>>>> such),
>>>>>> why not fail closed?
>>>>>
>>>>> Because then hosts that use stub resolvers will not be able to use the
>>>>> DNS
>>>>> at all.
>>>>
>>>> That is correct and that is exactly what I expect when my network is
>>>> attacking me. Rather than leaking that I'm being visited an ad name
>>>> that implies I've visited a gay dating site, I want it to fail closed.
>>>> If I declare it as secure, I want it to remain secure - where the
>>>> security here is all about *confidentiality* and DNSSEC does the rest
>>>> with regard to integrity, etc.
>>>
>>> I think that would policy (a) listed above. Does that work for you?
>>
>> Yes. It is perfectly fine. If it was the default policy when
>> configuring a TLS aware resolver unless configured to be *less secure*
>> explicitly, certainly so.
>
> The document is not going to list what a default policy should be.

OK.

Perhaps it would be useful to state assumptions about what a different
policy means?

If a user manually configures a confidential server (and loads the
fingerprint or learns the key with DANE) - it is expected that an
implementation MUST fail closed? I think this is what happens when you
use the OpenDNS resolver with their crypto implementation. I don't
think it falls back to plaintext.

>
>>>>>> Why not detect that as an attack or as outright
>>>>>> network censorship?
>>>>>
>>>>> We could add such detection, but only if the value outweighs the
>>>>> complexity
>>>>> and possible failure modes.
>>>>
>>>> If the TLS connection fails to complete (authenicated or not), it
>>>> should be as simple as returning something like E_CENSORSHIP_DETECTED.
>>>
>>> It is reasonable for the policy to suggest that a later API might be able
>>> to
>>> detect which level of protection, if any, the user has gotten.
>>
>> I like the idea of a notice but I prefer the idea of explicitly
>> ensuring that one has configured a privacy DNS resolver - thus - it
>> seems the API needs to consider this from the start.
>
> If you want to work on an API, that's great. APIs for security have a long
> history of bringing down protocols in the IETF, I don't want the API to hold
> up the protocol. If you get started on it before this document is finished,
> I'm happy to point to your work-in-progress.

I think you have a compelling point. Let us split the tasks. :)

>
>>>> An error like "Unable to connect securely to resolver, please contact
>>>> your ISP" would be fine.
>>>
>>> And you might want to only use applications that use that later API.
>>>
>>>> Most OSes don't do anything remotely helpful when DNS fails. It might
>>>> be nice if that failure mode was privacy preserving...
>>>
>>> It might be, yes.
>>>
>>>>>> This seems to fail if there is an active attacker that blocks TLS
>>>>>> traffic - is there a way for the resolver to somehow learn in-band on
>>>>>> port 53 that this attack is happening?
>>>>>
>>>>> Probably, but you still haven't said what value there is in knowing
>>>>> that.
>>>>> A
>>>>> stub resolver has no log and no way of alerting anyone that it
>>>>> discovered
>>>>> something important.
>>>>
>>>> If my resolver allows upgrading to a secure method of communication,
>>>> I'd like to know. Furthermore, I'd like to automatically upgrade to
>>>> that secure communications path if it was available. An OS could probe
>>>> for a specific record type - similar to say, version.txt.
>>>>
>>>> e.g.: nslookup -q=txt -class=CHAOS query.privacy.bind.
>>>>
>>>> It could even learn the likely fingerprint of the server ala DANE, for
>>>> example.
>>>
>>> Once we have privacy for all types of stub resolvers, it could certainly
>>> be
>>> useful for a few people who have security-aware validating stub resolvers
>>> to
>>> have that information. It is an easy follow-on for those who care about
>>> it.
>>>
>>
>> I think a key thing is that we need a way to discover that an already
>> configured stub resolver supports this kind of confidentiality. When
>> the stub software updates, the resolver that is already configured
>> could be upgraded to use the privacy preserving path, for example.
>
> That would take an API. I really don't want to force that into this
> document, but as I said above, if you or someone wants to tackle the API
> question, I'm happy to point to it.
>

Hrm - would it? I think that we could just add something like "stub
resolvers SHOULD automatically request the following DANE record
foo.bar.baaz.keys.whatver to learn the key for their encrypted
resolver. Recursive resolvers supporting DNSSEC MUST verify that this
record is correctly signed."

Does it need to be more complicated than that? I mean, we'd need to
agree on the record but I suppose there is a PTR record name that
would fit here, no?

All the best,
Jacob


From nobody Wed Aug 20 08:13:58 2014
Return-Path: <hosnieh.rafiee@huawei.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 6E3B51A033C for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:13:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 Co6dI-emydVu for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:13:55 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B889D1A03E2 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:13:04 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml405-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIL37282; Wed, 20 Aug 2014 15:13:03 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml405-hub.china.huawei.com ([10.201.5.242]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 16:13:02 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Paul Wouters <paul@nohats.ca>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: Ac+74izFesB7iTWZT+ajsxZfCc/giwAlIHoAAAKEPLD///T3AP//55Wg
Date: Wed, 20 Aug 2014 15:13:01 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A28586@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408201029340.19718@bofh.nohats.ca>
In-Reply-To: <alpine.LFD.2.10.1408201029340.19718@bofh.nohats.ca>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gr_kjyKbVtEc3e6DKiys6YqcgbE
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 15:13:56 -0000

> On Wed, 20 Aug 2014, Hosnieh Rafiee wrote:
>=20
> > The important thing is stub resolver is not recursive resolver and
> the expectation of querying different authoritative DNSSEC server for
> this verification seems to be impractical.
>=20
> So you have two choices in that case:
> 1 Become a dnssec validating resolver
> 2 Setup a VPN to a validating resolver you trust
>=20
> Both are out of scope for this draft.


Then it appears that everything is out of scope...=20
=20
>=20
> >> [Paul Wouters already explained that it makes no sense to authentify
> >> a DHCP-obtained resolver - since DHCP itself is not secure. You
> >> authentify hard-wired resolvers only.]
> >
> > :-) and my answer was that in this case, it does not make sense to do
> any encryption because we are boiling the ocean water as the observer
> already can play a role of resolver and access the data that we try to
> hide him.
>=20
> No, an OBSERVER cannot. Only an active attacker can. In the absence of
> 2) that is the best you can do, and this draft says it is the best you
> SHOULD do.

Again there is no observer when he can easily have a role of resolver (or a=
ctive attacker) without being detected. There is either an active attacker =
or no one. Please tell me how long does it take that a query sends and rece=
ives. Isn't it more than a few seconds.

Why should I as an attacker waste my time to use wireshark or etc to listen=
 to all queries in a hope that I can receive some information. When I can e=
xecute easier step and retrieve much more information without being detecte=
d?

=20

> > Encryption without authentication is like someone hide his head in
> the sand and assume that he has privacy while others can see his body
> clearly.
>=20
> With nation state monitoring out of control, this is not true.
> Especially when using non-local resolvers like 8.8.8.8.

I presume that the attacker is either inside your own network or where he c=
an access to the network that your DNS messages pass by. In both cases, he =
can easily spoof the IP address of google DNS server and all your traffic g=
oes through him. This is the case where he is interested in your communicat=
ion. So either you encrypt your data or not, he has this access.=20
:-) is attacker a government, then he can again be an active attacker. Who =
can detect him?=20

Best,
Hosnieh


From nobody Wed Aug 20 08:21:17 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 63EBA1A0693 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.218
X-Spam-Level: 
X-Spam-Status: No, score=-2.218 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.668] 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 0AFApRt3D5nP for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:21:09 -0700 (PDT)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFB511A06A8 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:21:08 -0700 (PDT)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id 5725128066A; Wed, 20 Aug 2014 17:21:07 +0200 (CEST)
Received: from relay1.nic.fr (relay1.nic.fr [192.134.4.162]) by mx4.nic.fr (Postfix) with ESMTP id 51534280661; Wed, 20 Aug 2014 17:21:07 +0200 (CEST)
Received: from bortzmeyer.nic.fr (unknown [IPv6:2001:67c:1348:7::86:133]) by relay1.nic.fr (Postfix) with ESMTP id 4EDC24C00AC; Wed, 20 Aug 2014 17:20:37 +0200 (CEST)
Date: Wed, 20 Aug 2014 17:20:36 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Jacob Appelbaum <jacob@appelbaum.net>
Message-ID: <20140820152036.GA28535@nic.fr>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
X-Operating-System: Debian GNU/Linux jessie/sid
X-Kernel: Linux 3.14-1-686-pae i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/-YZFVAS7Em2sHhyKb0tFkTd5w6U
Cc: dns-privacy@ietf.org, Paul Hoffman <paul.hoffman@vpnc.org>, David Ulevitch <david@opendns.com>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:21:15 -0000

On Wed, Aug 20, 2014 at 03:11:40PM +0000,
 Jacob Appelbaum <jacob@appelbaum.net> wrote 
 a message of 236 lines which said:

> > DNScurve doesn't work for stub-to-recursive, I don't believe; only
> > recursive-to-authoritative.
> >
> 
> Really? 

Yes.

> I'm surprised. I've cc'ed David Ulevitch - perhaps he or someone at
> OpenDNS can chime in with something helpful here?

You probably mix DNScurve with its derivative DNScrypt.


From nobody Wed Aug 20 08:23:50 2014
Return-Path: <ajs@anvilwalrusden.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 72D131A0644 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.758
X-Spam-Level: *
X-Spam-Status: No, score=1.758 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 PVknzwI_4N_5 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:23:46 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 360C31A0503 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:23:46 -0700 (PDT)
Received: from mx1.yitter.info (nat-08-mht.dyndns.com [216.146.45.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id 2FAEC8A031 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:23:45 +0000 (UTC)
Date: Wed, 20 Aug 2014 11:23:44 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140820152343.GH1065@mx1.yitter.info>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/7YXErrT9XNbhulb80TyH4uNSRBY
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:23:47 -0000

On Wed, Aug 20, 2014 at 03:00:05PM +0000, Hosnieh Rafiee wrote:

> I provided several reason that the observer doesn't exist. 

No, you provided several reasons why you think this decision is an
unreasonable one.  Prior to the evidence from a couple years ago that
national governments were doing wide-spread vacuuming up of everything
they could by perfoming passive attack through the means of tapping
lines and so on, the position you are taking was entirely reasonable.
But in the face of that evidence, some people have decided that, even
if they can't protect themselves reliably all the time, they get
enough marginal benefit from privacy to do it whenever they can, even
if it's not perfect and not terribly hard to subvert.

In other words, you are basically arguing that the benefit that will
accrue from this technique is not enough given the costs.  Others
disagree with you.  Your argument only works if we accept your premise
that the benefit is not worth the cost; if we evaluate the benefit
differently, then the cost might be acceptable.

> What I tried to explain here is that an observer role doesn't make sense in resolver scenario. 

Except that we have an existence proof that it does.


> DNSSEC just came to this game when some folks say that DNSSEC can protect this and they only need encryption.

If you had strong authentication of the resolver, then this would be
true.  Since TSIG (which I expect you remember) or SIG(0) can solve
the authentication part, then in fact the only thing you would need
_is_ encryption, and then you could rely on the DNSSEC piece as well.

Best regards,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Wed Aug 20 08:39:18 2014
Return-Path: <hosnieh.rafiee@huawei.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 F2F631A0AD7 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 Bp-6uEJ2yWVx for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:39:11 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29F501A0718 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:38:51 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIL39119; Wed, 20 Aug 2014 15:38:46 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 16:38:41 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Andrew Sullivan <ajs@anvilwalrusden.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Thread-Topic: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: Ac+75MgogK9rLesYRS6TfLkL0S8e/gAEyMDwACDmrYAAAikkgP///FwA///ua1A=
Date: Wed, 20 Aug 2014 15:38:41 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info>
In-Reply-To: <20140820152343.GH1065@mx1.yitter.info>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/42EBIUcI1OA7-twbbdMCWzelTOQ
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:39:16 -0000

>=20
> > I provided several reason that the observer doesn't exist.
>=20
> No, you provided several reasons why you think this decision is an
> unreasonable one.  Prior to the evidence from a couple years ago that
> national governments were doing wide-spread vacuuming up of everything
> they could by perfoming passive attack through the means of tapping
> lines and so on, the position you are taking was entirely reasonable.
> But in the face of that evidence, some people have decided that, even
> if they can't protect themselves reliably all the time, they get enough
> marginal benefit from privacy to do it whenever they can, even if it's
> not perfect and not terribly hard to subvert.
>=20
> In other words, you are basically arguing that the benefit that will
> accrue from this technique is not enough given the costs.  Others
> disagree with you.  Your argument only works if we accept your premise
> that the benefit is not worth the cost; if we evaluate the benefit
> differently, then the cost might be acceptable.

True. Because the people who you are scaring from to eavesdrop the communic=
ation already know how you want to process this...

To be clear... IF this approach wasn't public and not known, then you might=
 benefit from it but when something is public and known, what you would do =
as an attacker? Do you still wait in a hope of receiving plain text informa=
tion or easily change your role to a resolver and receive information you w=
ant as it is not hard to detect.

So in long term there is no benefit to use encryption without authenticatio=
n in resolver scenario. =20


> > What I tried to explain here is that an observer role doesn't make
> sense in resolver scenario.
>=20
> Except that we have an existence proof that it does.

It really doesn't... at least in this scenario. Why? Because this approach =
would be standard and well known... So, if anyone (or the whom you're talki=
ng about) before played the observer role now they would change their role =
because they are still interested to receive your data and your node is una=
ble to detect this interceptions since whatever resolver you use is valid b=
y your node either a fake resolver or a real resolver.


> > DNSSEC just came to this game when some folks say that DNSSEC can
> protect this and they only need encryption.
>=20
> If you had strong authentication of the resolver, then this would be
> true.  Since TSIG (which I expect you remember) or SIG(0) can solve the
> authentication part, then in fact the only thing you would need _is_
> encryption, and then you could rely on the DNSSEC piece as well.
>=20

We already know the problem with those approaches and as you said brining D=
NSSEC to this discussion doesn't make sense..

Best,
Hosnieh


From nobody Wed Aug 20 08:41:03 2014
Return-Path: <hosnieh.rafiee@huawei.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 739A41A0427 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:41:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 HYbMbK5ybtg8 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:40:58 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9202D1A06B3 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:40:43 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIL39271; Wed, 20 Aug 2014 15:40:41 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml404-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Wed, 20 Aug 2014 16:40:38 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Thread-Topic: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-00.txt
Thread-Index: AQHPuw4ue5GuYwS/s0GqcZRwuwxj9ZvYK1yAgAAFvgCAAClyAIAAJowAgADtuoCAABdigIAABQIAgAACfwCAABYW4A==
Date: Wed, 20 Aug 2014 15:40:38 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A28610@lhreml513-mbb.china.huawei.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com> <20140820152036.GA28535@nic.fr>
In-Reply-To: <20140820152036.GA28535@nic.fr>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/50dlDjFSyeqiJIOkZ5jS9mGLkoY
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:41:00 -0000

>=20
> > I'm surprised. I've cc'ed David Ulevitch - perhaps he or someone at
> > OpenDNS can chime in with something helpful here?
>=20
> You probably mix DNScurve with its derivative DNScrypt.
>=20

DNScrypt is dependent to DNSSEC. And at the moment doesn't support it as we=
ll.=20



From nobody Wed Aug 20 08:44:38 2014
Return-Path: <jinmei.tatuya@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 930101A03CF for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:44:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level: 
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, 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 gRdRozBHB_zs for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:44:34 -0700 (PDT)
Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E07E1A06A8 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:44:34 -0700 (PDT)
Received: by mail-we0-f169.google.com with SMTP id u56so8045901wes.28 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WpTmjL/A0rZ3hdxzW2H+ZeQ7LIyglL+V3rv7JuE5uUA=; b=XchTz/ayG2DRKg7FbGkALIXv1c/xjbjaLWwCo0vkPo4+kjjA05+FO9G3ZOxT37rsUr gKw2r9p3xC5iQgY6aFb7k/OqUTLoy2YzBM07cyK/ezoc8RmeQzw1apcfUwQ0sMoSPhZC ZwLIHL4lEyRbm0UZ3vsuCySPCGP3cGhCY/hiQU53xbjmSuvBGwWxe9360ywSbz5QhU6a Hi8WlvKjAox4n4179Z4FIFMYqz/F6dAZdkxR6F3Qp2Gy2BbQKO8NjM7nKizNyyun0uht DGazgMq1LmQ3U2bXDBd3ATTD4ijxEbO/6wC679SyPt6FTo2eZs9SuGu58HyCeqN3lcLQ 9z7g==
MIME-Version: 1.0
X-Received: by 10.181.13.116 with SMTP id ex20mr16210560wid.31.1408549471956;  Wed, 20 Aug 2014 08:44:31 -0700 (PDT)
Sender: jinmei.tatuya@gmail.com
Received: by 10.194.123.164 with HTTP; Wed, 20 Aug 2014 08:44:31 -0700 (PDT)
In-Reply-To: <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org>
Date: Wed, 20 Aug 2014 08:44:31 -0700
X-Google-Sender-Auth: XWbS-16YNJAc0dwTENbDpjzo5As
Message-ID: <CAJE_bqeWOM6B2OHQa_TybbDAyBLCkc=vsSscx-fToY06o0qq9w@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/4vYn_u2Lv0althpB0sYVrXhUogY
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:44:35 -0000

At Tue, 19 Aug 2014 11:32:54 -0700,
Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> >  Is this "security-oblivious stub" the concept defined in RFC 4033?
> >  If so, I think it's helpful to refer to the RFC explicitly.  And,
> >  even if so, I'm not sure how the "security-oblivious"ness
> >  matters in this context.  Some more explanation might be needed.
>
> This was just a leftover from a pre-draft when I was trying to deal with passing validation responses from resolver as well. It should simply have read "A stub resolver MAY..."

Ah, okay.

> > - Section 2.2
> >
> >   A stub resolver cannot tell whether it is sending queries to a
> >   recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
> >   that acts as a TLS server for DNS requests MUST also act as a TLS
> >   client for queries to its upstream recursive resolvers.
> >
> > I wonder this 'MUST' may be too strong
[...]
> Good catch. Proposed replacement to handle the case where the recursive resolver doesn't do TLS:
>
>   A stub resolver cannot tell whether it is sending queries to a
>   recursive resolver or to a DNS forwarder.  Therefore, a DNS forwarder
>   that acts as a TLS server for DNS requests MUST also attempt to act as a TLS
>   client for queries to its upstream recursive resolvers, but MAY
>   use the normal DNS protocol on port 53 if an upstream recursive
>   resolver does set up a TLS session.

This works for me (I realize there's a followup discussion regarding
the possibility of downgrade attacks, on which I don't have a strong
opinion yet).

> > - General: perhaps related to the above points, I wonder what the stub
> >  resolver should do if it finds the recursive server(s) don't support
> >  the TLS extension.  It's probably just another policy matter (it can
> >  simply give up or live with resolution without encryption, etc), but
> >  I think it's worth noting explicitly.
>
> Sure, let's be explicit. Proposed addition to the policy section:
>
> If a recursive resolver does not respond on port 443 or set up a TLS session, the stub resolver MAY use the normal DNS protocol on port 53.

Works for me, too.

--
JINMEI, Tatuya


From nobody Wed Aug 20 08:55:33 2014
Return-Path: <ajs@anvilwalrusden.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 909B41A06FE for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:55:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.141
X-Spam-Level: 
X-Spam-Status: No, score=-0.141 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 MdAdUYEo9t7d for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 08:55:25 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C47731A06B3 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 08:55:25 -0700 (PDT)
Received: from mx1.yitter.info (nat-08-mht.dyndns.com [216.146.45.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id 990808A031 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:55:24 +0000 (UTC)
Date: Wed, 20 Aug 2014 11:55:23 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140820155522.GJ1065@mx1.yitter.info>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/3v2msMFDPM9ea78viVObIulOAtw
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 15:55:30 -0000

On Wed, Aug 20, 2014 at 03:38:41PM +0000, Hosnieh Rafiee wrote:
> 
> So in long term there is no benefit to use encryption without authentication in resolver scenario.  

Let us be concrete.  There are four cases:

1.  A stub that connects to whatever resolver it gets by magic from
DHCP.  

2.  A stub that connects to a specific resolver on the same network as
itself.  This is like your ISP's resolver, when you specifically
configure the resolver.  

3.  A stub that connects to a specific resolver over the public
Internet.  This is like using Google's public DNS service.

4.  A full-service resolver.

In (1), othing can help, because DHCP is kind of trivial to subvert,
so you could be talking to anything.  In (2), your arguments sort of
work, because the attack is localized attempting to snarf _particular_
traffic.  In (3), however, your arguments don't work: the threat is
not actually to particular traffic, but to _all_ traffic; and any
attack that would actually depend on spoofing addresses or the like
would be observable by the service provider, which foils the attack.
In (4), of course, we don't have the problem.  I include it because
the validating stub in effect ends up having to chase most things
itself, so it devolves to this.

Your argument works if one is trying to prevent someone getting
particular traffic.  If the threat, however, is the general snarfing
up of all the traffic towards a particular resolver with the goal of
learning about all of its traffic, then even if some of it leaks
that's not a big deal.  In this case, failing to authenticate the
resolver presents no real additional vulnerability.

Best regards,
 
A
-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Wed Aug 20 09:04:13 2014
Return-Path: <jacob@appelbaum.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 C0E5B1A0453 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:04:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 wo89e_-vH0j1 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:04:10 -0700 (PDT)
Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5C451A03CF for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:04:09 -0700 (PDT)
Received: by mail-qc0-f181.google.com with SMTP id x13so7917153qcv.40 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:04:09 -0700 (PDT)
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=kUxAXiz45jli0R5hQBc+hBnKU807hk0p1tpeVX0BaWY=; b=e2RgxOuMsDtwRFkvnTzqBv2zuNNeiwoGEZFYAri0Ce/m58Aqa5v7cpPbHYl1Hnacyt LHgHWGd3ukEho8Ltpv5ZnRNEazKGvKfD2GhJ25cgjoBJbHITmVq3x7g4/x8BpaKcy1Vp rImOPk+5poyZ7Ly5TdmuApGIvNEimYrWQJmi6nfJROjhc+skT1i18WiXIUE/YyIXXF4A ZiiL2gOP/UE/yLaM5BcWeQuYy2W0lqR3+Ye/DAaq1gDiiZBi1aecOD92MfJTtrVULiUv tQvdlWMho87slmroZEmQRQUtiadsd3wqlT9po5JtDmAIyc9CSVraZNZmjqad2Cu+t6i4 v1XA==
X-Gm-Message-State: ALoCoQlnF2i3Wq6RoSGDomgMKjxQXqGLzkjiLYpt+3bSQgUAWCaY/WwemJtuGVCTrg7j507n0m5o
MIME-Version: 1.0
X-Received: by 10.229.212.194 with SMTP id gt2mr78966285qcb.6.1408550648774; Wed, 20 Aug 2014 09:04:08 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 09:04:08 -0700 (PDT)
X-Originating-IP: [91.185.200.222]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com>
Date: Wed, 20 Aug 2014 16:04:08 +0000
Message-ID: <CAFggDF3wej+gFU7-_iTu8N=J+K9uKwOnNhz8oavp3G9rA9XYug@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/EHqgsgmCZvxxkltX2mLDkBvYMqo
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Andrew Sullivan <ajs@anvilwalrusden.com>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 16:04:13 -0000

On 8/20/14, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote:
>>
>> > I provided several reason that the observer doesn't exist.
>>
>> No, you provided several reasons why you think this decision is an
>> unreasonable one.  Prior to the evidence from a couple years ago that
>> national governments were doing wide-spread vacuuming up of everything
>> they could by perfoming passive attack through the means of tapping
>> lines and so on, the position you are taking was entirely reasonable.
>> But in the face of that evidence, some people have decided that, even
>> if they can't protect themselves reliably all the time, they get enough
>> marginal benefit from privacy to do it whenever they can, even if it's
>> not perfect and not terribly hard to subvert.
>>
>> In other words, you are basically arguing that the benefit that will
>> accrue from this technique is not enough given the costs.  Others
>> disagree with you.  Your argument only works if we accept your premise
>> that the benefit is not worth the cost; if we evaluate the benefit
>> differently, then the cost might be acceptable.
>
> True. Because the people who you are scaring from to eavesdrop the
> communication already know how you want to process this...

Huh?

>
> To be clear... IF this approach wasn't public and not known, then you might
> benefit from it but when something is public and known, what you would do as
> an attacker? Do you still wait in a hope of receiving plain text information
> or easily change your role to a resolver and receive information you want as
> it is not hard to detect.
>

I have not seen information that suggests strongly deployed TLS (with
a proper RNG) is broken by a passive observer. Do you have a citation
handy?

> So in long term there is no benefit to use encryption without authentication
> in resolver scenario.
>

There is a benefit - it forces Eve to become Mallory. Mallory risks
being caught red handed.

>
>> > What I tried to explain here is that an observer role doesn't make
>> sense in resolver scenario.
>>
>> Except that we have an existence proof that it does.
>
> It really doesn't... at least in this scenario. Why? Because this approach
> would be standard and well known... So, if anyone (or the whom you're
> talking about) before played the observer role now they would change their
> role because they are still interested to receive your data and your node is
> unable to detect this interceptions since whatever resolver you use is valid
> by your node either a fake resolver or a real resolver.
>

This is why authentication is important. If the authenticating and
non-authenticating resolver behave the same way on the network, it
will be very risky to tamper, even with a resolver that fails open.

Paul - perhaps this suggests that all stub and recursive resolvers
should log keying information, even if it isn't used for
validation/authentication/etc?

>
>> > DNSSEC just came to this game when some folks say that DNSSEC can
>> protect this and they only need encryption.
>>
>> If you had strong authentication of the resolver, then this would be
>> true.  Since TSIG (which I expect you remember) or SIG(0) can solve the
>> authentication part, then in fact the only thing you would need _is_
>> encryption, and then you could rely on the DNSSEC piece as well.
>>
>
> We already know the problem with those approaches and as you said brining
> DNSSEC to this discussion doesn't make sense..
>

The point is that this solves the confidentiality issues that DNSSEC
doesn't solve. It should solve it but many DNSSEC folks refused to
address this issue. There are a variety of reasons and this draft by
Paul helps us to move past those previous decisions.

All the best,
Jacob


From nobody Wed Aug 20 09:06:04 2014
Return-Path: <drc@virtualized.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 DC7861A0453 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:06:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 6j9tUIcgNivN for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:05:57 -0700 (PDT)
Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66BB81A6F80 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:05:46 -0700 (PDT)
Received: by mail-pd0-f169.google.com with SMTP id y10so12261344pdj.14 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:05:46 -0700 (PDT)
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:message-id:references:to; bh=zBSs+1qEnKtAYcdwGC0TEC+eA3gBhK93nS6N56bnh/M=; b=jUPMbJGfZOwSsRtIIC2Rq/Munrqa56idcWylDL984HQvsVMsPu+SuAsGaBPKsEET4b WxSvt3LwqWXu54yyeK1cv3KmFvNjgPrVfIL3AScTzLthyoOmI2XKuI0c2OHfBB1yRwqV 3h6QA+5t7b/AeAqRd52kBHMFEMDv5wTlYvxlp3qijJG+Rw2lE3hd4ZBiU0pPImYXMrJd eLw25JxzzWqkueScqKz/uAe2Urg135o77TbeWxTLANfxfiI7VYPlSoekL3cf8XINJRDN TbIYdSVEyeDel34d4S31Fdr23lgFMu8PbJMYad6zfIJTaUaFTcD0P2RA+ozytgQQEaKX 8Frw==
X-Gm-Message-State: ALoCoQltOC1fT5r0/lLfk/x1whDx2c0HLfSJumsH8JZeRvc4pgvgmyh/EeSGpst+KjY3RS723X/A
X-Received: by 10.68.189.137 with SMTP id gi9mr52965925pbc.87.1408550742793; Wed, 20 Aug 2014 09:05:42 -0700 (PDT)
Received: from [10.0.1.11] ([73.162.11.38]) by mx.google.com with ESMTPSA id fh2sm22779933pbb.89.2014.08.20.09.05.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Aug 2014 09:05:41 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_B17A5EFF-8F27-48B6-948E-09F282257BB1"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: David Conrad <drc@virtualized.org>
In-Reply-To: <20140820131224.GA12317@nic.fr>
Date: Wed, 20 Aug 2014 09:05:38 -0700
Message-Id: <048ABDB9-C7CA-47E1-908A-87D4ECAF8F37@virtualized.org>
References: <20140820131224.GA12317@nic.fr>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/OTMjcdEiZbt7IftsHfZMW9XB-n0
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Proof that QNAME minimization is mainstream
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, 20 Aug 2014 16:06:02 -0000

--Apple-Mail=_B17A5EFF-8F27-48B6-948E-09F282257BB1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Aug 20, 2014, at 6:12 AM, Stephane Bortzmeyer <bortzmeyer@nic.fr> =
wrote:
> this short video explaining the DNS:
>=20
> https://www.youtube.com/watch?v=3DvZ007Vi5HIM
>=20
> and using QNAME minimization (the red thing asks "eu?" to the root and
> not the full QNAME).

Now if we just had software that matched the video=85 :)

Do any resolvers implement QNAME minimization at this point?
=20
Regards,
-drc


--Apple-Mail=_B17A5EFF-8F27-48B6-948E-09F282257BB1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJT9MdSAAoJENV6ebf0/4rXbkYIAOwWwIfjpwsDxg1grQF4pS4U
5L0LzGho7oVtTkR1psh2Pjt+v0ey2pbZegMqYmuwyaxlYYRZEmLwxSjGdqJyisNK
G6cA4WMcXWPbTIA/sxk29bqpJGoZ/B4v6hMHuVaSRMdltny/LrY59GFKC4fKLOke
hXoRBPBSf0jhbJKGzQKZbZfKj3pvecMD6G9QpGQMbUVB07KmMvPFJYJzHnHMj/aR
AQ9KopwuEsbE5QCT/aS/Ac0F2HePm3WmPmoobdtmElz3jT9uznlPYyH5ZMgcDzSA
5qIQx2tvtGeTgHsiVn6dlEfgJs0118zlocj6P4xH0NlmMpArsNvUXpTHt4dJMto=
=LHaC
-----END PGP SIGNATURE-----

--Apple-Mail=_B17A5EFF-8F27-48B6-948E-09F282257BB1--


From nobody Wed Aug 20 09:27:11 2014
Return-Path: <rharolde@umich.edu>
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 AA5001A6EE7 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:27:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 zwG_koSvrJb1 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:27:03 -0700 (PDT)
Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 165291A092F for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:27:02 -0700 (PDT)
Received: by mail-oi0-f46.google.com with SMTP id i138so5787144oig.19 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:27:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=f4NXyt0tDQaNcZZPGWuZWhGiBR8dzBWqWHSYczqDsbw=; b=AoW4mMwbIZ2ixumdk0xl4Fnb34w7+EJLdOA6ZANrdj6NIgWKJSHEYwK13oiJTZn6R8 XxFLIOPtwmrmhKgDVrje8+shnko6iJbcuxXExQ4kyBBmnhyktwygJvleXCsG+27a/9No V9B7Dm34Ti4rRPJ0/UVkOfFuGSoNF1U2lq+wcWYTPVMcFvMVy6S1avxRd4PNk2Up58/d 6Ck5vY+/UOYYjPLzNWIIcLe8mRVR9MYNifIkPCz8JIIYVEeFVUZw5ZMxV1SatT94/6WW OMkpiaZnf6dtUTTCDYefehRt+oKzazhwbHKx4TENEjT64H98Za7AkO9n5Pe6xdUkjAPL Rg7A==
X-Gm-Message-State: ALoCoQkUEcxtvMyYQuIi7PdnUV9/HPI8FUYATV+cP6rzngfO64gKMjcw0fshIhEh4jd9a33rk1oa
MIME-Version: 1.0
X-Received: by 10.182.112.134 with SMTP id iq6mr48984176obb.34.1408552022256;  Wed, 20 Aug 2014 09:27:02 -0700 (PDT)
Received: by 10.76.91.100 with HTTP; Wed, 20 Aug 2014 09:27:02 -0700 (PDT)
Date: Wed, 20 Aug 2014 12:27:02 -0400
Message-ID: <CA+nkc8Axt-j=UjQ8wtpKfn-0hKWK-c1NN_YsMvA4k5d1nBzGQg@mail.gmail.com>
From: Bob Harold <rharolde@umich.edu>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: multipart/alternative; boundary=089e0149cf60efa420050112123f
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/d34Nicq1lL3gUUyKksiUMsy06SE
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>, Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 16:27:09 -0000

--089e0149cf60efa420050112123f
Content-Type: text/plain; charset=UTF-8

Ok, my opinions here, not my employer.

Encryption without authentication is not ideal, but has benefits to me.
 Passive observers are a real concern for privacy, because we know they
exist, and they are generally not detectable.
- An active attacker requires more effort, and probably more computing
power, Until a majority implements privacy, many passive observers will be
content to observe the unencrypted traffic.
- An active attacker can be detected in many ways - I might notice that I
get two replies to a query, I might notice that  all my connections go to
the single IP of the attackers proxy, I might notice that a web site has a
different IP than it did previously, etc.
- In some settings (inside my company), an active attacker could be found
and punished.

So for me, an automatic attempt at DNS privacy by my resolver, even if not
completely reliable, might be good enough for normal usage.  If I need
complete security, I can put forth extra effort.

-- 
Bob Harold

--089e0149cf60efa420050112123f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ok, my opinions here, not my employer.<div><br></div><div>=
Encryption without authentication is not ideal, but has benefits to me. =C2=
=A0Passive observers are a real concern for privacy, because we know they e=
xist, and they are generally not detectable.</div>
<div>- An active attacker requires more effort, and probably more computing=
 power, Until a majority implements privacy, many passive observers will be=
 content to observe the unencrypted traffic.</div><div>- An active attacker=
 can be detected in many ways - I might notice that I get two replies to a =
query, I might notice that =C2=A0all my connections go to the single IP of =
the attackers proxy, I might notice that a web site has a different IP than=
 it did previously, etc.</div>
<div>- In some settings (inside my company), an active attacker could be fo=
und and punished.</div><div><br></div><div>So for me, an automatic attempt =
at DNS privacy by my resolver, even if not completely reliable, might be go=
od enough for normal usage. =C2=A0If I need complete security, I can put fo=
rth extra effort.</div>
<div><br></div><div class=3D"gmail_extra"><div>-- <br>Bob Harold<br><br></d=
iv></div></div>

--089e0149cf60efa420050112123f--


From nobody Wed Aug 20 09:32:29 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 1370E1A6F1B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:32:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.668
X-Spam-Level: 
X-Spam-Status: No, score=-2.668 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.668] 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 tzsRiNIj57xq for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 09:32:24 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBF261A06A8 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 09:32:24 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 87FC082E12; Wed, 20 Aug 2014 12:32:23 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1408552343; bh=ICVN0sufvEbuC1jfrbyTJamEXvJnL+ptI2VFcAZC+Sw=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=ebQEdJBecmkqVt05J2clBfrePg6X5nhjqD7j4UW87iU9CX7UnPRQ7jL3qp80WoGUy oNuxZJ6GmmwEBXHQ5wHZcDbPfb2fSuV5W7SUAqj4lThzfZ2SGK6LTM/PS0X8afA3K3 1JRXj78fGSXzwx+R7c2vGyVziehP5aXCzr14r2ms=
Received: from localhost (paul@localhost) by bofh.nohats.ca (8.14.7/8.14.7/Submit) with ESMTP id s7KGWNEq027121; Wed, 20 Aug 2014 12:32:23 -0400
X-Authentication-Warning: bofh.nohats.ca: paul owned process doing -bs
Date: Wed, 20 Aug 2014 12:32:23 -0400 (EDT)
From: Paul Wouters <paul@nohats.ca>
To: Jacob Appelbaum <jacob@appelbaum.net>
In-Reply-To: <CAFggDF3wej+gFU7-_iTu8N=J+K9uKwOnNhz8oavp3G9rA9XYug@mail.gmail.com>
Message-ID: <alpine.LFD.2.10.1408201229350.26631@bofh.nohats.ca>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <CAFggDF3wej+gFU7-_iTu8N=J+K9uKwOnNhz8oavp3G9rA9XYug@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/RjVUwDJYEGVtcHm3rLXw2GORA6E
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 16:32:27 -0000

On Wed, 20 Aug 2014, Jacob Appelbaum wrote:

> Paul - perhaps this suggests that all stub and recursive resolvers
> should log keying information, even if it isn't used for
> validation/authentication/etc?

That is one "out of band" authentication mechanism called TOFU (trust on
first use) or LOF (Leap of Faith)

While possible, it will see a lot of false positives, like when going to
a different starbucks using the same wifi ESSID.

It could be done if one also logs mac address and/or lat/long info.

But these are all local policy and local implementations issues.

Paul


From nobody Wed Aug 20 10:11:40 2014
Return-Path: <jacob@appelbaum.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 886661A047C for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 10:11:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7] 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 uRLNNb4E7WEe for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 10:11:35 -0700 (PDT)
Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 727351A0432 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 10:11:35 -0700 (PDT)
Received: by mail-qg0-f48.google.com with SMTP id i50so7492107qgf.7 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 10:11:32 -0700 (PDT)
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=H1KW8ihrgE3y5SdmmTJ2NW3KjTIOP9CnSC19UIxye1k=; b=mEJSJuSp3qqxyO/h8I+5XhNwVIR0CNsIXsNyY2c75Lmq43WbA2d/E0ZO/lohV0Vvfw djHGMgoHUYrp4nUD2UImis4DTENYc9POG/U84LplTeur/Dr1fTGUnJVD7XDe3WLNNE1w t7rugHnz+/mM4rNG7pk7JMK5d2mJfrvDa8qZ8MRiL0wXjnayjOg1TV+Z2jCjCQgMDbHK UEuZzpo+2qQsT0QAuKTuo2DKj3wcoyjyg/bnle1Xfv7x5qLk93zhsC2mURoXmJmXGsxH NPqQVWreTBBAaDjDUH/1riQ1Arbmi86Hz9XrrA3sw1xvE8XHkGMgH9rMmlMEGEqVcJ1x SJYw==
X-Gm-Message-State: ALoCoQlsIBt++T+UhPqLUvC6Fa6WRKbJ0glKFz1ivOuTcnFplisZNggdGAqQpgQJn2DTCiPD/NcH
MIME-Version: 1.0
X-Received: by 10.140.84.21 with SMTP id k21mr74668069qgd.70.1408554692068; Wed, 20 Aug 2014 10:11:32 -0700 (PDT)
Received: by 10.140.91.50 with HTTP; Wed, 20 Aug 2014 10:11:31 -0700 (PDT)
X-Originating-IP: [72.52.91.30]
In-Reply-To: <alpine.LFD.2.10.1408201229350.26631@bofh.nohats.ca>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <CAFggDF3wej+gFU7-_iTu8N=J+K9uKwOnNhz8oavp3G9rA9XYug@mail.gmail.com> <alpine.LFD.2.10.1408201229350.26631@bofh.nohats.ca>
Date: Wed, 20 Aug 2014 17:11:31 +0000
Message-ID: <CAFggDF0JQRiZ6tuTRH-PSit427pkLAqH+eiqyK3M8yVjrnyXRA@mail.gmail.com>
From: Jacob Appelbaum <jacob@appelbaum.net>
To: Paul Wouters <paul@nohats.ca>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gGZZK3J4_tYQzBrhc_OQ4xBlNSg
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 17:11:37 -0000

On 8/20/14, Paul Wouters <paul@nohats.ca> wrote:
> On Wed, 20 Aug 2014, Jacob Appelbaum wrote:
>
>> Paul - perhaps this suggests that all stub and recursive resolvers
>> should log keying information, even if it isn't used for
>> validation/authentication/etc?
>
> That is one "out of band" authentication mechanism called TOFU (trust on
> first use) or LOF (Leap of Faith)

I'm suggesting that regardless of authentication, we should ensure
that we have some information for a user to report their experience.

>
> While possible, it will see a lot of false positives, like when going to
> a different starbucks using the same wifi ESSID.
>

There is no false positive - only an actually observed certificate. :)

> It could be done if one also logs mac address and/or lat/long info.
>
> But these are all local policy and local implementations issues.

I agree. I suggest that resolvers SHOULD log resolver certificate information.

All the best,
Jacob


From nobody Wed Aug 20 11:44:02 2014
Return-Path: <paul.hoffman@vpnc.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 985271A0466 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 11:44:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhsWGZTTAS5x for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 11:43:59 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4197E1A04E9 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 11:43:59 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7KIhuSk014791 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Aug 2014 11:43:58 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAC4GpT_qA50n4DtMKh-V+zMd5=WtqppmZncYROAn_+qnCSEzCQ@mail.gmail.com>
Date: Wed, 20 Aug 2014 11:43:55 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <CC9A5FB4-478F-42C2-992D-7E00885C1030@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com> <CAC4GpT_qA50n4DtMKh-V+zMd5=WtqppmZncYROAn_+qnCSEzCQ@mail.gmail.com>
To: David Ulevitch <david@opendns.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/IFS5QQ7AItSzDxAGFlC4G7ixPUo
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 18:44:00 -0000

On Aug 20, 2014, at 11:34 AM, David Ulevitch <david@opendns.com> wrote:

> DNSCrypt has been well-described and is in use by millions of people =
today across a number of implementations.  Details available here: =
http://dnscrypt.org/  -- We can certainly do better.

Please do, given that there is nothing on that page that describes the =
actual protocol.=20

> Happy to help push it along to a standard.

Please note that no one here was suggesting that, yet.

> I'll have one of our engineers get more involved in this list.  Thanks =
for the poke Jacob.

Great. Given your level of deployment, us knowing what the actual =
protocol is would be useful.

--Paul Hoffman=


From nobody Wed Aug 20 12:07:59 2014
Return-Path: <paul.hoffman@vpnc.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 2129D1A06BC for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:07:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oAxvC2bXG98q for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:07:55 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C12C1A065F for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 12:07:55 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7KJ7NWI015310 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Aug 2014 12:07:25 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
Date: Wed, 20 Aug 2014 12:07:22 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <01352FDA-D216-4BC6-B451-B4834A361F65@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/j0Ff0EQcWOr0IY5Ra0WDgnosQfI
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 19:07:58 -0000

On Aug 20, 2014, at 8:11 AM, Jacob Appelbaum <jacob@appelbaum.net> =
wrote:

>> The document is not going to list what a default policy should be.
>=20
> OK.
>=20
> Perhaps it would be useful to state assumptions about what a different
> policy means?

I have no idea what you mean, but I suspect you do. Proposed wording =
would be appreciated.

> If a user manually configures a confidential server (and loads the
> fingerprint or learns the key with DANE) - it is expected that an
> implementation MUST fail closed? I think this is what happens when you
> use the OpenDNS resolver with their crypto implementation. I don't
> think it falls back to plaintext.

It would be good to see their actual protocol design; it sounds like =
that is forthcoming.

>>> I think a key thing is that we need a way to discover that an =
already
>>> configured stub resolver supports this kind of confidentiality. When
>>> the stub software updates, the resolver that is already configured
>>> could be upgraded to use the privacy preserving path, for example.
>>=20
>> That would take an API. I really don't want to force that into this
>> document, but as I said above, if you or someone wants to tackle the =
API
>> question, I'm happy to point to it.
>>=20
>=20
> Hrm - would it?

Yes, it really would.

> I think that we could just add something like "stub
> resolvers SHOULD automatically request the following DANE record
> foo.bar.baaz.keys.whatver to learn the key for their encrypted
> resolver. Recursive resolvers supporting DNSSEC MUST verify that this
> record is correctly signed."

That would only work for security-aware, validating stub resolvers, =
which is currently a teeny minority of what is deployed. Further, that =
would also imply that the stub resolver is also recursive in order to =
find the DANE record; at that point, this protocol is not needed.

> Does it need to be more complicated than that?

Yes, unfortunately. A non-validating stub resolver that needs a key for =
the TLS server needs to get it out of band, I believe. I'm happy to hear =
other opinions though, because it would make getting all the way to =
authenticated encryption more likely.

> I mean, we'd need to
> agree on the record but I suppose there is a PTR record name that
> would fit here, no?

No, not yet. There is even less DNSSEC coverage in the reverse tree than =
there is for normal names.

Updated draft with recent suggestions coming out soon.

--Paul Hoffman=


From nobody Wed Aug 20 12:16:17 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 24B5D1A06AC for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:16:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 0ATx-dyQkRli for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:16:13 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B52821A065B for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 12:16:13 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 2C11B5660140; Wed, 20 Aug 2014 19:16:11 +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 xbOq1DbbqTeL; Wed, 20 Aug 2014 21:15:41 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 4F7B1566013B; Wed, 20 Aug 2014 21:15:41 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "'Bob Harold'" <rharolde@umich.edu>
References: <CA+nkc8Axt-j=UjQ8wtpKfn-0hKWK-c1NN_YsMvA4k5d1nBzGQg@mail.gmail.com>
In-Reply-To: <CA+nkc8Axt-j=UjQ8wtpKfn-0hKWK-c1NN_YsMvA4k5d1nBzGQg@mail.gmail.com>
Date: Wed, 20 Aug 2014 21:15:39 +0200
Message-ID: <006101cfbcab$21824a10$6486de30$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQMWuVtnfdHAktFh2ftCWxrsMm7R0plLylow
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/9LjwpzKX4hS4ZcytJYo9_8YoOAo
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 20 Aug 2014 19:16:15 -0000

Hi Bob,


>Encryption without authentication is not ideal, but has benefits to me. =
 Passive observers are a real concern for privacy, because we know they =
exist, and they are generally not detectable.

If we could really make the attack expensive for the attackers. Then I =
agree with you. About the second sentence check the Andrew message and =
will directly answer to him since he classified everything and I agree =
with that classification but still have some arguments.

>- An active attacker requires more effort, and probably more computing =
power, Until a majority implements privacy, many passive observers will =
be content to observe the unencrypted traffic.

Not exactly. Compute expensive is not related to the factor you =
mentioned here. If the attacker needed to attack the cryptographic =
algorithm used in this approach, then what you say here is quite =
correct. But the attacker does not need this.

>- An active attacker can be detected in many ways - I might notice that =
I get two replies to a query, I might notice that  all my connections go =
to the single IP of the attackers proxy, I might notice that a web site =
has a different IP than it did previously, etc.

Right. But if you are a professional user and not a general user. =
Professional users also can find/ already know a way to secure himself =
in unsecure environment.  =20

> - In some settings (inside my company), an active attacker could be =
found and punished.

True. But In those companies, passive attackers can be also detected =
because software inside their own computer. =20

Best,
Hosnieh


From nobody Wed Aug 20 12:16:29 2014
Return-Path: <paul.hoffman@vpnc.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 9594A1A701E for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:16:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qEKmTMYoKgwJ for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 12:16:20 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BABFF1A070C for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 12:16:20 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7KJGIHm015604 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 12:16:20 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <01352FDA-D216-4BC6-B451-B4834A361F65@vpnc.org>
Date: Wed, 20 Aug 2014 12:16:18 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <4C1491FF-9A54-42F8-956F-45E31D22941D@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com> <01352FDA-D216-4BC6-B451-B4834A361F65@vpnc.org>
To: dns-privacy@ietf.org
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/5UsQVahnfxEmXtwLYa4zuT6INWU
Subject: [dns-privacy] draft-hoffman-dns-tls-stub-01 posted
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, 20 Aug 2014 19:16:22 -0000

Thanks for the comments so far, clearly there is more to come. Even if =
this group doesn't go for this design, I think the discussion will be =
useful to most of the designs we have seen so far.

--Paul Hoffman

A new version of I-D, draft-hoffman-dns-tls-stub-01.txt
has been successfully submitted by Paul Hoffman and posted to the
IETF repository.

Name:		draft-hoffman-dns-tls-stub
Revision:	01
Title:		Using TLS for Privacy Between DNS Stub and Recursive =
Resolvers
Document date:	2014-08-20
Group:		Individual Submission
Pages:		7
URL:            =
http://www.ietf.org/internet-drafts/draft-hoffman-dns-tls-stub-01.txt
Status:         =
https://datatracker.ietf.org/doc/draft-hoffman-dns-tls-stub/
Htmlized:       http://tools.ietf.org/html/draft-hoffman-dns-tls-stub-01
Diff:           =
http://www.ietf.org/rfcdiff?url2=3Ddraft-hoffman-dns-tls-stub-01

Abstract:
  DNS queries and responses can contain information that reveals
  important information about the person who caused the queries, and it
  would be better if eavesdroppers were unable to see DNS traffic.
  This document describes how to use TLS for encrypting DNS traffic
  between a system acting as a DNS stub resolver and a system acting as
  a DNS recursive resolver.


From nobody Wed Aug 20 13:18:38 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 5CA161A0894 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 13:18:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 sULIV0XrJ8zf for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 13:18:33 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 396D61A0701 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 13:18:33 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id A47485660140; Wed, 20 Aug 2014 20:18:30 +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 MQMkIq--W8ss; Wed, 20 Aug 2014 22:18:00 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 91C22566013B; Wed, 20 Aug 2014 22:18:00 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: "Andrew Sullivan" <ajs@crankycanuck.ca>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info>
In-Reply-To: <20140820155522.GJ1065@mx1.yitter.info>
Date: Wed, 20 Aug 2014 22:17:57 +0200
Message-ID: <006201cfbcb3$d64e0940$82ea1bc0$@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: AQKUPlzldp8EhTskZiJwFszuzAaxyAJcgbntAd3fAtYBfgMRSgJ6DAKrAnqN6C+Z+3GvoA==
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/cBCn53a4jGi8PviQIYNGHr3EhA8
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 20:18:35 -0000

 Andrew, 

> Let us be concrete.  There are four cases:
> 
> 1.  A stub that connects to whatever resolver it gets by magic from DHCP.
> 
> 2.  A stub that connects to a specific resolver on the same network as
itself.
> This is like your ISP's resolver, when you specifically configure the
resolver.
> 
> 3.  A stub that connects to a specific resolver over the public Internet.
This is
> like using Google's public DNS service.
> 
> 4.  A full-service resolver.

> In (1), othing can help, because DHCP is kind of trivial to subvert, so
you could
> be talking to anything.
  In (2), your arguments sort of work, because the attack
> is localized attempting to snarf _particular_ traffic.  In
> (3), however, your
> arguments don't work: the threat is not actually to particular traffic,
but to
> _all_ traffic; and any attack that would actually depend on spoofing
addresses
> or the like would be observable by the service provider, which foils the
> attack.

I am not agree on this point. This point actually flashed a new idea on a
possible attack that I haven't thought before....  so now encryption doesn't
help user's privacy if this is for item 3. Before going further, I start
with a question and some reasons as follows.  

Question: What is specific about that sort of traffic in item 3 when the
observers can easily obtain those domains themselves from those public DNS
servers or from some public websites that gathered all domain names (like
ALEXA or etc.)

What do we want to hide in those traffics? 


If I get answer to this question, maybe I get convinced that an observer
makes sense for this scenario and encryption helps without authentication.

reason: there is almost no *actual* valid IPv4 addresses ( all nodes are
behind a NAT) and often DNS servers do not support IPv6 addresses. Do you
agree?
 In other words, that traffic does not show any actual person to hide
his/her privacy. It is just a general IP addresses that requested a certain
website. This is different than the argument of Paul about Wifi (that
argument is on point 2 or 1) did I understand you correctly that you agree
with my argument about  active attack instead of observer? (if not I
probably misunderstood you and please correct me)
So, in my opinion, the observer is interested only certain data. DNS server
only point a person to certain server or website or whatever service
available. 
If the observer sit where the traffic of one of backbone routers passed by
and interested on the information comes from a certain network, what he
might do is
1-he filters that traffic based on the IP address (this IP address is of
course belongs to a certain network) , He even doesn't care whether or  the
traffic to DNS server is encrypted. He might also not play a role of active
attacker -- if you say he will be detected... (of course I doubt, because he
might be detected if he does this for a long time)-- 
2- He sees that the traffic goes to DNS server but encrypted. His filters
show that next traffic goes to certain website... or server...OK!... then
what was hidden for him? Isn't it the traffic that we wanted to hide from
him by using an encryption mechanism. In other words, isn't it that
encrypted traffic  that easily observed by this unwanted person?





> In (4), of course, we don't have the problem.  I include it because the
> validating stub in effect ends up having to chase most things itself, so
it
> devolves to this.
> 
> Your argument works if one is trying to prevent someone getting particular
> traffic.  If the threat, however, is the general snarfing up of all the
traffic
> towards a particular resolver with the goal of learning about all of its
traffic,
> then even if some of it leaks that's not a big deal.  In this case,
failing to
> authenticate the resolver presents no real additional vulnerability.

Now I think it works even without that.. if you really like to use only
observer in your traffic.
Best,
Hosnieh


From david@opendns.com  Wed Aug 20 11:34:55 2014
Return-Path: <david@opendns.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 1F48A1A04A1 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 11:34:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 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] 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 Qyc355qQqs8B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 11:34:52 -0700 (PDT)
Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABC6B1A0668 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 11:34:51 -0700 (PDT)
Received: by mail-lb0-f170.google.com with SMTP id l4so7239745lbv.15 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 11:34:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opendns.com; s=google;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zrvpewXz7L/EnVnk8d2K+ULQbNew+hSZvdcMU3oVIT8=; b=Z4STIlke5rQxFkfgCN71xxrxyk9SeICbN+xwT88mSwtEnxT1ao8J+wa9MJkAvsEbHX E/IhqKtWF7dmoGllPRcSOPKop4f4XoDTOz3S39QbNWTt2uRRXtpFXQN3tXYrwtcNIRxr PKZlM40NcdW0WfwAmI1vfEOqPxwfxe/ZdQves=
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=zrvpewXz7L/EnVnk8d2K+ULQbNew+hSZvdcMU3oVIT8=; b=YO5/X5D8B7MhnW8uWw3dyNPJAz5KWYC/5yPljQycke9c8fFj4xP7djIwOPQOPurdcG IFW/t0OKH3doP7DgeRMhbE+HB2EVvjgazaP7uajCj0vxEcntAvFFxVxMREUaASIoj+Y+ SkGG6p7nQiODsMVGN9/8hFdpZRWAiSv/nJ0bAbMjr3wBaZpOj7BmZc7FFCw26ob0j2qE iJTqpjxJaSHS+ePmco6Rtc46dCnWJXqzp98dxoY38pnSrOV8SnI/3Xv7QT2YqCEYY99L f+TRxBZsRKm+z+n8ZdSzv5iuC15i0J0I5NBPGqvZvy+IBTeHDoHGHTZEIaTD+tmb9r5s Q+kA==
X-Gm-Message-State: ALoCoQmbkCZTrglI0aclS9WXybYUY3w6Oag9e01eEUvGvqGSZw+xVSLAWjfaWXStyPC5oi+vGQzI
MIME-Version: 1.0
X-Received: by 10.152.45.8 with SMTP id i8mr44066940lam.3.1408559689864; Wed, 20 Aug 2014 11:34:49 -0700 (PDT)
Received: by 10.152.242.34 with HTTP; Wed, 20 Aug 2014 11:34:49 -0700 (PDT)
In-Reply-To: <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <CAJE_bqeoUx2gFsnVgZYfoWASkHaMgKW4tR552YRmQ4ZNzH1M=g@mail.gmail.com> <361D96E3-CD31-4E2B-88E3-46E44D6F8C3D@vpnc.org> <alpine.LFD.2.10.1408191650420.22835@bofh.nohats.ca> <EFBD7F1F-EB4B-4EC4-BE08-C7C92EC471FF@vpnc.org> <CAFggDF2tdiUzGmEi9u68mubR6F+Lp7U4dy0N6R7PQVAQ_nNw=g@mail.gmail.com> <A22A1BAF-5B70-4574-AF92-B777FF5F89E9@vpnc.org> <CAFggDF0McW3JD9+mzSc2wpkorvkyR-v-GCn-FyhWUH9PcnCdMw@mail.gmail.com>
Date: Wed, 20 Aug 2014 11:34:49 -0700
Message-ID: <CAC4GpT_qA50n4DtMKh-V+zMd5=WtqppmZncYROAn_+qnCSEzCQ@mail.gmail.com>
From: David Ulevitch <david@opendns.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
Content-Type: multipart/alternative; boundary=001a11c1ba20f60704050113db64
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/gTpMzgw-RR3gRHjlbUPPw9FWx7I
X-Mailman-Approved-At: Wed, 20 Aug 2014 14:18:29 -0700
Cc: dns-privacy@ietf.org, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 19:15:06 -0000

--001a11c1ba20f60704050113db64
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 20, 2014 at 8:11 AM, Jacob Appelbaum <jacob@appelbaum.net>
wrote:

> On 8/20/14, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> > On Aug 20, 2014, at 6:30 AM, Jacob Appelbaum <jacob@appelbaum.net>
> wrote:
> >
>
> >> e) All the other DNS privacy stuff - eg: OpenDNS's encrypted DNS
> >> stuff, djb's other work, etc.
> >
> > I can't list a policy that I can't cleanly describe. The OpenDNS folks
> still
> > haven't produced a stable description of their protocol that I can find;
> if
> > they have one, I'm happy to list it. DNScurve doesn't work for
> > stub-to-recursive, I don't believe; only recursive-to-authoritative.
> >
>
> Really? I'm surprised. I've cc'ed David Ulevitch - perhaps he or
> someone at OpenDNS can chime in with something helpful here?
>

DNSCrypt has been well-described and is in use by millions of people today
across a number of implementations.  Details available here:
http://dnscrypt.org/  -- We can certainly do better. Happy to help push it
along to a standard.

I'll have one of our engineers get more involved in this list.  Thanks for
the poke Jacob.

-David

--001a11c1ba20f60704050113db64
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Aug 20, 2014 at 8:11 AM, Jacob Appelbaum <span dir=3D"ltr">&lt;<a href=
=3D"mailto:jacob@appelbaum.net" target=3D"_blank">jacob@appelbaum.net</a>&g=
t;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">On 8/20/14, Paul Hoffman &lt;<a href=3D"mailto:paul.hoffma=
n@vpnc.org">paul.hoffman@vpnc.org</a>&gt; wrote:<br>

&gt; On Aug 20, 2014, at 6:30 AM, Jacob Appelbaum &lt;<a href=3D"mailto:jac=
ob@appelbaum.net">jacob@appelbaum.net</a>&gt; wrote:<br>
&gt;<br><br>
&gt;&gt; e) All the other DNS privacy stuff - eg: OpenDNS&#39;s encrypted D=
NS<br>
&gt;&gt; stuff, djb&#39;s other work, etc.<br>
&gt;<br>
&gt; I can&#39;t list a policy that I can&#39;t cleanly describe. The OpenD=
NS folks still<br>
&gt; haven&#39;t produced a stable description of their protocol that I can=
 find; if<br>
&gt; they have one, I&#39;m happy to list it. DNScurve doesn&#39;t work for=
<br>
&gt; stub-to-recursive, I don&#39;t believe; only recursive-to-authoritativ=
e.<br>
&gt;<br>
<br>
Really? I&#39;m surprised. I&#39;ve cc&#39;ed David Ulevitch - perhaps he o=
r<br>
someone at OpenDNS can chime in with something helpful here?<br></blockquot=
e><div><br></div><div><span style=3D"font-family:arial">DNSCrypt has been w=
ell-described and is in use by millions of people today across a number of =
implementations. =C2=A0Details available here:=C2=A0</span><font face=3D"ar=
ial"><a href=3D"http://dnscrypt.org/">http://dnscrypt.org/</a> =C2=A0-- We =
can certainly do better. Happy to help push it along to a standard.</font><=
/div>
<div><span style=3D"font-family:arial"><br></span></div><div><span style=3D=
"font-family:arial">I&#39;ll have one of our engineers get more involved in=
 this list. =C2=A0Thanks for the poke Jacob.</span></div><div><span style=
=3D"font-family:arial"><br>
</span></div><div><span style=3D"font-family:arial">-David</span></div><div=
><span style=3D"font-family:arial"><br></span></div></div></div></div>

--001a11c1ba20f60704050113db64--


From nobody Wed Aug 20 14:23:43 2014
Return-Path: <ajs@anvilwalrusden.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 CD0E01A0B7B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 14:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.141
X-Spam-Level: 
X-Spam-Status: No, score=-0.141 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 TvFL_6y4PwhH for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 14:23:38 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 73E281A0097 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 14:23:38 -0700 (PDT)
Received: from crankycanuck.ca (unknown [50.189.173.0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id 678A48A031 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 21:23:37 +0000 (UTC)
Date: Wed, 20 Aug 2014 17:23:32 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140820212332.GG2464@crankycanuck.ca>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info> <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/hKgtNAHGKpUXgHxONCu6qUGtsEw
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 21:23:39 -0000

On Wed, Aug 20, 2014 at 10:17:57PM +0200, Hosnieh Rafiee wrote:
> help user's privacy if this is for item 3. Before going further, I start
       ^^^^^^^^^^^^^^

No, you're missing the point.  It's not _a user_.  It's _all users_.
That is, the point is not to protect this or that particular user or
this or that particular transaction.  It is to prevent wide-scale
harvesting of _all traffic_, in which any particular user's data might
be.  If someone is attempting to develop an overall picture of both
what is happening on the Internet, and what a particular user is
doing, and to correlate the one with the other, then you need all the
traffic, and by that you can both identify new people "of interest"
and identify overall patterns.

But if people encrypt this data, then you either have to subvert the
recursive server (which you can do with court orders, of course, but
then your plan is exposed), or else you have to break the encryption.
Even if some of the traffic leaks past the encryption layer, the
attack _only_ works at large scale.

You don't seem to be taking that part of the argument seriously.
Until you concede it, there's nothing more to say.

As an aside,

> reason: there is almost no *actual* valid IPv4 addresses ( all nodes are
> behind a NAT) and often DNS servers do not support IPv6 addresses. Do you
> agree?

I agree with neither of those premises.  Public servers are not behind
NAT (and even if they are, knowing the public service address is
enough).  Similarly with end users.  And there are plenty of DNS
servers on v6.

Best regards,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Wed Aug 20 15:28:53 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 069241A894C for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 15:28:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 KRScRvpk2xKj for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 15:28:50 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 091A11A8935 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:28:50 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id D7B855660140 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 22:28:47 +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 cdQQpMDryfV1 for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 00:28:18 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 05908566013B for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 00:28:17 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: <dns-privacy@ietf.org>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info> <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com> <20140820212332.GG2464@crankycanuck.ca>
In-Reply-To: <20140820212332.GG2464@crankycanuck.ca>
Date: Thu, 21 Aug 2014 00:28:15 +0200
Message-ID: <008101cfbcc6$09d9d110$1d8d7330$@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: AQKUPlzldp8EhTskZiJwFszuzAaxyAJcgbntAd3fAtYBfgMRSgJ6DAKrAnqN6C8Co0HSZgIg9wccmdV1FQA=
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/WV9Jq4-uBiSFY53fxoCQ0dovrhA
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 22:28:52 -0000

> No, you're missing the point.  It's not _a user_.  It's _all users_.
> That is, the point is not to protect this or that particular user or this
or that
> particular transaction.  It is to prevent wide-scale harvesting of _all
traffic_, in
> which any particular user's data might be.  If someone is attempting to
> develop an overall picture of both what is happening on the Internet, and
> what a particular user is doing, and to correlate the one with the other,
then
> you need all the traffic, and by that you can both identify new people "of
> interest"
> and identify overall patterns.

You're right but having all traffic means that this observer have a wide
access to several backbone devices or the traffic passed by...
"A user" is an example to simplify the problem space. I can also generalize
it to all users... see at the end of this message please...


> But if people encrypt this data, then you either have to subvert the
recursive
> server 

But what you do is only closing your eyes and assume that everything is
fine.... see my example at the end.


Your argument is that we benefit from encryption because they might not have
any possibility to observe all traffic.  I say it depends on the location of
your observer/s... 

> > reason: there is almost no *actual* valid IPv4 addresses ( all nodes
> > are behind a NAT) and often DNS servers do not support IPv6 addresses.
> > Do you agree?
> 
> I agree with neither of those premises.  Public servers are not behind NAT
> (and even if they are, knowing the public service address is enough).
Similarly
> with end users.  And there are plenty of DNS servers on v6.
> 
I didn't say that public servers are behind NAT. I was talking about users
that I presumed you were also talking about..
Ok if you say most DNS server supports IPv6.. I only say that it is fine.
Because again this is the same scenario but only the IP of query requester
might reveal a certain node....IN other words, Just with IPv6, the IP
address might directly point to a certain node. 

If you are talking about the communication of a DNS server with another
server that both are not behind NAT. This is also not different. It is like
IPv6 scenario. 

You say it is about all users. Ok I agree.. but the place of observer is
important. Wherever he is located, if he is able to watch the encrypted
traffic, he is able to watch the next flows as well. he can watch the case
where an encrypted data comes to a DNS server and then another data flows
started to other server. In other words, he can also watch where this data
goes after DNS server. It is just a mapping without any need to have any
knowledge about the content of DNS server query request and response. Next
flow automatically reveal the content of this *encrypted* DNS messages...

The observer that can correlate data seems to be  so sophisticated and know
data mining approach and it is not hard for him to only map two flows with
the same initiated IP (just generalize it to all traffic...)

Only an example of what will be happening...Encrypted traffic from IP x goes
to public DNS server B. observer is only watching without active attack.
Next flow shows that there is traffic from IP x to website C.  the node with
IP x could encrypt data and sent it to DNSserver B. But couldn't hide the
content of data sent to DNS server B, even though encryption happened.
Because next flow with the same IP to website C exposed the content of last
flow initiated from the same IP. observer watched it without much efforts.
Now generalize it to all traffic flows that goes to a  public resolver and
then goes to somewhere else for all users...

If the target problem is to really hide the traffic and avoid the
correlations and avoid learning the pattern then I guess your approach is
not correct. You only need end-to-end tunneling  and not only encryption
because there is a need to all flows comes from IP addresses. The flows that
passed by observers' sniffers. 
In other words, network layer helps to leak information about flows....

Best,
Hosnieh



From nobody Wed Aug 20 15:54:49 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 E93701A8A7B for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 15:54:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 7HGyjZ_FkXih for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 15:54:47 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC8B61A0AD9 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 15:54:46 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 1A3A15660140 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 22:54:45 +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 8xlwgjtm8Ff3 for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 00:54:15 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 1548F566013B for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 00:54:15 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: <dns-privacy@ietf.org>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info> <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com> <20140820212332.GG2464@crankycanuck.ca> <008101cfbcc6$09d9d110$1d8d7330$@rozanak.com>
In-Reply-To: <008101cfbcc6$09d9d110$1d8d7330$@rozanak.com>
Date: Thu, 21 Aug 2014 00:54:12 +0200
Message-ID: <008201cfbcc9$a9f02610$fdd07230$@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: AQKUPlzldp8EhTskZiJwFszuzAaxyAJcgbntAd3fAtYBfgMRSgJ6DAKrAnqN6C8Co0HSZgIg9wccAO482t2ZzhoOEA==
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/rr8bR8btMc6naUENazqkzHW2_Zg
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 22:54:48 -0000

Just to be clear that you again, like my NAT example, do not misinterpret
what I wanted to say.. ......about IPv6.. I again talk about user and not
DNSSERVER. I mean the one who query  a DNS server with IPv6.... 
And only correct my last sentence... that there is a verb missing...

><snip.>You only
> need end-to-end tunneling  and not only encryption because there is a need
> to HIDE all flows comes from certain IP addresses. The flows that passed
by observers'
> sniffers.

<snip>

Hosnieh


From nobody Wed Aug 20 16:49:31 2014
Return-Path: <ajs@anvilwalrusden.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 9A9BB1A0649 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 16:49:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.141
X-Spam-Level: 
X-Spam-Status: No, score=-0.141 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_INFO=1.448, HOST_MISMATCH_NET=0.311] 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 9u7Dt4ZktCKB for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 16:49:28 -0700 (PDT)
Received: from mx1.yitter.info (ow5p.x.rootbsd.net [208.79.81.114]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 354B91A0422 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 16:49:28 -0700 (PDT)
Received: from mx1.yitter.info (unknown [50.189.173.0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.yitter.info (Postfix) with ESMTPSA id D3A6D8A031 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 23:49:26 +0000 (UTC)
Date: Wed, 20 Aug 2014 19:49:21 -0400
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: dns-privacy@ietf.org
Message-ID: <20140820234921.GA2797@mx1.yitter.info>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info> <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com> <20140820212332.GG2464@crankycanuck.ca> <008101cfbcc6$09d9d110$1d8d7330$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <008101cfbcc6$09d9d110$1d8d7330$@rozanak.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/iNpUVOKbpAcoE2N_yd0cdSwA-p0
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 20 Aug 2014 23:49:30 -0000

On Thu, Aug 21, 2014 at 12:28:15AM +0200, Hosnieh Rafiee wrote:
> knowledge about the content of DNS server query request and response. Next
> flow automatically reveal the content of this *encrypted* DNS messages...

This is the nub of your latest argument.

So that we're clear: we're imagining a defence against wide-spread
surveillance enabled in part by the fact that there is a concentration
of very large recursive resolvers that historically not been the case.
Therefore, the flow of network traffic toward those recursors is
attractive for surveillance.  Right?  That's anyway the circumstance
I'm thinking about.

Remember, we're only talking about last hop encryption.  This argument
actually relies on concentration of the queries at centralish places.

Now, under your new concern, the surveillance actor must correlate a
given encrypted query flow towards a resolver with a very large user
(client) population, correlate that resolver query with a _possible_
outbound query from the recursive server to the relevant authoritative
servers (which of course might not happen because of caches), and then
correlate the action with another outbound flow toward whatever
service the original user was planning to connect to.

I am very far from believing any more that nobody could do this kind of
large-scale analysis, but it certainly makes the kind of surveillance
we're talking about way harder and way more expensive.  That doesn't
seem like nothing.  

As an aside, you say

> map two flows with the same initiated IP (just generalize it to all
> traffic...)

This misses the fundamental problem in the way you're approaching this
issue: "just generalise" from specific to all cases.  But while
set-theoretic expansion works trivially that way, in practice things
are harder to achieve.  "Just generalise" is the way that Internet
services that work just fine for 200 do not work at all for 2 000 000.

Best regards,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com


From nobody Wed Aug 20 23:46:54 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 E27AA1A0695 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 23:46:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.568
X-Spam-Level: 
X-Spam-Status: No, score=-2.568 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668] 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 g8DuEUn2lRK7 for <dns-privacy@ietfa.amsl.com>; Wed, 20 Aug 2014 23:46:51 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 070451A6F97 for <dns-privacy@ietf.org>; Wed, 20 Aug 2014 23:46:51 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id 1C24F5660142 for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 06:46:49 +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 nQ_E6_jybDUU for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 08:46:19 +0200 (CEST)
Received: from kopoli (p5DCC776E.dip0.t-ipconnect.de [93.204.119.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 304FA5660140 for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 08:46:19 +0200 (CEST)
From: "Hosnieh Rafiee" <ietf@rozanak.com>
To: <dns-privacy@ietf.org>
References: <00ba01cfbbf9$d561f010$8025d030$@rozanak.com> <20140820143453.GD1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A28554@lhreml513-mbb.china.huawei.com> <20140820152343.GH1065@mx1.yitter.info> <814D0BFB77D95844A01CA29B44CBF8A7A285FA@lhreml513-mbb.china.huawei.com> <20140820155522.GJ1065@mx1.yitter.info> <006201cfbcb3$d64e0940$82ea1bc0$@rozanak.com> <20140820212332.GG2464@crankycanuck.ca> <008101cfbcc6$09d9d110$1d8d7330$@rozanak.com> <20140820234921.GA2797@mx1.yitter.info>
In-Reply-To: <20140820234921.GA2797@mx1.yitter.info>
Date: Thu, 21 Aug 2014 08:46:15 +0200
Message-ID: <001701cfbd0b$9c434d20$d4c9e760$@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: AQKUPlzldp8EhTskZiJwFszuzAaxyAJcgbntAd3fAtYBfgMRSgJ6DAKrAnqN6C8Co0HSZgIg9wccAO482t0BvBshJpnAnEvw
Content-Language: en-us
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/jNGl4q-thPE4E4OUm4ySea_cNe8
Subject: Re: [dns-privacy] [SPAM] Re: New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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, 21 Aug 2014 06:46:53 -0000

> 
> This is the nub of your latest argument.

Your own classification bring this new argument...
 
> So that we're clear: we're imagining a defence against wide-spread
> surveillance enabled in part by the fact that there is a concentration of
very
> large recursive resolvers that historically not been the case.

Agreed.. this is the topic of discussion

> Therefore, the flow of network traffic toward those recursors is
attractive for
> surveillance.  Right?  That's anyway the circumstance I'm thinking about.

Not quite sure... the next flow is attractive for him and not exactly the
flows go to recursive DNS server , if, according to your last message the
actor want to find a behavior patterns between different flows or analyses
the user behaviors...
The next flows actually goes to a server or a website.

> Now, under your new concern, the surveillance actor must correlate a given
> encrypted query flow towards a resolver with a very large user
> (client) population, correlate that resolver query with a _possible_
outbound
> query from the recursive server to the relevant authoritative servers
(which
> of course might not happen because of caches), 

I am not sure about the second part... why the surveillance actor needs to
do  the correlation between authoritative name servers and recursive? based
on the information available in stub resolver query request... he already
has all data .. and he doesn't need to go step by step up.. I don't think
that he wants to find the DNS servers..  In other words, the first query
gave all those information. 

So could you please clarify what kind of correlation you mean here?

>and then correlate the action
> with another outbound flow toward whatever service the original user was
> planning to connect to.

I think here.. he doesn't need this correlation. Because, if behavior
patterns are what he looks or  what user usually browse, search, connect,
etc. per day.. then the next flow is important.

> I am very far from believing any more that nobody could do this kind of
large-
> scale analysis, but it certainly makes the kind of surveillance we're
talking
> about way harder and way more expensive.  That doesn't seem like nothing.

This is what I am not quite agree on. In my opinion, our current problem is
the wrong focus about privacy. In other words, it appears to me that the
focus is only on some domain names . While I think domain names alone give
no meaningful and useful information to anyone... but the next flow gives
important information that is the correlation between a flows from end user
to a service (servers but not DNS servers) but with this way of encryption
we did not hide this correlation and still exist. (it appears that for this
correlation the solution is like what I said in last message, tunneling to
hide not only the first flow but the next interesting flows).

So, this is the case that I think encryption doesn't make this process
expensive unless the surveillance actor have no possibility to sniff the
next flows  . (the flows from end user to a service like a webserver)
without the help of a recursive DNS server. . If this is the case, I agree
with your argument... otherwise encryption doesn't change anything since our
target person in discussion is looking for something else and we encrypted
something that was in no interest of this person.

To be clear, please just focus on this scenario where a surveillance actor
just skip any traffic goes to a recursive DNS server. But he analyses
traffics that comes from users to services. If he has this access to analyze
this traffic. He can do this without bothering himself as he is not
interested to complicate his data analysis by following the traffic goes to
DNS recursive. Therefore, He directly follow traffics that initiated from
different users and goes to certain unknown locations. 

In other words, recursive DNS server is only the helper tool or that flow is
only a helper flow, But this helper flow only works in case where the
surveillance actor has no possibility to sniff the next interesting flows.
But in your example, it appears that this is not a case and he want no
meaningful correlation between DNS flows and next flows. While, I think,
directly he can have next flows without this correlation. So, when he have
access to both traffic flows (DNS recursive and flows end users to
services)... why he should bother himself to sniff traffic to DNS server
that is of no interest?


> This misses the fundamental problem in the way you're approaching this
> issue: "just generalise" from specific to all cases.  But while
set-theoretic
> expansion works trivially that way, in practice things are harder to
achieve.
> "Just generalise" is the way that Internet services that work just fine
for 200
> do not work at all for 2 000 000.

This is one approach to solve the problem and I am sure you and all people
in IETF are familiar with (Divide and conquer algorithms).. in other words,
such problem cannot be easily understood if we do not make it as  simple as
possible. After the solution works for simple case we can also extend it to
larger case and see whether or not it still works. Then at the end we can
evaluate the solution to this problem as a whole...

Best,
Hosnieh


From nobody Thu Aug 21 01:39:02 2014
Return-Path: <hosnieh.rafiee@huawei.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 1472E1A00A7 for <dns-privacy@ietfa.amsl.com>; Thu, 21 Aug 2014 01:39:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.869
X-Spam-Level: 
X-Spam-Status: No, score=-4.869 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 kt3qdrA1-6bn for <dns-privacy@ietfa.amsl.com>; Thu, 21 Aug 2014 01:39:00 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 945AA1A0060 for <dns-privacy@ietf.org>; Thu, 21 Aug 2014 01:38:59 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml402-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BLM78244; Thu, 21 Aug 2014 08:38:56 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml402-hub.china.huawei.com ([10.201.5.241]) with mapi id 14.03.0158.001; Thu, 21 Aug 2014 09:38:50 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: Jacob Appelbaum <jacob@appelbaum.net>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: Ac+74izFesB7iTWZT+ajsxZfCc/giwAlIHoAAAKEPLD///JsAP//7ulAgAAb7gD//+wZcA==
Date: Thu, 21 Aug 2014 08:38:49 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A2894C@lhreml513-mbb.china.huawei.com>
References: <008c01cfbbe2$2e666820$8b333860$@rozanak.com> <20140820140014.GC12317@nic.fr> <814D0BFB77D95844A01CA29B44CBF8A7A284C7@lhreml513-mbb.china.huawei.com> <CAFggDF2Mhr3bCG39JxH93eC8PCVvb1J5yYV44zi=UMTJrfQr7A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A28511@lhreml513-mbb.china.huawei.com> <CAFggDF1dj7L48DEc6PVPc+nkLyvQbjr=q0g+E1ckWnuYtfhp5A@mail.gmail.com>
In-Reply-To: <CAFggDF1dj7L48DEc6PVPc+nkLyvQbjr=q0g+E1ckWnuYtfhp5A@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/SacHq0xtoOya-gbf2JefIUP52q4
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 21 Aug 2014 08:39:01 -0000

SmFjb2IsDQoNCiBJIGFtIHNvcnJ5LCBJIGp1c3Qgc2tpcHBlZCBhbnN3ZXJpbmcgeW91ciBtZXNz
YWdlcyBkaXJlY3RseS4gQmVjYXVzZSBJIHRob3VnaHQgdGhlIG9uZ29pbmcgZGlzY3Vzc2lvbiB3
aXRoIEFuZHJldyB3b3VsZC93aWxsIGNvdmVyIG1hbnkgb3RoZXIgcXVlc3Rpb25zLg0KDQpUaGUg
b3RoZXIgcHJvYmxlbSBpcyB0aGF0IEkgYW0gb25seSBvbmUgcGVyc29uIGFuZCBmbG9vZGVkIHdp
dGggbWFueSBtZXNzYWdlcy4uLi4oc28gcXVpY2sgYW5zd2VyaW5nIG1lc3NhZ2VzIHRvIG5vdCBm
b3JnZXQgd2hhdCBpcyBpdCBpbiBteSBtaW5kLi4uIGxlZCB0byBwb29yIEVuZ2xpc2ggbWVzc2Fn
ZXMgb3Igbm90IHVuZGVyc3RhbmRhYmxlIG1lc3NhZ2VzIHNvIHRoYXQgcGVvcGxlIGhhZCBkaWZm
ZXJlbnQgaW50ZXJwcmV0YXRpb25zLiBzaW5jZSBpdCB3YXMgb25seSBsaWtlIHF1aWNrIHRob3Vn
aHRzIHdpdGhvdXQgaGF2aW5nIHRpbWUgdG8gZXhw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kIGF1dGhlbnRpY2F0aW9uLiBUaGVuIHlvdSBoYXZlIGEgY29tcGxldGUgY2FzZSBs
aWtlIGl0ZW0gNCBvZiBBbmRyZXcncyBtZXNzYWdlLg0KDQoNCg==


From marek@vavrusa.com  Tue Aug 26 08:02:13 2014
Return-Path: <marek@vavrusa.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 AD6F11A86EC for <dns-privacy@ietfa.amsl.com>; Tue, 26 Aug 2014 08:02:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.021
X-Spam-Level: *
X-Spam-Status: No, score=1.021 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 aM3iIJ52smXa for <dns-privacy@ietfa.amsl.com>; Tue, 26 Aug 2014 08:02:11 -0700 (PDT)
Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C197E1A86E2 for <dns-privacy@ietf.org>; Tue, 26 Aug 2014 08:02:11 -0700 (PDT)
Received: by mail-ie0-f170.google.com with SMTP id rl12so11740342iec.15 for <dns-privacy@ietf.org>; Tue, 26 Aug 2014 08:02:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:content-type; bh=6JirN/5fF0mQGln5U6NyCvxml/vtjIXZb8JPSbmgjSs=; b=U74fFnxHmCpYa4imPn6P3XxBXjhEWzXLuPQw50xWCQYyMar/I6C4SKnFmKLC2yDZYG TEi5XmCDwAP/EQP1crWOjqMxBzxPoJDWMJTM1FYifpO8pygPYJKbuRibZgfg9rNLgOjX fEMhVnPIhn7Ic++uh/skH+2x0qmmF2FnBcwcClw7sIeVlOGq4c0ITNP8BwOFVtDvE8Qq JPlfwLOfBX1NCOMBVdeUuHy37pZRZzo2pD9BFAFOJ+QvAOPPlDYp70PYe2Cbfky1BMWr g7lDOrh/twIhzlm242TxAs4MH+ZeUJE0COLM86vn4SK/JceabMx7sjno9UwgIYboDGzv ljUA==
X-Gm-Message-State: ALoCoQnfk6M5KxQx+eLfL9ZPAQ65YlnEUh745ZCrQMOKaotVXWXZ5RDVrkbzjTD3IPvrmCM44VMv
X-Received: by 10.50.39.8 with SMTP id l8mr23221727igk.13.1409065330457; Tue, 26 Aug 2014 08:02:10 -0700 (PDT)
MIME-Version: 1.0
Sender: marek@vavrusa.com
Received: by 10.107.33.75 with HTTP; Tue, 26 Aug 2014 08:01:50 -0700 (PDT)
X-Originating-IP: [2001:67c:1220:80c:1aa9:5ff:fef6:7310]
From: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Tue, 26 Aug 2014 17:01:50 +0200
X-Google-Sender-Auth: AGTKF5gmAuZJ1jpIabjQrBn1q34
Message-ID: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com>
To: dns-privacy@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/vAMc2p5aJ4CXYn3_7RCxSmnXcYU
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 26 Aug 2014 15:03:48 -0000

Hi, I just wanted to chime in that I've read the
draft-bortzmeyer-dnsop-dns-privacy, good stuff.
One of my concerns regarding the privacy is - even with the encryption
and minimization, there's still a lot of information available about
the query resolution, like for example who's asking who, sizes of the
query/response and such. I mean, for example if I'm asking a TLD and
then a hosting company, it's a pretty good chance I'm looking for a
name under that TLD and registered with that company.

I wonder what are your thoughts about something like the onion routing
in the DNS query resolution? Instead of asking the authoritative
servers directly, you could give a small N of random bounces within a
group of name servers, making the exit point (to some extent) random.
This could work even for a partial solution of a query - for example
when resolving multiple NS addresses at once. This presumes a
relatively confident "last mile" between the query originator and the
first bouncing resolver, and unfortunately brings additional costs (in
terms of CPU and bandwidth) for processing bounced queries.

Best,
Marek Vavrusa (CZ.NIC)


From nobody Wed Aug 27 04:54:29 2014
Return-Path: <hosnieh.rafiee@huawei.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 0F5221A0652 for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 04:54:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.268
X-Spam-Level: 
X-Spam-Status: No, score=-1.268 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, J_CHICKENPOX_84=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 CiuL1nLcFjFt for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 04:54:25 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08EAD1A0649 for <dns-privacy@ietf.org>; Wed, 27 Aug 2014 04:54:23 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml405-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BLV32617; Wed, 27 Aug 2014 11:54:15 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml405-hub.china.huawei.com ([10.201.5.242]) with mapi id 14.03.0158.001; Wed, 27 Aug 2014 12:54:11 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: =?utf-8?B?TWFyZWsgVmF2cnXFoWE=?= <marek.vavrusa@nic.cz>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: AQHPwT74AFmn0gry1kmll0i68BL1FpvkJP6g///5bgCAABFBgA==
Date: Wed, 27 Aug 2014 11:54:11 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com>
In-Reply-To: <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: multipart/alternative; boundary="_000_814D0BFB77D95844A01CA29B44CBF8A7A29930lhreml513mbbchina_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/VDi5aRZDTtpV3DMtN9CEpw-WKfA
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 27 Aug 2014 11:54:29 -0000

--_000_814D0BFB77D95844A01CA29B44CBF8A7A29930lhreml513mbbchina_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkgTWFyZWssDQoNCg0KDQpJZiB5b3Ugd291bGQgcHJlZmVyIHRvIGRvIGl0IGluIHRoZSBtYWls
aW5nbGlzdCwgdGhhdCBpcyBmaW5lIHRvIG1lIGFzIEkgb25seSBzaGFyZSBteSBvd24gdGhvdWdo
dHMgYWJvdXQgRE5TIHByaXZhY3kuIEFnYWluIEkgYW0gbm8gbW9yZSBjb252aW5jZWQgdG8gY29u
c2lkZXIgRE5TIHByaXZhY3kgYmVjYXVzZSBvZiB0aGUgcmVhc29ucyBJIGV4cGxhaW5lZCBiZWZv
cmUgaW4gbWFpbGluZyBsaXN0IGFuZCBhbHNvIGhlcmUgZXhwbGFpbmluZyB3aXRoIG1vcmUgZXhh
bXB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xwIGNsYXNzPSJNc29Q
bGFpblRleHQiPiZndDsgJmd0OyBIb3NuaWVoPG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvYm9k
eT4NCjwvaHRtbD4NCg==

--_000_814D0BFB77D95844A01CA29B44CBF8A7A29930lhreml513mbbchina_--


From nobody Wed Aug 27 12:46:53 2014
Return-Path: <wjhns1@hardakers.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 5A6BC1A01AC for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 12:46:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.654
X-Spam-Level: ***
X-Spam-Status: No, score=3.654 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.793, 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 7ShBBa_oH6lE for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 12:46:42 -0700 (PDT)
Received: from mail.hardakers.net (unknown [IPv6:2001:470:1f00:187::1]) by ietfa.amsl.com (Postfix) with ESMTP id 48EB91A01C5 for <dns-privacy@ietf.org>; Wed, 27 Aug 2014 12:46:42 -0700 (PDT)
Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id 49742262FA; Wed, 27 Aug 2014 12:46:41 -0700 (PDT)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Carsten Strotmann <cas@strotmann.de>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de>
Date: Wed, 27 Aug 2014 12:46:41 -0700
In-Reply-To: <86mwb0e5pd.fsf@strotmann.de> (Carsten Strotmann's message of "Tue, 19 Aug 2014 19:42:54 +0200")
Message-ID: <0l61hdogv2.fsf@wjh.hardakers.net>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ZIor7YJu2ccm8RVqlIi8DuAA8Yo
Cc: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Wed, 27 Aug 2014 19:46:43 -0000

Carsten Strotmann <cas@strotmann.de> writes:

>> Ok then I am an attacker, since you cannot authenticate me, I sign the
>> data myself. This has data integrity. But it is the modified data and
>> not what you expected to receive...
>
> How can you sign DNSSEC data without being in the posession of the
> private signing key(s) all the way to the root?
>
> DNSSEC adds data integrity, and with one or more trust-anchors in the
> resolver the client is able to validate the data, no matter which way
> the data took.

So, there is some confusion here I think so we need to be clear about a
few things.  We're talking about privacy, and in this context
stub-to-resolver entirely.  There are two forms of
integrity/authentication going on and they need to be clearly separated
but I keep seeing them being thrown together.

DNSSEC absolutely helps you ensure that the end data you got is "good"
from the notion of the publisher.

But it doesn't help you to identify the public key of the resolver
you're using to query for those results.  So it doesn't help you ensure
you're encrypting your packets to the right destination.  And DNSSEC may
ensure you have the right data, but it doesn't help you determine if you
really did get it in a way that no one else but you, the coffee shop
owner, and the final destination could see.  And this is the important
bit: in the context of the discussion, we are only talking about
verifying the public key of the resolver in order to implement privacy;
Clearly DNSSEC has solved authenticating the data itself and that's not
in question.  I think most people understand this difference (I hope).


But here's the thing that is keeping me awake at nights in this topic:
we keep saying that "un-authenticated encryption is better than no
encryption".  And I do generally think this is true.  At least you're
only transmitting your data to one potentially bad person (the one
you've done a key negotiation with) rather than letting anyone with 100
feet view the data.

But then, stepping back, you have to ask yourself: what's the likely
threat model of everyone in 100 feet trying to attack you?  If we really
are worried about protecting people at starbucks, what's the likelyhood
of 2 people in starbucks trying to sniff your private dns lookups at the
same time?  Probably super-duper low.  So, are we really protecting you
at all if the one bad person in the coffee shop is able to convince you
it's the local resolver?  IE, if we blindly assume that whatever key we
get is ok then we're buying ourselves very minimal protection against
the few opponents within spitting distance of a wireless box.  Likely
there will be just one, and it'll likely succeed in defeating your
encryption.

Now, in larger venues where are there are potentially lots and lots of
people that are targeting an environment for sniffing, say at an IETF
convention where we're very good at overwhelming infrastructure, then
the likelyhood of having multiple malicious eves goes way up and maybe
we've achieved a bit of protection by transmitting our dns request data
to just one advocacy instead of them all.


But what's the solution?  How do we authenticate that resolver?  PKIX
won't help us, as there is no name.  DNSSEC won't help us, as half the
time you're behind a nat so the reverse tree can't be used [ipv6
actually might help here].  Leap of faith is probably better than
nothing if you frequent that coffee shop.  I don't think secure dhcp has
gotten that far, but I'm admittedly out of touch.

We simply keep moving this chicken/egg problem of secure bootstrapping
from one protocol to the next.  It's like one egg that keeps changing
chickens.

-- 
Wes Hardaker
Parsons


From nobody Wed Aug 27 13:05:50 2014
Return-Path: <paul.hoffman@vpnc.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 C2B631A0099 for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 13:05:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pFjeUgWpXKF9 for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 13:05:46 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE1E41A0154 for <dns-privacy@ietf.org>; Wed, 27 Aug 2014 13:05:46 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7RK5eDn089168 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 27 Aug 2014 13:05:43 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <0l61hdogv2.fsf@wjh.hardakers.net>
Date: Wed, 27 Aug 2014 13:05:38 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <4B526DD0-863B-4E01-8328-898C426067AC@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net>
To: Wes Hardaker <wjhns1@hardakers.net>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/_e8Q0NoA6bmOHAqZpWGF4iGqrW8
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: [dns-privacy] Authenticating the resolver
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, 27 Aug 2014 20:05:49 -0000

On Aug 27, 2014, at 12:46 PM, Wes Hardaker <wjhns1@hardakers.net> wrote:

> But what's the solution?  How do we authenticate that resolver?  PKIX
> won't help us, as there is no name. =20

Say what? That draft clearly says that the resolver can have a PKIX =
certificate with its IP address as the name.

> DNSSEC won't help us, as half the
> time you're behind a nat so the reverse tree can't be used [ipv6
> actually might help here]. =20

Right, but irrelevant, since the stub is assumed not to be a validating =
stub because so few are.

> Leap of faith is probably better than
> nothing if you frequent that coffee shop.  I don't think secure dhcp =
has
> gotten that far, but I'm admittedly out of touch.

Secure DHCP is just moving the egg around. The likelihood that you have =
the coffee shop's DHCP server's credentials are zero.

You also forgot other options, such as preshared signing key. That would =
work fine for enterprises or ISPs with a help desk and a few thousand =
users. "Paste this into that dialog on your computer" works OK. But PKIX =
with IP addresses is probably more scalable.

> We simply keep moving this chicken/egg problem of secure bootstrapping
> from one protocol to the next.  It's like one egg that keeps changing
> chickens.

Please look at the draft again; I don't think it is as bad as you are =
saying.

--Paul Hoffman=


From nobody Wed Aug 27 19:26:12 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 56A671A01F2 for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 19:26:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.569
X-Spam-Level: 
X-Spam-Status: No, score=-2.569 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668, 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 c6VeE5jiO7md for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 19:26:08 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 476621A015F for <dns-privacy@ietf.org>; Wed, 27 Aug 2014 19:26:08 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id C90B51FCB72; Thu, 28 Aug 2014 02:26:04 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 7F15716006A; Thu, 28 Aug 2014 02:28:42 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id 296E316005D; Thu, 28 Aug 2014 02:28:42 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id E63EE1DA773E; Thu, 28 Aug 2014 12:26:01 +1000 (EST)
To: Wes Hardaker <wjhns1@hardakers.net>
From: Mark Andrews <marka@isc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net>
In-reply-to: Your message of "Wed, 27 Aug 2014 12:46:41 -0700." <0l61hdogv2.fsf@wjh.hardakers.net>
Date: Thu, 28 Aug 2014 12:26:01 +1000
Message-Id: <20140828022601.E63EE1DA773E@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/o0w6SlGTxmj8cC5ZsgauVjvsmxc
Cc: Carsten Strotmann <cas@strotmann.de>, Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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, 28 Aug 2014 02:26:10 -0000

In message <0l61hdogv2.fsf@wjh.hardakers.net>, Wes Hardaker writes:
> Carsten Strotmann <cas@strotmann.de> writes:
> 
> >> Ok then I am an attacker, since you cannot authenticate me, I sign the
> >> data myself. This has data integrity. But it is the modified data and
> >> not what you expected to receive...
> >
> > How can you sign DNSSEC data without being in the posession of the
> > private signing key(s) all the way to the root?
> >
> > DNSSEC adds data integrity, and with one or more trust-anchors in the
> > resolver the client is able to validate the data, no matter which way
> > the data took.
> 
> So, there is some confusion here I think so we need to be clear about a
> few things.  We're talking about privacy, and in this context
> stub-to-resolver entirely.  There are two forms of
> integrity/authentication going on and they need to be clearly separated
> but I keep seeing them being thrown together.
> 
> DNSSEC absolutely helps you ensure that the end data you got is "good"
> from the notion of the publisher.
> 
> But it doesn't help you to identify the public key of the resolver
> you're using to query for those results.  So it doesn't help you ensure
> you're encrypting your packets to the right destination.  And DNSSEC may
> ensure you have the right data, but it doesn't help you determine if you
> really did get it in a way that no one else but you, the coffee shop
> owner, and the final destination could see.  And this is the important
> bit: in the context of the discussion, we are only talking about
> verifying the public key of the resolver in order to implement privacy;
> Clearly DNSSEC has solved authenticating the data itself and that's not
> in question.  I think most people understand this difference (I hope).

Actually DNSSEC could give you the key of the resolver securely
provided it has a public address.  Publish a KEY record signed in
the DNS under in-addr.arpa or ip6.arpa.  If need to we define flag
bits to say it is for this purpose.  For private addresses you need
to have a trust anchor for the private part of the reverse tree or
use leap of faith.

This also works for any authoritative server.

Alternatively we could allocate a new type to hold the key material.

You can't hide that you are talking to a resolver so there is no
need to encrypt the lookups for the KEY, DNSKEY, DS lookups required
to validate the KEY.

> But here's the thing that is keeping me awake at nights in this topic:
> we keep saying that "un-authenticated encryption is better than no
> encryption".  And I do generally think this is true.  At least you're
> only transmitting your data to one potentially bad person (the one
> you've done a key negotiation with) rather than letting anyone with 100
> feet view the data.
> 
> But then, stepping back, you have to ask yourself: what's the likely
> threat model of everyone in 100 feet trying to attack you?  If we really
> are worried about protecting people at starbucks, what's the likelyhood
> of 2 people in starbucks trying to sniff your private dns lookups at the
> same time?  Probably super-duper low.  So, are we really protecting you
> at all if the one bad person in the coffee shop is able to convince you
> it's the local resolver?  IE, if we blindly assume that whatever key we
> get is ok then we're buying ourselves very minimal protection against
> the few opponents within spitting distance of a wireless box.  Likely
> there will be just one, and it'll likely succeed in defeating your
> encryption.
> 
> Now, in larger venues where are there are potentially lots and lots of
> people that are targeting an environment for sniffing, say at an IETF
> convention where we're very good at overwhelming infrastructure, then
> the likelyhood of having multiple malicious eves goes way up and maybe
> we've achieved a bit of protection by transmitting our dns request data
> to just one advocacy instead of them all.
> 
> 
> But what's the solution?  How do we authenticate that resolver?  PKIX
> won't help us, as there is no name.  DNSSEC won't help us, as half the
> time you're behind a nat so the reverse tree can't be used [ipv6
> actually might help here].  Leap of faith is probably better than
> nothing if you frequent that coffee shop.  I don't think secure dhcp has
> gotten that far, but I'm admittedly out of touch.
> 
> We simply keep moving this chicken/egg problem of secure bootstrapping
> from one protocol to the next.  It's like one egg that keeps changing
> chickens.
> 
> -- 
> Wes Hardaker
> Parsons
> 
> _______________________________________________
> dns-privacy mailing list
> dns-privacy@ietf.org
> https://www.ietf.org/mailman/listinfo/dns-privacy
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org


From nobody Wed Aug 27 23:06:34 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 90D621A03A4 for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 23:06:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.269
X-Spam-Level: 
X-Spam-Status: No, score=-7.269 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, 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 BbG4AsAeXEkv for <dns-privacy@ietfa.amsl.com>; Wed, 27 Aug 2014 23:06:25 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 476701A0373 for <dns-privacy@ietf.org>; Wed, 27 Aug 2014 23:06:25 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.pao1.isc.org (Postfix) with ESMTP id 0E44E3493CA; Thu, 28 Aug 2014 06:06:24 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 618F916005D; Thu, 28 Aug 2014 06:09:02 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id 30DAD16004A; Thu, 28 Aug 2014 06:09:02 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 9E58C1DAFBBE; Thu, 28 Aug 2014 16:06:21 +1000 (EST)
To: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
From: Mark Andrews <marka@isc.org>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com>
In-reply-to: Your message of "Tue, 26 Aug 2014 17:01:50 +0200." <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com>
Date: Thu, 28 Aug 2014 16:06:21 +1000
Message-Id: <20140828060621.9E58C1DAFBBE@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/CFRJfx6fGuAywPOZEQFElUpFXzA
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 28 Aug 2014 06:06:30 -0000

In message <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com>
, =?UTF-8?Q?Marek_Vavru=C5=A1a?= writes:
> Hi, I just wanted to chime in that I've read the
> draft-bortzmeyer-dnsop-dns-privacy, good stuff.
> One of my concerns regarding the privacy is - even with the encryption
> and minimization, there's still a lot of information available about
> the query resolution, like for example who's asking who, sizes of the
> query/response and such. I mean, for example if I'm asking a TLD and
> then a hosting company, it's a pretty good chance I'm looking for a
> name under that TLD and registered with that company.
> 
> I wonder what are your thoughts about something like the onion routing
> in the DNS query resolution? Instead of asking the authoritative
> servers directly, you could give a small N of random bounces within a
> group of name servers, making the exit point (to some extent) random.
> This could work even for a partial solution of a query - for example
> when resolving multiple NS addresses at once. This presumes a
> relatively confident "last mile" between the query originator and the
> first bouncing resolver, and unfortunately brings additional costs (in
> terms of CPU and bandwidth) for processing bounced queries.
> 
> Best,
> Marek Vavrusa (CZ.NIC)

And the point of doing this when the next thing you do is open a
TCP connection to a server is or are you thinking that we should
be using tor for all connections all the time?

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org


From nobody Thu Aug 28 03:51:13 2014
Return-Path: <marek@vavrusa.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 B0C201A6F66 for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 03:51:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level: 
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 GsYWGO8qp4at for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 03:51:02 -0700 (PDT)
Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 670F01A6F65 for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 03:51:02 -0700 (PDT)
Received: by mail-ig0-f179.google.com with SMTP id r2so675944igi.0 for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 03:51:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=QBeXYPxkQiL7GzgqHxw5H4JUTbWunD/ev9WHvdgTzfI=; b=TmZW/vLnS7+AJDOFQekRAA4P0bDmjJnETdNA0//S7oJyDRMh7nF2gHygxTN1ULZseR ZK9aI11sZvNTx4pPssAeAsfogq09O/TaCAuYF0maWHMzNdUI7F2139nhmT89iHq+gxEi vBIP/S8eclYW1mV7cVXJ6htV7D3SJG5K7ClPCQmA/nxjbkatz6D1NqxECl3gdEIR+ESl hneSHdJQedVLrRxirji1qgAt1ZzEe2ZDBe6E3uxSPlftL0qKEBg0Sg/5a4h3ObRMCJfB OLDsAVM23FeuIeNNWkv6VzdRRnoYXdtofe44qh4kygi7HiPuaznriB+AkfLpvwX6i6td mcug==
X-Gm-Message-State: ALoCoQl8lbvg2KNUVh+HiS2AHioFxWLC3eKqSVDqoblQnsTxyzPPI6Z/sxIjjIZO05xbVAX3H4wk
X-Received: by 10.42.63.129 with SMTP id c1mr673821ici.82.1409223061564; Thu, 28 Aug 2014 03:51:01 -0700 (PDT)
MIME-Version: 1.0
Sender: marek@vavrusa.com
Received: by 10.107.33.75 with HTTP; Thu, 28 Aug 2014 03:50:41 -0700 (PDT)
X-Originating-IP: [2001:67c:1220:80c:1aa9:5ff:fef6:7310]
In-Reply-To: <20140828060621.9E58C1DAFBBE@rock.dv.isc.org>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <20140828060621.9E58C1DAFBBE@rock.dv.isc.org>
From: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Thu, 28 Aug 2014 12:50:41 +0200
X-Google-Sender-Auth: _3vAezq_xED-ctNg9J14yYtlYaU
Message-ID: <CACgotOStopu1e8E0F7ER9WLsf=EtCCuBUkRgYuNuPsdEmXqyJA@mail.gmail.com>
To: Mark Andrews <marka@isc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/-56NOQwhmGMCtMWmuEvdIcoRI4w
Cc: dns-privacy@ietf.org
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 28 Aug 2014 10:51:09 -0000

Hi Mark,

I'm thinking of bouncing queries between N resolvers, regardless of
what transport protocol they choose to use.
Because the path "client -> resolver -> auth" is easier to trace back
than "client -> resolver -> (random bounces) -> auth".
The only benefit of doing this is the anonymity nearing to that of an
open resolver, without being... open for everyone,
as the resolvers may be only open to each other / secured.
Or do you mean the TCP connection that client possibly opens after
name resolution? Then yes, this does not
prevent eavesdropping between the client and the resolver.


On 28 August 2014 08:06, Mark Andrews <marka@isc.org> wrote:
>
> In message <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com>
> , =?UTF-8?Q?Marek_Vavru=C5=A1a?= writes:
>> Hi, I just wanted to chime in that I've read the
>> draft-bortzmeyer-dnsop-dns-privacy, good stuff.
>> One of my concerns regarding the privacy is - even with the encryption
>> and minimization, there's still a lot of information available about
>> the query resolution, like for example who's asking who, sizes of the
>> query/response and such. I mean, for example if I'm asking a TLD and
>> then a hosting company, it's a pretty good chance I'm looking for a
>> name under that TLD and registered with that company.
>>
>> I wonder what are your thoughts about something like the onion routing
>> in the DNS query resolution? Instead of asking the authoritative
>> servers directly, you could give a small N of random bounces within a
>> group of name servers, making the exit point (to some extent) random.
>> This could work even for a partial solution of a query - for example
>> when resolving multiple NS addresses at once. This presumes a
>> relatively confident "last mile" between the query originator and the
>> first bouncing resolver, and unfortunately brings additional costs (in
>> terms of CPU and bandwidth) for processing bounced queries.
>>
>> Best,
>> Marek Vavrusa (CZ.NIC)
>
> And the point of doing this when the next thing you do is open a
> TCP connection to a server is or are you thinking that we should
> be using tor for all connections all the time?
>
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org


From nobody Thu Aug 28 04:06:34 2014
Return-Path: <marek@vavrusa.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 B5A721A6F72 for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 04:06:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.621
X-Spam-Level: *
X-Spam-Status: No, score=1.621 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_84=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 PEO-ugCj0I3V for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 04:06:30 -0700 (PDT)
Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85A6F1A04E9 for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 04:06:19 -0700 (PDT)
Received: by mail-ie0-f181.google.com with SMTP id rp18so728342iec.12 for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 04:06:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5zV0zYJbe/FNBfuW2sNyTtGrMdXrSL6n0V57xbxFybY=; b=NqqdDIRJFZCWsESnHgeBPfsVZLzJc4uMntuSVx05W9kOHYV2S6HEyPWneEM9Zi3vqq Isyx5ld+XhROQ8s1oz4IPVocwuF5izhHaZ1IzLdTnPQ3Nwz3j0FTbeMjcR9Mu1bmOsaF 6/rcQnd47K0SDC1hZTSeiDSXfRGkKfWSGdE4He8zX9Dldq0O1qjpHWIH6wXs7L4uAk4P Pt3KuMtsHsWnnaCGQxdzFi/SoVfte1IjKtpZNEx1yhN7xPSuWg16vLUeVnYoFkGtlLld dcAUoskM9JhDEmcbeM72YpndiqJXXBNKzTzCmqL5g4TxDLOqvewyxAdvaRjdmgyz0ngI L3Uw==
X-Gm-Message-State: ALoCoQlkH69vAKffKGIetxtWVz4KoFgdoX9Xpk6P8oDacUc/mef4WKiSkUGQxc43bbM2yLcnTZZ2
X-Received: by 10.50.39.8 with SMTP id l8mr4372563igk.13.1409223978856; Thu, 28 Aug 2014 04:06:18 -0700 (PDT)
MIME-Version: 1.0
Sender: marek@vavrusa.com
Received: by 10.107.33.75 with HTTP; Thu, 28 Aug 2014 04:05:58 -0700 (PDT)
X-Originating-IP: [2001:67c:1220:80c:1aa9:5ff:fef6:7310]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com>
From: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Thu, 28 Aug 2014 13:05:58 +0200
X-Google-Sender-Auth: wFxFqvK79m2yWXlMMOKnzBArqSo
Message-ID: <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/4Z6Kf94wnNeLtT6Nk0YDhkm_tAs
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 28 Aug 2014 11:06:32 -0000

Hi Hosnieh,

it's a little long winded. So, you're questioning the point of DNS
privacy on the basis that it doesn't bring anything useful to the
interested observer?
Sure there's NAT, MITM can eavesdrop your other traffic and so on. But
it is very real for TU2/3 to gather data on the auth/resolvers and use
them as
a forensic evidence, correlating them to other traffic, geolocation
and traffic distribution, whois records etc. with a certain degree of
confidence.
People have started businesses with this sort of information.

Saying DNS traffic does not carry anything interesting is a bold
claim, it might be true, it might be not.
Regardless of how it is, I think that giving less information is
always better, if the cost isn't too high, and I'm happy to discuss
technical questions / ideas.

Best,
Marek

On 27 August 2014 13:54, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote:
> Hi Marek,
>
>
>
> If you would prefer to do it in the mailinglist, that is fine to me as I
> only share my own thoughts about DNS privacy. Again I am no more convince=
d
> to consider DNS privacy because of the reasons I explained before in mail=
ing
> list and also here explaining with more example and in different categori=
es.
>
> First of all, please do not think your approach is bad as it already used
> for several purposes but in my opinion, it does not work for DNS. It is
> because, in general, there is nothing meaningful are carried by DNS (plea=
se
> see below)
>
>
>
> I guess before we go through any solution space, it is required to
> understand the problem exactly. In other words, answer to this question t=
hat
> what we want to hide from others and who are our target group that we wan=
t
> to hide this data from. Then we can think about whether your solution wou=
ld
> help this or not.
>
>
>
> First, let's have a different categorization to clarify what we want to
> hide, and who we want to hide this data from. It actually helps to identi=
fy
> the exact problem and then think about solution space.
>
>
>
> In my opinion there are 3 groups of people ( Target User or for short =E2=
=80=9CTU=E2=80=9D)
> who might be interested in our data
>
> 1-    a powerful surveillance actor:
>
> This person has power to define a new rule to a country, and all internet
> traffic flows passed by his devices or the companies who MUST report the
> information to him. Otherwise those companies will be banned!
>
> 2-    A passive surveillance actor:
>
> This can be a government, a colleague of yours or whoever that do not wan=
t
> to others know about his activities. In other words, he doesn=E2=80=99t w=
ant to be
> recognized otherwise he would be in trouble
>
> 3-    An attacker:
>
> This person wants to obtain data in whatever way possible. If it is
> necessary, he would also do active attacks. He would try at the same time=
 to
> keep himself anonymous but he would do risks to access user=E2=80=99s dat=
a.
>
>
>
> Now let=E2=80=99s see what information one might obtains from a DNS serve=
r, either
> recursive or TLDs.
>
>
>
> 1-    Domain names, labels, IP addresses on DNS servers
>
> This data might not be meaningful otherwise it point TU to certain traffi=
cs
> that carry confidential data. It might also lead to a case where TU can f=
ind
> behavior patterns. Of course, gathering this data from a DNS server needs
> extra effort and needs extra time because he needs to crawl each website =
to
> know the content. Also he doesn=E2=80=99t know what a user searched on th=
is website.
> So he can obtain no precise information.
>
> 2-    Source (end user=E2=80=99 IP address) or sender of the data (first =
point of
> contact where end user=E2=80=99s device connected to such as a recursive =
resolver)
>
> Since most users are behind NAT, this might not give much information abo=
ut
> an individual but it might be only a general IP address of a network. In
> case, the target are  messages exchanged between recursive to authoritati=
ve
> name servers, it only expose the source IP address of this recursive (I
> guess this is where you have concern about)
>
>
>
> Now what the purposes of TU might be to analyze the traffic or try to acc=
ess
> user=E2=80=99s data (DATA gathering process)
>
> 1-    To find users=E2=80=99 behavior and analyze users (this is of cours=
e too
> general. So, TU interested in all traffic to find bindings and matching
> among traffic flows)
>
> TU group 2 might be interested in.
>
> 2-    To gather information about a particular individual and use this da=
ta
> likely against him.
>
> This is what TU group 1,2 and 3 might be interested in.
>
> 3-    To gather information about a particular individual only for curios=
ity
> but not for any malicious activities.
>
> TU group 2 might be interested in
>
>
>
> Now what our purposes might be by hiding the DNS traffic. Our main means =
of
> DNS query protection is=E2=80=A6: (Our purpose)
>
> 1-    To hide who is the data originator (end user) and hide its identity
> (such as its IP address) behind several other nodes (like what is done in
> Tor)
>
> Since the originator IP address is not bound to any user, this really not
> helps.
>
> 2-    To disallow user=E2=80=99s behavior analysis and comparison of one =
user=E2=80=99s
> behavior with other user=E2=80=99s behavior to find a pattern.
>
> This is of course not possible only by focusing on any DNS traffic, eithe=
r
> from stub to recursive or from recursive to authoritative. Why? Because=
=E2=80=A6
>
> -     The source of this data is not an exact user (it is either a public
> recursive server or a general NAT IP address of a network
>
> -     Domain name, as explained before, doesn=E2=80=99t give any importan=
t
> information about users, its behavior, etc. and you need to do much more
> efforts to crawl each domain to find out what content the user was lookin=
g
> for. This is, of course, only limited to web sites where you can crawl bu=
t
> not the servers that a user connected only for the means of uploading som=
e
> files, etc (so, this data is not precise to use it for users=E2=80=99 beh=
avior
> analysis). You only can gather this information by analyzing and having
> access to next traffic flows. In this case, TU only focuses on next traff=
ic
> flows and would not bother himself with DNS traffic analysis.
>
>
>
> 3-    To disallow anyone to see what I browse or search in my enterprise,
> public wifi or any other private networks
>
>
>
> TU group 1: The content of data is important for him. He doesn=E2=80=99t =
care what
> the DNS server have is. He cares about the identity of users and wants to
> know who browse what. In this case, a user is forced to use his devices a=
nd
> all traffic passed by his devices, either user like this or not but user =
has
> no power to prevent him having access to his (user) data. So, he can easi=
ly
> change his role to active attacker in case user uses any encryption to hi=
de
> the traffic. He already knows the real identity of the user by analyzing
> next flows and can gather as much information about this user as possible=
.
>
>
>
> TU group2: for this group also the content of data is important. They mig=
ht
> not focus on a particular user because the flow matching is what they wan=
t
> to do to find patterns, etc. When the content of data is important, what =
is
> happening on DNS server is no interest of him because as I explained
> earlier, DNS traffic is not meaningful and needs much more effort to make=
 it
> meaningful and find that bindings between a certain DNS flow to other dat=
a
> flow exchanged between an end user and a service. So, in this case, also
> randomizing recursive DNS servers and hiding one recursive under the othe=
r
> one is only complicates the query and might need extra time and effort bu=
t
> without having any significant benefits.
>
>
>
> TU group3: they are also interested in content of data. They also do risk=
s
> to be active attacker in order to have access to this data. So, DNS
> information is no interest of him. He might also not have enough power to
> sniff all traffic but he would also focus on what he can sniff. He might =
go
> to a public wifi network and either sniffs the traffic and if not possibl=
e,
> plays a role of active attacker to obtain data that he looks for.
>
>
>
>
>
> Now there is one question:
>
> 1-    If we hide the identity of data originator that can be an end user =
or
> a recursive resolver, does it help to protect users or the data exposes t=
o a
> certain DNS server?
>
> -     For TU- group 1: No, if it falls into category of data gathering
> process because an IP address does not bound to a particular user when us=
ing
> NAT or proxy server. But the content of this data exposes the users data
>
> -     For TU- group 2: No, the same reason for TU group 1
>
> -     For TU =E2=80=93 group 3: No, again the same reason for TU group 1.
>
> The other reason is that, although that identity is for a particular node
> (when, for instance, it uses IPv6) but the content of flow (data) would
> expose information about user. This is of course not the flow that goes t=
o
> DNS server but it is flows that user start it after this query from DNS
> server. Now the question is, could you hide data for any means of
> randomization?
>
> Actually no, because the problem is that the next flows that are the flow
> from end users to services are important and expose information about use=
r,
> its behavior, etc.
>
>
>
> So, in general, I do not think your approach works here since there is no
> clear benefit on it. There is only more complexity or might be performanc=
e
> issue because we are going to use several intermediate nodes to answer a
> query asked by a user or a recursive server.
>
> In other words, DNS traffic does not carry anything interesting informati=
on
> for TU 1,2,3 and only the content of data exchanged after DNS query is
> important. Usually, when TU is located where it can sniff the DNS flows, =
it
> can also sniff next flows that are of his interest(like your example of
> ISPs). In this case, he skips all DNS flows. In other words, by only
> analyzing a sample TLD=E2=80=99s traffic or a sample resolver=E2=80=99s t=
raffic, TU cannot
> gather any meaningful information because=E2=80=A6
>
> 1-   not all those queries are because a user wants to connect to a websi=
te
> but it can be because this user wants to connect to his file server that =
has
> a domain name, thereby he needs to do much more efforts to find out what =
was
> the reason for this query to TLD or so. So this is what not of TU=E2=80=
=99s interest
> when he has other easier way to gather this information
>
> 2-  A website might have several different information and only user is
> interested in one of that so no precise information can TU gather about a
> user by he himself crawl a website.
>
> 3-  This IP is a general IP address and doesn=E2=80=99t bound to any user
>
> 4-  DNS domain names are only no meaningful names and he needs to crawl t=
o
> find the data or he can easily skip all DNS traffics and only focus on da=
ta
> flows passed by different servers.
>
>
>
> I hope I could explain my point clearly here.
>
> I am sorry for a long message=E2=80=A6.
>
> Best,
>
> Hosnieh
>
>
>
>>What I wrote about the onion routing has nothing to with
>
>> protecting the query content, but rather hiding the fact "who's asking".
>
>> Maybe I didn't articulate it clearly enough. Suppose there are three
>
>> traffic observers: the authoritative name server, forwarders, and bad
>
>> guy between the resolver and the auth.
>
>>
>
>> What happens when user asks a query? All know who's asked, or from
>
>> which network the query originated (because the resolver serves that
>
>> subnet).
>
>> What happens when a query is onion routed first? Bad guy may see only
>
>> part of the traffic, that he is able to sniff (parts of the query may
>
>> have different exit points). Authoritative name servers see the "exit
>
>> point"
>
>> resolver, but can't trace the query back to the first. Forwarders see
>
>> only previous resolver.
>
>>
>
>> So what have we gained? Neither auth/resolver/bad guy know _who_ asked
>
>> first, unless the query originator reveals himself with edns client
>
>> subnet or something voluntarily.
>
>> Is that worth of the extra cost of bouncing queries? It might be, I
>
>> don't know.
>
>>
>
>> So, to the "DNS queries carry no important information when the
>
>> surveillance actor have access to the whole traffic flow". That might
>
>> be true, but it's only a one scenario (ISP sniffing on its users).
>
>> For example a root server doesn't see any of your other traffic, but it
>
>> may still know, that you look up an embarrassing website every Monday
>
>> afternoon.
>
>> What I'm most worried about is TLDs, root servers and resolver
>
>> operators collecting traffic. This might be used for a good cause
>
>> (passive DNS, law enforcement), but also for a bad cause.
>
>>
>
>> We could continue on-list, if you're okay with it, because other people
>
>> might be interested.
>
>>
>
>> Best,
>
>> Marek
>
>>
>
>> On 27 August 2014 10:52, Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
>
>> wrote:
>
>> > Offlist
>
>> >
>
>> >
>
>> > Dear Merek,
>
>> >
>
>> > The problem is not how to protect DNS queries. But the problem is
>
>> that DNS queries carry no important information when the surveillance
>
>> actor have access to the whole traffic flow. So, he does not need to
>
>> sniff any DNS traffic at all. So why do we need to complicate our own
>
>> process and our own computation when we do not benefit from it?
>
>> > I hope you understand my point.
>
>> > Best,
>
>> > Hosnieh


From nobody Thu Aug 28 05:41:21 2014
Return-Path: <hosnieh.rafiee@huawei.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 2309C1A03DF for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 05:41:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.67
X-Spam-Level: 
X-Spam-Status: No, score=-2.67 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 0-EaPk2msbe8 for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 05:41:17 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D2141A03CF for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 05:41:16 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIV24532; Thu, 28 Aug 2014 12:41:05 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml404-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Thu, 28 Aug 2014 13:41:00 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: =?utf-8?B?TWFyZWsgVmF2cnXFoWE=?= <marek.vavrusa@nic.cz>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: AQHPwT74AFmn0gry1kmll0i68BL1FpvkJP6g///5bgCAABFBgIABnSgAgAATHRA=
Date: Thu, 28 Aug 2014 12:40:59 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com> <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com>
In-Reply-To: <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/q7sY34TS9MMiUW4vI-IffHLb4vQ
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 28 Aug 2014 12:41:20 -0000

SGkgTWFyZWssDQoNCg0KPiANCj4gU28sIHlvdSdyZSBxdWVzdGlvbmluZyB0aGUgcG9pbnQgb2Yg
RE5TDQo+IHByaXZhY3kgb24gdGhlIGJhc2lzIHRoYXQgaXQgZG9lc24ndCBicmluZyBhbnl0aGlu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W5jZSBhbmQgbW9yZSBpbXBvcnRhbnRseSB0
aGUgcXVlc3Rpb24gb2YgaXRzIGJlbmVmaXQuDQoNCkJlc3QsDQpIb3NuaWVoDQo=


From nobody Thu Aug 28 07:14:50 2014
Return-Path: <marek@vavrusa.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 054C91A6F72 for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 07:14:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.22
X-Spam-Level: 
X-Spam-Status: No, score=0.22 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 Wa5IdrG42lB9 for <dns-privacy@ietfa.amsl.com>; Thu, 28 Aug 2014 07:14:46 -0700 (PDT)
Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4AB81A069D for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 07:14:45 -0700 (PDT)
Received: by mail-ie0-f180.google.com with SMTP id rl12so977065iec.25 for <dns-privacy@ietf.org>; Thu, 28 Aug 2014 07:14:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=RRH+UGHTdFT1OJwDprrrrF2tRgzYB4a5sTsdCj7uerY=; b=gsoyrOt6jEDSOO+wFSgOUqQBgfGCaV07k3Qmu7SaTcvQyKr1eHFIFdNgHCFBFsBmAE a+iexA5mK/nXEs3HV9gIzFpby0LE9FnjZ/hQmUFjByKlzw00UT7pz4LVx4KtL0djtFXS BRXsaryp1/vDd7+yV9wG+QlJuwersgalZKm40bS/w+i4D4Ikh8A1lbaczU4Yyk7slciQ tHYKzkO1zQ/hxcD454DnYRq7UHJ9kc5KItVg85FDYCCVfgfrcZlzeNU8X3wQ6dquVGgY SDAW4JS3jJyvDezVc3VymWRRglfA4DCcilbTSbBwFdBMV/nvwVT2DkbrwEpfAVDJyGP4 3KAQ==
X-Gm-Message-State: ALoCoQmKhxmGcP5A3JmB6DjAgj+2vZvpUynOgEFy97xhQ3XpVXDiNFPHl1jPNCKip3b7rCill3r2
X-Received: by 10.50.21.3 with SMTP id r3mr37077736ige.13.1409235284911; Thu, 28 Aug 2014 07:14:44 -0700 (PDT)
MIME-Version: 1.0
Sender: marek@vavrusa.com
Received: by 10.107.33.75 with HTTP; Thu, 28 Aug 2014 07:14:24 -0700 (PDT)
X-Originating-IP: [2001:67c:1220:80c:1aa9:5ff:fef6:7310]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com> <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com>
From: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Thu, 28 Aug 2014 16:14:24 +0200
X-Google-Sender-Auth: SwROtdeDC0ERQaQ_ygUyPqg-Vuc
Message-ID: <CACgotOSD=xY0t3zK2Ch4LdXFAeu-xwfv-8cWcenmMDr-QrnC5g@mail.gmail.com>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/uqAF4EFAPwyzNp_s4tDQbxseTnw
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 28 Aug 2014 14:14:49 -0000

Hi Hosnieh,

On 28 August 2014 14:40, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote:
> Hi Marek,
>
>
>>
>> So, you're questioning the point of DNS
>> privacy on the basis that it doesn't bring anything useful to the
>> interested observer?
>
> Yes, as far as the TU 2,3 has access to all interesting traffics.
>
>
>> Sure there's NAT, MITM can eavesdrop your other traffic and so on. But
>> it is very real for TU2/3 to gather data on the auth/resolvers and use
>> them as a forensic evidence, correlating them to other traffic,
>> geolocation and traffic distribution, whois records etc. with a certain
>> degree of confidence.
>> People have started businesses with this sort of information.
>>
>
> Do you have any statistics or any references that prove TU 2,3 tried anal=
yzing resolver traffics?
>
> In news, we just heard that some TUs sniffed the data. But do we know whe=
ther they used any resolvers to do this sniff? If you have any valid source=
s, then please share it. I am really interested to read them!
>
> I would agree on if you have a strong source of such news.
>
> Because I think it is not enough just assuming that they would use such t=
raffic. For having such assumption, you need a strong theory and strong ref=
erences to prove it. It might not need much prove or strong references when=
 it is a clear fact or seems to be reasonable. Because as I explained in my=
 long message, it complicates his analysis and doesn't seem to be reasonabl=
e.  So, in case they have access to the whole traffic, they can easily snif=
f that traffic and whatever information you mentioned here, they can easily=
 obtain from that traffic (without the need of DNS traffic at all).
> You are caring about geolocation information, well.. , the end user ident=
ity is the same, and this is, of course, available in next flows without an=
y need to complicate this analysis.

No, I do not belong in TU 2/3 and I do not participate in any data
misuse project. However, the collected data is provably valuable for
some people (otherwise services like following wouldn't exist), if the
data is valuable, then
there's someone who desires it (be it a for a good or bad cause). This
is "I don't know my neighbours, let's not lock the front door",
regardless of whether you believe it or not.

http://www.enyo.de/fw/software/dnslogger/first2005-paper.pdf
https://www.iseclab.org/papers/bilge-ndss11.pdf
https://www.farsightsecurity.com/Services/DNSDB/

> If you use Tor based approach for a client (end user) but not any DNS ser=
ver, it likely makes sense because a client or end user is the source of in=
teresting traffic not a resolver or any other DNS servers. In this case you=
 might also need to combine this approach with encryption or use exactly th=
e approach implemented by Tor (tunneling + the use of intermediate servers)=
. But this is not about DNS server traffic at all and this is about the pri=
vacy of next traffic flows.
>
> This is why I think DNS privacy does not make sense.
>
>
> If all next traffics are encrypted (end to end encryption) and TU is only=
 limited to DNS traffics, then DNS privacy  makes sense. But this is of cou=
rse, a fancy scenario as today not all traffics are encrypted. If this fanc=
y scenario happens even in near future, then I presume that all traffics wo=
uld be encrypted including DNS traffic by the same way as the protection of=
 other end user's traffic. For example, the use of tunneling.
>
>
> The problem is that you  might hide first resolver source of traffic behi=
nd several intermediate nodes, but you clearly did not hide the real end us=
er traffic.

OK, as I've said, this does not prevent MITM sniffing on you
(confidentiality problem), it makes you more anyonymous to name
servers (anonymity problem).

>
>> Saying DNS traffic does not carry anything interesting is a bold claim,
>> it might be true, it might be not.
>> Regardless of how it is, I think that giving less information is always
>> better, if the cost isn't too high, and I'm happy to discuss technical
>> questions / ideas.
>
> The problem is that there is no strong proof behind the assumption that "=
DNS traffic is useful for TU and DNS carries some meaningful information fo=
r TU". If first, someone can prove it with real facts and references, then =
it would be to be on a same page.
> But all what I can see in this list or all what I can read in drafts are =
the assumptions without any real facts. The assumption makes sense if one c=
an also easily prove it either theoretical or in real life. But, it doesn't=
 make sense when no one can prove it and unfortunately, here for prove, fol=
ks only use new assumptions...  Everyone only says as less information we p=
rovide to TU, it is better. But what kind of information you are talking ab=
out? How this information is useful for TU? Why TU needs them? Just some ge=
olocation information of the location of different resolvers (based on your=
 concern)? Let me give you an example. Resolver x in Munich receives many r=
equest for  google.com? so now ., .com,google.com knows that this resolver =
asked this request. What does it show you? What do you want to conclude fro=
m this data?
> Now presume that you hided resolver x behind resolver y and resolver y is=
 located in Paris. Now resolver y asks for google.com. ., .com and google.c=
om DNS servers now know that resolver y is looking for google.com. again wh=
at do you want to conclude from this data? You want to conclude that people=
 in Paris search google a lot? What is it important about this and why it i=
s difference to people from Munich search a lot on google and not paris.
>
>
> What does it show you? The people in location x or y search google a lot?=
 Ok... you could gather this information from google statistics as well... =
what else?
>
> So why TU wanted to do so? TU have no information of what users in Munich=
 searched (the data content) if they do not analyze next traffics. So, when=
 they suppose to do so, again why should they bother themselves to look for=
 this data?

That's obviously uninteresting example. Say we have a newly registered
domains with abusive content, whois data a and map of resolver traffic
to those domains. The domain are quickly taken down,
but the more you observe, the more you know who/when/where is
interested in those domains and correlate it to other data. The name
servers are centralized source of information of such data and tell
you
where to look for the other, possibly incriminating traffic.

>
> is it what you want to hide? Tell me please what this information gives, =
it appears that there is no thought about whether or not this information i=
s useful for TU and make sense for him to spend time and energy for such an=
alysis and whether or not TU already has other and better sources for gathe=
ring the same information precisely.
>
> About your approach, it is not only problem of cost, it is performance an=
d more importantly the question of its benefit.
>
> Best,
> Hosnieh

Let's see, we have a grid of 1-N caching resolvers. Each query is
likely to be answered from cache, but if it isn't, it has roughly 4
recursive sub-queries to authoritative nameservers. If those four
subquestions are bounced 0-2 times,
we have 0-2 roundtrips. Is that too much? Maybe, but it may be a
service as well.


From nobody Fri Aug 29 02:41:25 2014
Return-Path: <hosnieh.rafiee@huawei.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 B94BD1A0713 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 02:41:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.569
X-Spam-Level: 
X-Spam-Status: No, score=-4.569 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 XUa3ci5NiGVt for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 02:41:22 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 035721A070A for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 02:41:21 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BIW02104; Fri, 29 Aug 2014 09:41:08 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml403-hub.china.huawei.com ([::1]) with mapi id 14.03.0158.001; Fri, 29 Aug 2014 10:41:03 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: =?utf-8?B?TWFyZWsgVmF2cnXFoWE=?= <marek.vavrusa@nic.cz>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: AQHPwT74AFmn0gry1kmll0i68BL1FpvkJP6g///5bgCAABFBgIABnSgAgAATHRCAACGJAIABPYfg
Date: Fri, 29 Aug 2014 09:41:03 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A29F86@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com> <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com> <CACgotOSD=xY0t3zK2Ch4LdXFAeu-xwfv-8cWcenmMDr-QrnC5g@mail.gmail.com>
In-Reply-To: <CACgotOSD=xY0t3zK2Ch4LdXFAeu-xwfv-8cWcenmMDr-QrnC5g@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/TKGT8WBXt7J-3ztna3OwnP6R530
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 29 Aug 2014 09:41:23 -0000

DQo+ID4gRG8geW91IGhhdmUgYW55IHN0YXRpc3RpY3Mgb3IgYW55IHJlZmVyZW5jZXMgdGhhdCBw
cm92ZSBUVSAyLDMgdHJpZWQNCj4gYW5hbHl6aW5nIHJlc29sdmVyIHRyYWZmaWNzPw0KPiANCj4g
Tm8sIEkgZG8gbm90IGJlbG9uZyBpbiBUVSAyLzMgYW5kIEkgZG8gbm90IHBhcnRpY2lwYXRlIGlu
IGFueSBkYXRhDQo+IG1pc3VzZSBwcm9qZWN0LiBIb3dldmVyLCB0aGUgY29sbGVjdGVkIGRhdGEg
aXMgcHJvdmFibHkgdmFsdWFibGUgZm9yDQo+IHNvbWUgcGVvcGxlIChvdGhlcndpc2Ugc2Vydmlj
ZXMgbGlrZSBmb2xsb3dpbmcgd291bGRuJ3QgZXhpc3QpLCBpZiB0aGUNCj4gZGF0YSBpcyB2YWx1
YWJsZSwgdGhlbiB0aGVyZSdzIHNvbWVvbmUgd2hvIGRlc2lyZXMgaXQgKGJlIGl0IGEgZm9yIGEN
Cj4gZ29vZCBvciBiYWQgY2F1c2UpLiBUaGlzIGlzICJJIGRvbid0IGtub3cgbXkgbmVpZ2hib3Vy
cywgbGV0J3Mgbm90IGxvY2sNCj4gdGhlIGZyb250IGRvb3IiLCByZWdhcmRsZXNzIG9mIHdoZXRo
ZXIgeW91IGJlbGlldmUgaXQgb3Igbm90Lg0KDQpUaGlzIGlzIGNvbXBsZXRlbHkgYSBkaWZmZXJl
bnQgY2FzZSBhbm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gdHJhZmZpYy4NCg0K
U28gYWdhaW4sIGJ5IG9ubHkgY2hhbmdpbmcgdGhlIHNvdXJjZSBvZiByZXBvcnQgVFUgY2FuIGp1
c3QgaGF2ZSB0aGlzIGluZm9ybWF0aW9uIHRoYXQgcGVvcGxlIGluIFggc2VhcmNoIGFidXNpdmUg
d2Vic2l0ZSBhIGxvdC4gQ2FuIHlvdSBnZW5lcmFsaXplIHRoaXMgdG8gYWxsIHBlb3BsZSBpbiBY
IGNvdW50cnk/IENhbiB5b3UgZ2V0IGFueSBtZWFuaW5nZnVsIGluZm9ybWF0aW9uIGZyb20gc3Vj
aCByZXBvcnQgYW5kIGNvbmNsdWRlIHRoYXQgcGVvcGxlIGluIHggY291bnRyeSBhcmUgYmFkIHBl
b3BsZSBiZWNhdXNlIHRoZXkgbGlrZSB0aG9zZSBraW5kcyBvZiB3ZWJzaXRlIQ0KDQpEZWZpbml0
ZWx5IE5PLiB0aGlzIGlzIG5vdCBiYXNlZCBvbiBmYWN0cy4gVGhpcyBpcyBsaWtlIGNob29zaW5n
IHdyb25nIHNhbXBsZXMgZm9yIHJlcG9ydHMuIA0KU28geW91IG9ubHkgY2hhbmdlIHggdG8geSBi
dXQgbm90IHRoZSBjb25jbHVzaW9uIG9mIHRoZSByZXBvcnQuIFRoZSBwcm9ibGVtIGlzIHRoYXQg
Y29uY2x1c2lvbiByZXBvcnQgaXMgbm90IHZhbGlkIHNvIGl0IGRvZXNuJ3QgbWF0dGVyIHdoZXRo
ZXIgeW91IGNoYW5nZSB0aGUgdmFyaWFibGVzIG9mIHRoZSByZXBvcnQuDQoNCkJlc3QsDQpIb3Nu
aWVoDQo=


From nobody Fri Aug 29 04:42:22 2014
Return-Path: <marek@vavrusa.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 6969C1A0125 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 04:42:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level: 
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 dTKLo49qQ_F6 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 04:42:19 -0700 (PDT)
Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F30531A011F for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 04:42:17 -0700 (PDT)
Received: by mail-ig0-f174.google.com with SMTP id a13so284844igq.13 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 04:42:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LoSipoMqRIkaN8rFGlAVFj7EL7feoSb8IalAS5aF2uE=; b=Xg2ZTxui49TYTMNA02XMpONjMSKeyc35FKuNmsiX9K+uB0Q5hLRbK7KQ5aic+YHpi2 aG5FIZtNfAQqcGZQyJOIRw4Dh5m9JAupnGg+ci5/vfhjXgKT75e5pCz/wI+vMLY/+38A xhvdQ5C7v/lXTi0GkBhFodaLztZ7pogK6GAWY9rurwfK9WgS3Y0jx2Cp4xZc0xJJGVAA UDx/Lf0IyzCiiyIGJA0EiLV4Aa1ZCdH5vLq3q+bxjJ7smbysZUWWeL61k036oAPEMBkK IM/cExyN0H7uFTxtx25IOiAt8mqL78W7/bCEVrQPEenyPr+yJhNdCmP2c9RqQ81Ol5PD mwpA==
X-Gm-Message-State: ALoCoQkKCGdWspWAlECGba5VT6nCXpU8cLms0Kyat3xnG68zUekkwSgfyT5ZwjakknGWJrwUdz3/
X-Received: by 10.50.79.132 with SMTP id j4mr3379723igx.9.1409312537103; Fri, 29 Aug 2014 04:42:17 -0700 (PDT)
MIME-Version: 1.0
Sender: marek@vavrusa.com
Received: by 10.107.33.75 with HTTP; Fri, 29 Aug 2014 04:41:57 -0700 (PDT)
X-Originating-IP: [2001:67c:1220:80c:1aa9:5ff:fef6:7310]
In-Reply-To: <814D0BFB77D95844A01CA29B44CBF8A7A29F86@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com> <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com> <CACgotOSD=xY0t3zK2Ch4LdXFAeu-xwfv-8cWcenmMDr-QrnC5g@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29F86@lhreml513-mbb.china.huawei.com>
From: =?UTF-8?Q?Marek_Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Fri, 29 Aug 2014 13:41:57 +0200
X-Google-Sender-Auth: qO83rET_FzKNmkHP-jhPfASxHKk
Message-ID: <CACgotOT+G=xjnrDHYtf5uS7VkkBXKraWbUC+LYyFMjVibm=FiA@mail.gmail.com>
To: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ikSH05A9ZUkG1N5MJAZ5Ce1A4CY
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 29 Aug 2014 11:42:20 -0000

On 29 August 2014 11:41, Hosnieh Rafiee <hosnieh.rafiee@huawei.com> wrote:
>
>> > Do you have any statistics or any references that prove TU 2,3 tried
>> analyzing resolver traffics?
>>
>> No, I do not belong in TU 2/3 and I do not participate in any data
>> misuse project. However, the collected data is provably valuable for
>> some people (otherwise services like following wouldn't exist), if the
>> data is valuable, then there's someone who desires it (be it a for a
>> good or bad cause). This is "I don't know my neighbours, let's not lock
>> the front door", regardless of whether you believe it or not.
>
> This is completely a different case and your example is unrelated. You're=
 not locking the door. You  are only pointing something to somewhere else.

Aha, sure. Please tell me more how my example of subject analyzing
resolver traffic doesn't answer your question about, well, people
analyzing resolver traffic. I admit my analogy was imperfect though,
the point is to give as few data as possible about yourself.

>
>> > The problem is that you  might hide first resolver source of traffic
>> behind several intermediate nodes, but you clearly did not hide the
>> real end user traffic.
>>
>> OK, as I've said, this does not prevent MITM sniffing on you
>> (confidentiality problem), it makes you more anyonymous to name servers
>> (anonymity problem).
>
> The problem is that you think that DNS carries something important and al=
l the assumption here is based on that.
>
> Again TU needs CONTENT to know whether or not the website that you concer=
n about is abusive. This is not by only checking DNS server traffic! Do you=
 get a lot of information from a DNS server?
>
> DNS traffic analysis does not give much information to TU. He can also HA=
VE all those information by skipping all DNS traffic!
>
>
> He needs to crawl that website! The other thing is that, some percentage =
of loading those abusive web is the result of typos error on the URL or end=
 user mistake. So, such report is not precise

Ok, you obviously don't believe DNS traffic needs privacy on the sole
basis, that there's a bigger fish in the pond. I have seen X-Files and
I choose to believe, let's leave it at that and move to the technical
side of things.

>
>
>>
>> That's obviously uninteresting example. Say we have a newly registered
>> domains with abusive content, whois data a and map of resolver traffic
>> to those domains. The domain are quickly taken down, but the more you
>> observe, the more you know who/when/where is interested in those
>> domains and correlate it to other data. The name servers are
>> centralized source of information of such data and tell you where to
>> look for the other, possibly incriminating traffic.
>
> So again, by only changing the source of report TU can just have this inf=
ormation that people in X search abusive website a lot. Can you generalize =
this to all people in X country? Can you get any meaningful information fro=
m such report and conclude that people in x country are bad people because =
they like those kinds of website!
>
> Definitely NO. this is not based on facts. This is like choosing wrong sa=
mples for reports.
> So you only change x to y but not the conclusion of the report. The probl=
em is that conclusion report is not valid so it doesn't matter whether you =
change the variables of the report.
>
> Best,
> Hosnieh

How did "all people in X country" get to my example? My IP address is
for example public. Can you get any meaningful information from the
name server about my lookups? Sure.
Can you correlate my lookups to other people? Yup. I reiterate the DNS
traffic _isn't_ interesting for incriminating evidence, but it can
tell you at which servers to look for such evidence.
Because how can you tell which website to crawl? You can for example
traverse all newly registered domains, domains with an empty whois,
but you can observe a group of nodes interested
in such websites. If they have a good track record of looking up the
address of the abusive website each Friday night, there's a good
chance that the thing they'll be looking up the next time
will be similar. Again, this sort of information doesn't make them
guilty, but a potential suspects and I do not claim such thing.

Kind Regards,
Marek


From nobody Fri Aug 29 05:00:56 2014
Return-Path: <hosnieh.rafiee@huawei.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 126261A0172 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:00:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.569
X-Spam-Level: 
X-Spam-Status: No, score=-4.569 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668, 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 izouls7cS9OP for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:00:48 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8F841A0176 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 05:00:47 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml406-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BLX32457; Fri, 29 Aug 2014 12:00:39 +0000 (GMT)
Received: from LHREML513-MBB.china.huawei.com ([fe80::b810:863:a57e:3ff]) by lhreml406-hub.china.huawei.com ([10.201.5.243]) with mapi id 14.03.0158.001; Fri, 29 Aug 2014 13:00:37 +0100
From: Hosnieh Rafiee <hosnieh.rafiee@huawei.com>
To: =?utf-8?B?TWFyZWsgVmF2cnXFoWE=?= <marek.vavrusa@nic.cz>
Thread-Topic: [dns-privacy] Summary of the thoughts about DNS privacy
Thread-Index: AQHPwT74AFmn0gry1kmll0i68BL1FpvkJP6g///5bgCAABFBgIABnSgAgAATHRCAACGJAIABPYfggAAqNoCAABL7AA==
Date: Fri, 29 Aug 2014 12:00:36 +0000
Message-ID: <814D0BFB77D95844A01CA29B44CBF8A7A2A008@lhreml513-mbb.china.huawei.com>
References: <CACgotOQXxgzz3XvA7=G5Xn-CvMumvsX31vqHywGvajPUx7b0aA@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A298E7@lhreml513-mbb.china.huawei.com> <CACgotOQkh_ueU0g3z7PumGvWXWf=8hVWrMh0Kf5=A7bek+C6Hw@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29930@lhreml513-mbb.china.huawei.com> <CACgotORVRPCyg61GOyby7aOykOGmRnFjGnotw5XB=4OHnoay8A@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29D0C@lhreml513-mbb.china.huawei.com> <CACgotOSD=xY0t3zK2Ch4LdXFAeu-xwfv-8cWcenmMDr-QrnC5g@mail.gmail.com> <814D0BFB77D95844A01CA29B44CBF8A7A29F86@lhreml513-mbb.china.huawei.com> <CACgotOT+G=xjnrDHYtf5uS7VkkBXKraWbUC+LYyFMjVibm=FiA@mail.gmail.com>
In-Reply-To: <CACgotOT+G=xjnrDHYtf5uS7VkkBXKraWbUC+LYyFMjVibm=FiA@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.221.82.100]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/ZkFIiN6qo_pURSX7HcsFuDlEr5Y
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Summary of the thoughts about DNS privacy
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, 29 Aug 2014 12:00:54 -0000

PiBPaywgeW91IG9idmlvdXNseSBkb24ndCBiZWxpZXZlIEROUyB0cmFmZmljIG5lZWRzIHByaXZh
Y3kgb24gdGhlIHNvbGUNCj4gYmFzaXMsIHRoYXQgdGhlcmUncyBhIGJpZ2dlciBmaXNoIGluIHRo
ZSBwb25kLiBJIGhhdmUgc2VlbiBYLUZpbGVzIGFuZA0KPiBJIGNob29zZSB0byBiZWxpZXZlLCBs
ZXQncyBsZWF2ZSBpdCBhdCB0aGF0IGFuZCBtb3ZlIHRvIHRoZSB0ZWNobmljYWwNCj4gc2lkZSBv
ZiB0aGluZ3MuDQoNCkkgYW0gdGVsbGluZyBmcm9tIG15IGZpcnN0IG1lc3NhZ2UhIEFuZCBJIGFt
IHRlbGxpbmcgdGhhdCB5b3VyIGFwcHJvYWNoIGlzIGFsc28gbm90IHVzZWZ1bCBiZWNhdXNlIG9m
IHNldmVyYWwgcmVhc29ucyBQcm92aWRlZCB5b3UgYW5kIHlvdSBhcHBlYXJzIHRoYXQgeW91IGRp
ZCBub3QgcmVhZCB0aGVtLiBTb3JyeSwgSSBhbSBub3QgcGxhbm5pbmcgdG8gcmVwZWF0aW5nIG15
c2VsZiBoZXJlLg0KDQo+IA0KPiBIb3cgZGlkICJhbGwgcGVvcGxlIGluIFggY291bnRyeSIgZ2V0
IHRvIG15IGV4YW1wbGU/IE15IElQIGFkZHJlc3MgaXMNCj4gZm9yIGV4YW1wbGUgcHVibGljLiBD
YW4geW91IGdldCBhbnkgbWVhbmluZ2Z1bCBpbmZvcm1hdGlvbiBmcm9tIHRoZQ0KPiBuYW1lIHNl
cnZlciBhYm91dCBteSBsb29rdXBzPyBTdXJlLg0KDQpOTy4gDQoNCj4gQ2FuI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bmVlZHMgdG8gY3Jhd2wgYSB3ZWJzaXRlIGJ1dCBub3QgZm9yIG15IGNhc2Ugd2hl
cmUgVFUgU0tJUCBETlMgdHJhZmZpYyBhbmQgb25seSBjaGVjayB0aGUgcmVhbCB1c2VyIHRyYWZm
aWNzLiBUaGlzIHRyYWZmaWMgY2xlYXJseSBpbiBhIHJlYWwtdGltZSB0ZWxscyBUVSB3aGF0IGEg
Z3JvdXAgb2YgdXNlcnMgYXJlIGludGVyZXN0ZWQgYXJlLiANCg0KQmVzdCwNCkhvc25pZWgNCg0K
DQo=


From nobody Fri Aug 29 05:26:26 2014
Return-Path: <wjhns1@hardakers.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 E7EB31A0188 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:26:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.269
X-Spam-Level: 
X-Spam-Status: No, score=-3.269 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.668, 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 pcBOGrp7LYiA for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:26:22 -0700 (PDT)
Received: from mail.hardakers.net (mail.hardakers.net [168.150.236.43]) by ietfa.amsl.com (Postfix) with ESMTP id ACC941A0031 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 05:26:22 -0700 (PDT)
Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id EB6C528BB2; Fri, 29 Aug 2014 05:26:21 -0700 (PDT)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Mark Andrews <marka@isc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net> <20140828022601.E63EE1DA773E@rock.dv.isc.org>
Date: Fri, 29 Aug 2014 05:26:21 -0700
In-Reply-To: <20140828022601.E63EE1DA773E@rock.dv.isc.org> (Mark Andrews's message of "Thu, 28 Aug 2014 12:26:01 +1000")
Message-ID: <0l38cflbwy.fsf@wjh.hardakers.net>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/9s5rBipGfnAA6KlTX_plNRbOV2g
Cc: Carsten Strotmann <cas@strotmann.de>, Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>, Wes Hardaker <wjhns1@hardakers.net>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Fri, 29 Aug 2014 12:26:25 -0000

Mark Andrews <marka@isc.org> writes:

> Actually DNSSEC could give you the key of the resolver securely
> provided it has a public address.  Publish a KEY record signed in
> the DNS under in-addr.arpa or ip6.arpa.  If need to we define flag
> bits to say it is for this purpose.  For private addresses you need
> to have a trust anchor for the private part of the reverse tree or
> use leap of faith.

Yes, that's what I was saying...  I was just following it by "there are
a huge number of private-address resolvers in the real world".

-- 
Wes Hardaker
Parsons


From nobody Fri Aug 29 05:30:11 2014
Return-Path: <wjhns1@hardakers.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 EE7191A023F for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:30:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.269
X-Spam-Level: 
X-Spam-Status: No, score=-3.269 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.668, 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 NyhdkdJkcRjG for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 05:30:05 -0700 (PDT)
Received: from mail.hardakers.net (mail.hardakers.net [168.150.236.43]) by ietfa.amsl.com (Postfix) with ESMTP id AD0831A0031 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 05:30:05 -0700 (PDT)
Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id 54B2328BC3; Fri, 29 Aug 2014 05:30:05 -0700 (PDT)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net> <4B526DD0-863B-4E01-8328-898C426067AC@vpnc.org>
Date: Fri, 29 Aug 2014 05:30:05 -0700
In-Reply-To: <4B526DD0-863B-4E01-8328-898C426067AC@vpnc.org> (Paul Hoffman's message of "Wed, 27 Aug 2014 13:05:38 -0700")
Message-ID: <0lwq9rjx6a.fsf@wjh.hardakers.net>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/nqqXvbWQm0wtB6PC3ZbU8IFD95Q
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Wes Hardaker <wjhns1@hardakers.net>
Subject: Re: [dns-privacy] Authenticating the resolver
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, 29 Aug 2014 12:30:10 -0000

Paul Hoffman <paul.hoffman@vpnc.org> writes:

> On Aug 27, 2014, at 12:46 PM, Wes Hardaker <wjhns1@hardakers.net> wrote:
>
>> But what's the solution?  How do we authenticate that resolver?  PKIX
>> won't help us, as there is no name.
>
> Say what? That draft clearly says that the resolver can have a PKIX
> certificate with its IP address as the name.

So we're going to issue a gazillion PKIX certs for 10.0.0.1?

> The likelihood that you have the coffee shop's DHCP server's
> credentials are zero.

I think I was implying that so we agree :-)

> You also forgot other options, such as preshared signing key. That
> would work fine for enterprises or ISPs with a help desk and a few
> thousand users. "Paste this into that dialog on your computer" works
> OK. But PKIX with IP addresses is probably more scalable.

Well, I thought about the coffee shop sign (here's our WPA password
along with our resolver's magic verification string).

-- 
Wes Hardaker
Parsons


From nobody Fri Aug 29 07:59:47 2014
Return-Path: <paul.hoffman@vpnc.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 241BD1A0459 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 07:59:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OnR3tDoD4c8x for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 07:59:44 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3CED1A0458 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 07:59:43 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7TExbuR013319 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 29 Aug 2014 07:59:39 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <0lwq9rjx6a.fsf@wjh.hardakers.net>
Date: Fri, 29 Aug 2014 07:59:35 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <58CC826E-3BEF-4965-8879-07068288EA37@vpnc.org>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net> <4B526DD0-863B-4E01-8328-898C426067AC@vpnc.org> <0lwq9rjx6a.fsf@wjh.hardakers.net>
To: Wes Hardaker <wjhns1@hardakers.net>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/0sxirX9jFLMgzmvJELd6PlbC3kQ
Cc: "dns-privacy@ietf.org" <dns-privacy@ietf.org>
Subject: Re: [dns-privacy] Authenticating the resolver
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, 29 Aug 2014 14:59:45 -0000

On Aug 29, 2014, at 5:30 AM, Wes Hardaker <wjhns1@hardakers.net> wrote:

> Paul Hoffman <paul.hoffman@vpnc.org> writes:
>=20
>> On Aug 27, 2014, at 12:46 PM, Wes Hardaker <wjhns1@hardakers.net> =
wrote:
>>=20
>>> But what's the solution?  How do we authenticate that resolver?  =
PKIX
>>> won't help us, as there is no name.
>>=20
>> Say what? That draft clearly says that the resolver can have a PKIX
>> certificate with its IP address as the name.
>=20
> So we're going to issue a gazillion PKIX certs for 10.0.0.1?

Sure, why not? If you have an internal CA that is trusted by your users, =
there are no different issues for it writing certs for a private address =
that might overlap with systems in different address spaces than there =
is for it writing certs for private names that might overlap with =
systems in different namespaces.

>> The likelihood that you have the coffee shop's DHCP server's
>> credentials are zero.
>=20
> I think I was implying that so we agree :-)

Good.

>> You also forgot other options, such as preshared signing key. That
>> would work fine for enterprises or ISPs with a help desk and a few
>> thousand users. "Paste this into that dialog on your computer" works
>> OK. But PKIX with IP addresses is probably more scalable.
>=20
> Well, I thought about the coffee shop sign (here's our WPA password
> along with our resolver's magic verification string).

Sure, that would work. But more importantly, if what we are trying for =
is opportunistic security, the MITM would have to be in the coffee shop, =
unless the coffee shop's DHCP server says that the recursive resolver is =
on the public internet and that resolver doesn't have a valid cert.

--Paul Hoffman=


From nobody Fri Aug 29 21:58:50 2014
Return-Path: <johnh@isi.edu>
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 8F0431A8748 for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 21:58:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.468
X-Spam-Level: 
X-Spam-Status: No, score=-3.468 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.668] 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 emknYF7KYu2Q for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 21:58:45 -0700 (PDT)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 222A81A8747 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 21:58:44 -0700 (PDT)
Received: from dash.isi.edu (vir.isi.edu [128.9.160.91]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id s7U4utXi013870; Fri, 29 Aug 2014 21:56:55 -0700 (PDT)
Received: from dash.isi.edu (localhost.isi.edu [127.0.0.1]) by dash.isi.edu (Postfix) with ESMTP id 50BFEE0162; Fri, 29 Aug 2014 21:56:55 -0700 (PDT)
From: John Heidemann <johnh@isi.edu>
To: Wes Hardaker <wjhns1@hardakers.net>
In-reply-to: <0l61hdogv2.fsf@wjh.hardakers.net>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net>
X-url: http://www.isi.edu/~johnh/
MIME-Version: 1.0 (generated by SEMI 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 29 Aug 2014 21:56:55 -0700
Message-ID: <16946.1409374615@dash.isi.edu>
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: johnh@isi.edu
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/qDBKhKsjkdP0lyvZQSIw5wT9rC8
Cc: Carsten Strotmann <cas@strotmann.de>, Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Sat, 30 Aug 2014 04:58:49 -0000

On Wed, 27 Aug 2014 12:46:41 -0700, Wes Hardaker wrote: 
>Carsten Strotmann <cas@strotmann.de> writes:
>
>>> Ok then I am an attacker, since you cannot authenticate me, I sign the
>>> data myself. This has data integrity. But it is the modified data and
>>> not what you expected to receive...
>>
>> How can you sign DNSSEC data without being in the posession of the
>> private signing key(s) all the way to the root?
>>
>> DNSSEC adds data integrity, and with one or more trust-anchors in the
>> resolver the client is able to validate the data, no matter which way
>> the data took.
>
>So, there is some confusion here I think so we need to be clear about a
>few things.  We're talking about privacy, and in this context
>stub-to-resolver entirely.  There are two forms of
>integrity/authentication going on and they need to be clearly separated
>but I keep seeing them being thrown together.
>
>DNSSEC absolutely helps you ensure that the end data you got is "good"
>from the notion of the publisher.
>
>But it doesn't help you to identify the public key of the resolver
>you're using to query for those results.  So it doesn't help you ensure
>you're encrypting your packets to the right destination.  And DNSSEC may
>ensure you have the right data, but it doesn't help you determine if you
>really did get it in a way that no one else but you, the coffee shop
>owner, and the final destination could see.  And this is the important
>bit: in the context of the discussion, we are only talking about
>verifying the public key of the resolver in order to implement privacy;
>Clearly DNSSEC has solved authenticating the data itself and that's not
>in question.  I think most people understand this difference (I hope).
>
>
>But here's the thing that is keeping me awake at nights in this topic:
>we keep saying that "un-authenticated encryption is better than no
>encryption".  And I do generally think this is true.  At least you're
>only transmitting your data to one potentially bad person (the one
>you've done a key negotiation with) rather than letting anyone with 100
>feet view the data.
>
>But then, stepping back, you have to ask yourself: what's the likely
>threat model of everyone in 100 feet trying to attack you?  If we really
>...
>
>But what's the solution?  How do we authenticate that resolver?  PKIX
>won't help us, as there is no name.  DNSSEC won't help us, as half the
>time you're behind a nat so the reverse tree can't be used [ipv6
>actually might help here].  Leap of faith is probably better than
>nothing if you frequent that coffee shop.  I don't think secure dhcp has
>gotten that far, but I'm admittedly out of touch.
>
>We simply keep moving this chicken/egg problem of secure bootstrapping
>from one protocol to the next.  It's like one egg that keeps changing
>chickens.

I want to take a step back to consider a different case.

The complaint here is that it is tough to authenticate some arbitrary
resolver handed to you from DHCP because of person-in-the-middle.  Yes,
that's a hard problem.

"Doctor, it hurts when I do this." "Don't *do* that."

If you aren't willing to trust a resolver from DHCP, one could use a
public DNS resolver, acquire its certificate out-of-band, and check it.
I.e., do certificate pinning on the TLS certificate you plan to use for
DNS.

I'm told there are IP addresses of a public resolver spraypainted on
walls in Turkey you could try.  (If that or some other provider
supported TLS for DNS.)

   -John


From nobody Fri Aug 29 22:09:02 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 7ACB61A874C for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 22:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, 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 Wb4entpNNptm for <dns-privacy@ietfa.amsl.com>; Fri, 29 Aug 2014 22:08:58 -0700 (PDT)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E67061A8747 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 22:08:57 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id hz20so3777543lab.3 for <dns-privacy@ietf.org>; Fri, 29 Aug 2014 22:08:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=82JouRyXHVJxDNv55Jzg8i/gOIkCXp8GJl27ME+R1jI=; b=idJvWsK56UE6S7uvXDzbBugJgBO56+dyKTSZrL1rE/QgO/oLRdSZvjxbLZcRdpQ320 oLo1O+F9Et0jLBY262lgYTedGM6jYTNTa0woCUvP4I93KE3Np10zWx1ssMRNdZ62bjU7 LLm23oUQsyNtPy/M2NV70eiiHSU906Q9hB3qfn9/pO8XQUoJdW++rF5Acv4TamTFYhio IEYTcJmF19oiHadE+tjDisvJFtgB856iwMJcLHJ/Gnz7jUczR8LjzOtHgXnbqVWmiGm7 5tNTX6+ESRhp0rf4aREdDGS4kJmTCt5ItcYVBSt3oqokusPqvpkBLNERKxEQKsH+Pv1E 00SQ==
MIME-Version: 1.0
X-Received: by 10.112.148.133 with SMTP id ts5mr14573529lbb.45.1409375336065;  Fri, 29 Aug 2014 22:08:56 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.122.50 with HTTP; Fri, 29 Aug 2014 22:08:55 -0700 (PDT)
In-Reply-To: <16946.1409374615@dash.isi.edu>
References: <20140818175701.12317.96810.idtracker@ietfa.amsl.com> <FF99C324-2959-48EB-A187-18007F7AA364@vpnc.org> <814D0BFB77D95844A01CA29B44CBF8A7A27F3E@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191033210.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A27FBE@lhreml513-mbb.china.huawei.com> <alpine.LFD.2.10.1408191159190.19423@bofh.nohats.ca> <814D0BFB77D95844A01CA29B44CBF8A7A280CF@lhreml513-mbb.china.huawei.com> <86mwb0e5pd.fsf@strotmann.de> <0l61hdogv2.fsf@wjh.hardakers.net> <16946.1409374615@dash.isi.edu>
Date: Sat, 30 Aug 2014 01:08:55 -0400
X-Google-Sender-Auth: tLBtnXatn72fvZvr3sEAH3ct24A
Message-ID: <CAMm+LwhJYBkaEr3swa+Es60+Z3Cmo0LEHHX-MXb5hnNqn-NhiA@mail.gmail.com>
From: Phillip Hallam-Baker <ietf@hallambaker.com>
To: John Heidemann <johnh@isi.edu>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/iNRw9MPcXRVNcMMnoP9WpLr4DaI
Cc: Carsten Strotmann <cas@strotmann.de>, Hosnieh Rafiee <hosnieh.rafiee@huawei.com>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>, Paul Wouters <paul@nohats.ca>, Wes Hardaker <wjhns1@hardakers.net>
Subject: Re: [dns-privacy] New draft on encrypting the stub-to-resolver link: draft-hoffman-dns-tls-stub-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: Sat, 30 Aug 2014 05:08:59 -0000

On Sat, Aug 30, 2014 at 12:56 AM, John Heidemann <johnh@isi.edu> wrote:
> On Wed, 27 Aug 2014 12:46:41 -0700, Wes Hardaker wrote:
>>Carsten Strotmann <cas@strotmann.de> writes:

>>But then, stepping back, you have to ask yourself: what's the likely
>>threat model of everyone in 100 feet trying to attack you?  If we really
>>...
>>
>>But what's the solution?  How do we authenticate that resolver?  PKIX
>>won't help us, as there is no name.  DNSSEC won't help us, as half the
>>time you're behind a nat so the reverse tree can't be used [ipv6
>>actually might help here].  Leap of faith is probably better than
>>nothing if you frequent that coffee shop.  I don't think secure dhcp has
>>gotten that far, but I'm admittedly out of touch.
>>
>>We simply keep moving this chicken/egg problem of secure bootstrapping
>>from one protocol to the next.  It's like one egg that keeps changing
>>chickens.
>
> I want to take a step back to consider a different case.
>
> The complaint here is that it is tough to authenticate some arbitrary
> resolver handed to you from DHCP because of person-in-the-middle.  Yes,
> that's a hard problem.
>
> "Doctor, it hurts when I do this." "Don't *do* that."

Exactly.

Step one to better DNS security is NEVER EVER USE THE DHCP DNS SERVER

The only exception being finding a path to your intended DNS server.


People keep trying to fix DNS security by applying the security that
fits a broken 30 year old model designed at a time when absolutely
nobody knew what they were doing.



> If you aren't willing to trust a resolver from DHCP, one could use a
> public DNS resolver, acquire its certificate out-of-band, and check it.
> I.e., do certificate pinning on the TLS certificate you plan to use for
> DNS.

Hang on, the machine could do that but lets keep the user out of this
please? Any time people suggest complicated configuration then its a
protocol nobody will ever use.

The machine can do those steps but not the human. It has to be
frictionless or it will never get used.


> I'm told there are IP addresses of a public resolver spraypainted on
> walls in Turkey you could try.  (If that or some other provider
> supported TLS for DNS.)

Well the spray-painted one got blocked so we need to do a little more
than that.


In my Private-DNS scheme the user binds their account to a security
provider that potentially provides a raft of security services. This
is a one time event per user until they change providers. They then
bind each of their machines to their account using a simple, easy to
use mechanism.

This is not doing TLS pinning, but thats because I didn't find TLS
provides much leverage except for initial configuration.


From nobody Sat Aug 30 17:50:48 2014
Return-Path: <paul.hoffman@vpnc.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 E627C1A6F0F for <dns-privacy@ietfa.amsl.com>; Sat, 30 Aug 2014 17:50:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3tRpPQAtvxG6 for <dns-privacy@ietfa.amsl.com>; Sat, 30 Aug 2014 17:50:44 -0700 (PDT)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2B951A6F14 for <dns-privacy@ietf.org>; Sat, 30 Aug 2014 17:50:44 -0700 (PDT)
Received: from [10.20.30.90] (50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id s7V0ogYX001014 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <dns-privacy@ietf.org>; Sat, 30 Aug 2014 17:50:43 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-0-66-181.dsl.dynamic.sonic.net [50.0.66.181] claimed to be [10.20.30.90]
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Sat, 30 Aug 2014 17:50:40 -0700
References: <20140831004442.24801.83501.idtracker@ietfa.amsl.com>
To: dns-privacy@ietf.org
Message-Id: <A1CEA13B-35AA-4B3B-BC43-241C4016A613@vpnc.org>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/dns-privacy/UT0mEgD8UMeBSZ76-4HRZS3unIQ
Subject: [dns-privacy] draft-hoffman-dns-tls-stub-02, now with https:
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, 31 Aug 2014 00:50:46 -0000

Greetings again. It was pointed out to me this week that the earlier =
draft, while useful in stubs that are in part of an OS, was not useful =
to stubs that are part of a Javascript program that is in a browser. =
There is a desire for such programs to be able to get DNS responses. =
This goes back to the "use TLS, but do it as a URL idea" discussed in =
the meeting in London. I re-read RFC 3205 and realized that this =
proposal doesn't go against its recommendations.

So, this draft has both the original proposal (run over TLS, negotiated =
with ALPN) and the new one. Both have disadvantages. I'm interested to =
hear what people think, hopefully after they have read the draft.

--Paul Hoffman

Begin forwarded message:

> From: internet-drafts@ietf.org
> Subject: New Version Notification for =
draft-hoffman-dns-tls-stub-02.txt
> Date: August 30, 2014 at 5:44:42 PM PDT
> To: "Paul E. Hoffman" <paul.hoffman@vpnc.org>, Paul Hoffman =
<paul.hoffman@vpnc.org>
>=20
>=20
> A new version of I-D, draft-hoffman-dns-tls-stub-02.txt
> has been successfully submitted by Paul Hoffman and posted to the
> IETF repository.
>=20
> Name:		draft-hoffman-dns-tls-stub
> Revision:	02
> Title:		Using TLS for Privacy Between DNS Stub and =
Recursive Resolvers
> Document date:	2014-08-30
> Group:		Individual Submission
> Pages:		10
> URL:            =
http://www.ietf.org/internet-drafts/draft-hoffman-dns-tls-stub-02.txt
> Status:         =
https://datatracker.ietf.org/doc/draft-hoffman-dns-tls-stub/
> Htmlized:       =
http://tools.ietf.org/html/draft-hoffman-dns-tls-stub-02
> Diff:           =
http://www.ietf.org/rfcdiff?url2=3Ddraft-hoffman-dns-tls-stub-02


