Re: [dnsext] Re: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt

Alex Bligh <alex@alex.org.uk> Thu, 28 January 2010 20:56 UTC

Return-Path: <owner-namedroppers@ops.ietf.org>
X-Original-To: ietfarch-dnsext-archive@core3.amsl.com
Delivered-To: ietfarch-dnsext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 25AB03A6947; Thu, 28 Jan 2010 12:56:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SOiiMuxAreKd; Thu, 28 Jan 2010 12:56:57 -0800 (PST)
Received: from psg.com (psg.com [147.28.0.62]) by core3.amsl.com (Postfix) with ESMTP id 4D1D83A67D9; Thu, 28 Jan 2010 12:56:57 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1NabJ9-000MfM-7C for namedroppers-data0@psg.com; Thu, 28 Jan 2010 20:49:43 +0000
Received: from [89.16.176.221] (helo=mail.avalus.com) by psg.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <alex@alex.org.uk>) id 1NabJ6-000Mel-NX for namedroppers@ops.ietf.org; Thu, 28 Jan 2010 20:49:41 +0000
Received: from [192.168.100.124] (87-194-71-186.bethere.co.uk [87.194.71.186]) by mail.avalus.com (Postfix) with ESMTPSA id 408BAC56520; Thu, 28 Jan 2010 20:49:37 +0000 (GMT)
Date: Thu, 28 Jan 2010 20:49:38 +0000
From: Alex Bligh <alex@alex.org.uk>
Reply-To: Alex Bligh <alex@alex.org.uk>
To: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>
cc: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>, Paul Vixie <vixie@isc.org>, namedroppers@ops.ietf.org, Alex Bligh <alex@alex.org.uk>
Subject: Re: [dnsext] Re: I-D ACTION:draft-vandergaast-edns-client-ip-00.txt
Message-ID: <79E447BA4454658934413A0F@nimrod.local>
In-Reply-To: <0BA9FFB0-A051-46E6-990D-04F385DA5EF0@ICSI.Berkeley.EDU>
References: <7c31c8cc1001271556w4918093er6e94e07cb92c4dc4@mail.gmail.com> <6184.1264657589@nsa.vix.com> <4966825a1001280807i768a33ccs98f809366bce33d8@mail.gmail.com> <48894.1264695230@nsa.vix.com> <50A91B20-5AC1-4819-91ED-E5141F068D48@wiggum.com> <52065.1264699087@nsa.vix.com> <FDD5D1103B8EA4D13C4A2C4C@Ximines.local> <EEAAE4BF-BBA9-4141-BECC-A8440715597F@icsi.berkeley.edu> <64E75C1F63E69611DE870231@Ximines.local> <0BA9FFB0-A051-46E6-990D-04F385DA5EF0@ICSI.Berkeley.EDU>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-namedroppers@ops.ietf.org
Precedence: bulk
List-ID: <namedroppers.ops.ietf.org>
List-Unsubscribe: To unsubscribe send a message to namedroppers-request@ops.ietf.org with
List-Unsubscribe: the word 'unsubscribe' in a single line as the message text body.
List-Archive: <http://ops.ietf.org/lists/namedroppers/>

--On 28 January 2010 12:16:57 -0800 Nicholas Weaver 
<nweaver@ICSI.Berkeley.EDU> wrote:

> 3:  The third party resolver offers a significant value add, such as
> programmable blocking, automatic blocking of malicious sites, and far
> more agressive prefetching of common names and related information to
> speed up results.
>
> People are NOT using OpenDNS, UltraDNS, or Google's public DNS because
> their ISP's resolver is broken/evil, they are using it because they offer
> real perceived benefits.
>
> And this ISNT'T a behavioral change for every caching resolver.  One of
> the beauties of this scheme is ONLY the third-party resolvers and
> authorities which desire this behavior will need to implement this at
> all.  In fact, the Bind developers could say "No way in hell will WE
> implement this", but a few big recursive resolver providers and CDNs do,
> and it becomes a success and the problem is solved.

Hmmm... ok, part of my objection was to lines like (from 4.1)
 "In the reply, the server MUST include an edns-client-ip option."
On your reading, that MUST only means "where the incoming query
has the option set AND where the server is using the data in
some way". It doesn't, however, say that. I think it should be
clear that a server, whether or not it the software supports
the draft, and whether or not it is configured to return
answers with this option for some queries, is always free
to discard the edns client ip option (i.e. treat it as if
it isn't there). I don't see a particular problem with it using
the data silently then not returning a netmask. In which case
the MUST should simply read "MAY".

But if the idea of this is to institute a signaling mechanism between
caching resolvers that are non-local to their users (and you
say these are >= 97% third party resolvers) and certain authoritive
nameservers, why insist that the IP address passed is the IP
address of the client, which gets you into all these NAT problems.
Why not just allow the end user to specify an arbitrary IP address
which is the IP address he'd like authoritative nameserver to
treat as the source address for the query (possibly with a netmask
to indicate which bits are accurate), rather than saying he MUST
use the local IP address etc. etc.; so I could configure my
local (behind NAT) resolver with the external IP address.
And the privacy-paranoid could just pick any IP they know to
be in the same AS / network locality / whatever. Rather than
"client-ip-option" it is a sort of "source-hint-option".
This would also be useful in debugging problems to do with DNS
'cleverness' too (e.g. "dig +source-hint=x.x.x.x ....").

-- 
Alex Bligh