Re: [DNSOP] Comments on draft-ietf-dnsop-qname-minimisation
David Conrad <drc@virtualized.org> Sun, 04 January 2015 20:13 UTC
Return-Path: <drc@virtualized.org>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B90CE1A8F3B for <dnsop@ietfa.amsl.com>; Sun, 4 Jan 2015 12:13:40 -0800 (PST)
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 yKKZmI9pls6f for <dnsop@ietfa.amsl.com>; Sun, 4 Jan 2015 12:13:38 -0800 (PST)
Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B95B31A8F35 for <dnsop@ietf.org>; Sun, 4 Jan 2015 12:13:38 -0800 (PST)
Received: by mail-pd0-f171.google.com with SMTP id y13so26759784pdi.16 for <dnsop@ietf.org>; Sun, 04 Jan 2015 12:13:38 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=13Oeo1iRD+oJzwgbdNf1t5FFr9Izi1ZtwLhH9moH4QY=; b=WJ5O+YfI4hNUNicGuoMdPrsHIvpEySWnywc/zdYiTZN51U4HcUp/qNBlwt9r1GOV/b c+/t6BytYSdKpZ2U9rQ2r7dHQWkYrLI8DIjf8tsdWZgkgcX+hatQFNF99x4jNUNA3Vp4 TbYgATX1MFLtqk3tLACrSYQzbRM5j+KOM8r+xyM7IDeSFS7//OLyTCQoH/fDrhXrzGMi 4e7YUXdFOjFIh8gyKjkLKPEphMTSloLjarPZ7AU3XlN7Q2z5xHNuhoxwicGbDZb6BqEM kKpy4btlbN58XsECWP+YeLGjOXkw9MwptW5U49SQNj4/DjKqaBgdNP78Xf7QQrYEj1/F LN/A==
X-Gm-Message-State: ALoCoQmsq5z+Q6/9fkIG2U1s829aHQMBCVuYCaUoG8/V99IGb/B2U/kxvBm8oqonMT42xdhbjpa+
X-Received: by 10.66.138.72 with SMTP id qo8mr142776989pab.84.1420402418216; Sun, 04 Jan 2015 12:13:38 -0800 (PST)
Received: from [10.0.1.10] ([73.162.11.223]) by mx.google.com with ESMTPSA id fk2sm45022513pab.10.2015.01.04.12.13.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 Jan 2015 12:13:37 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Content-Type: multipart/signed; boundary="Apple-Mail=_45407A7F-CBF8-45B3-91DA-1D4E67B53CE5"; protocol="application/pgp-signature"; micalg="pgp-sha512"
X-Pgp-Agent: GPGMail 2.5b4
From: David Conrad <drc@virtualized.org>
In-Reply-To: <20150104193602.GA23109@sources.org>
Date: Sun, 04 Jan 2015 12:13:35 -0800
Message-Id: <4FF33728-5940-475A-AA41-A197295388AD@virtualized.org>
References: <CAH1iCirCRpJxHWu62nCSTCmSumXfTNHi=-jt5eWXzRgspJjm9w@mail.gmail.com> <CAH1iCip7iGgM=eiaVcy3fHx+KdOJgd5Rh8zLsnDPMgoEnE-HvA@mail.gmail.com> <0BB798D6-60F4-492D-819A-EF4E0F5848B5@virtualized.org> <20150104193602.GA23109@sources.org>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/-61zHEVTyVzzwEyP3Ux4SErZIWw
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>
Subject: Re: [DNSOP] Comments on draft-ietf-dnsop-qname-minimisation
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jan 2015 20:13:40 -0000
Stephane, >> While the pointer to the dns-privacy draft is helpful as a >> reference, I figure the introduction/background section should >> provide an introduction to the specific problem the draft is >> attempting to address and why it is a problem. > > I tend to disagree. The whole point of the reference to > draft-ietf-dprive-problem-statement is to avoid repeating. That's why > it's a normative reference. I wasn't suggesting removing the reference, rather I was suggesting the intro/background should discuss the subset of the more general DNS privacy problem that QNAME minimization is intended to solve/help with. >> "It can be noted that minimising the amount of data sent also >> partially addresses the case of a wire sniffer, not just the case >> of privacy invasion by the servers." >> >> This probably needs a bit more explanation. If you're sniffing the >> wire, you'll see the final query for the full QNAME/QCLASS/QTYPE and >> all the intervening NS queries can simply be ignored, no? Or is the >> sniffer on a different wire? > > Yes, the sniffer may be in many places. If it is between the user and > the recursive resolver, of course, it will see everything, qname m12n > or not. But it may be, for instance, between the recursive resolver > and the authoritative name servers of a TLD. That's a very important > point of DNS privacy, and a reason why the DNS privacy issue is not > just a subset of general IP privacy issues. See section 2.4 of > draft-ietf-dprive-problem-statement-00. Right, so perhaps something like: "It can be noted that minimising the amount of data sent can reduce the exposure of the full query name to any wire sniffer that may be in the path between the resolver and any (except the last) authoritative server the resolver needs to iterate through." (or something like that)? >> "Sending the full qname to the authoritative name server is a >> tradition, not a protocol requirment." >> >> I'd actually call it an optimization, not a tradition. > > In many cases, sending the full qname degrades performance so I would > not call it an optimization. If there are cases in which sending the full QNAME degrades performance, it might be useful to document them in the draft (off the top of my head, I can't imagine non-broken cases where that would be true, but I haven't thought about it too long). The reason I'd call it an optimization is that in the case where a server is authoritative for multiple layers of hierarchy, sending the full QNAME allows that server to bypass the referrals for all intermediate layers of hierarchy and simply respond to the depth it knows. If QNAME minimization is applied, that shortcut isn't possible. > New paragraph. Does it address (at least partially) your concern? > > <t>As mentioned before, there are several ways to implement qname > minimisation. Two main strategies are the aggressive one and the lazy > one. In the aggressive one, the resolver only sends NS queries as long > as it does not know the zone cuts. This is the safest, from a privacy > point of view. The lazy way "piggybacks" on the traditional resolution > code. It sends traditional full qnames and learn the zone cuts from > the referrals received, then switching to NS queries. This leaks more > data but probably requires less changes in the existing resolver > codebase.</t> Sure. Thanks, -drc
- [DNSOP] Fwd: Comments on draft-ietf-dnsop-qname-m… Brian Dickson
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… David Conrad
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Stephane Bortzmeyer
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… David Conrad
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Rubens Kuhl
- [DNSOP] "Optimization" in draft-ietf-dnsop-qname-… Paul Hoffman
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Bob Harold
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Tony Finch
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Rubens Kuhl
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Paul Vixie
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Jelte Jansen
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Tony Finch
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Paul Vixie
- Re: [DNSOP] Fwd: Comments on draft-ietf-dnsop-qna… Shumon Huque
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Warren Kumari
- Re: [DNSOP] Fwd: Comments on draft-ietf-dnsop-qna… Warren Kumari
- Re: [DNSOP] Fwd: Comments on draft-ietf-dnsop-qna… Shumon Huque
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Olafur Gudmundsson
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Rubens Kuhl
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Niall O'Reilly
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Mark Andrews
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Niall O'Reilly
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Paul Vixie
- [DNSOP] Hostname (was: Comments on draft-ietf-dns… Niall O'Reilly
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Stephane Bortzmeyer
- Re: [DNSOP] "Optimization" in draft-ietf-dnsop-qn… Stephane Bortzmeyer
- Re: [DNSOP] Fwd: Comments on draft-ietf-dnsop-qna… Stephane Bortzmeyer
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Mark Andrews
- Re: [DNSOP] Comments on draft-ietf-dnsop-qname-mi… Niall O'Reilly