Re: OpenDNS today announced it has adopted DNSCurve to secure DNS

Phillip Hallam-Baker <hallam@gmail.com> Wed, 24 February 2010 20:37 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 279B528C112 for <ietf@core3.amsl.com>; Wed, 24 Feb 2010 12:37:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.441
X-Spam-Level:
X-Spam-Status: No, score=-2.441 tagged_above=-999 required=5 tests=[AWL=0.159, BAYES_00=-2.599]
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 zOzW5e5MP25R for <ietf@core3.amsl.com>; Wed, 24 Feb 2010 12:37:08 -0800 (PST)
Received: from mail-iw0-f191.google.com (mail-iw0-f191.google.com [209.85.223.191]) by core3.amsl.com (Postfix) with ESMTP id D5DED3A8339 for <ietf@ietf.org>; Wed, 24 Feb 2010 12:37:07 -0800 (PST)
Received: by iwn29 with SMTP id 29so3704838iwn.31 for <ietf@ietf.org>; Wed, 24 Feb 2010 12:39:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cziH2PRTTbeM+xhHnrkDhGAd1cSEiVJw4RhMIBL78uY=; b=pEKCNAF7hEDb0fFzd5Ie4xifh5X0eIUj+9p7V2vsrGcAyMahlF0rW/BcSKFU3XejwH kgbSKRjdfrX7esLRXFLIwcduMFsn6NbzmfS3VbcRygVXd7GTt1ZeL/lWgcKBLzhUCr1h 8tzAoKOdB+l+EDrxvfIbOvUQoyhJZwBNzkaRU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cVpaTnBd5UcqSVQrUXCgBphHIyTWhJOuMesJAOvKGv21s5ePCbkoutTvdPXjU9zFuc fur5A1lYsDLT73WImd4cdoZ+puE8XBemvCpp5Yq8h9NXhbU/OS5mCXtcMNR4gE1oNBKR QR+TMjXyWX9ni54l0lYoqnsFUoteGHB83uU/c=
MIME-Version: 1.0
Received: by 10.231.148.83 with SMTP id o19mr535980ibv.39.1267043950456; Wed, 24 Feb 2010 12:39:10 -0800 (PST)
In-Reply-To: <20100224142926.21d929c0@yellowstone.machshav.com>
References: <874c02a21002231826y613b9f97ya83740ba240f7bf9@mail.gmail.com> <ABE739C5ADAC9A41ACCC72DF366B719D02C29D87@GLKMS2100.GREENLNK.NET> <sdzl2yvgru.fsf@wjh.hardakers.net> <874c02a21002240835u7cf4bf60y510cbbc870727852@mail.gmail.com> <20100224165011.GF5166@thunk.org> <a123a5d61002240944l3944a8acy804a1d819bf2cc3d@mail.gmail.com> <20100224142926.21d929c0@yellowstone.machshav.com>
Date: Wed, 24 Feb 2010 15:39:10 -0500
Message-ID: <a123a5d61002241239i16abd52cn5e8dda15a1dd55b0@mail.gmail.com>
Subject: Re: OpenDNS today announced it has adopted DNSCurve to secure DNS
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Steven M. Bellovin" <smb@cs.columbia.edu>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Thu, 25 Feb 2010 08:17:25 -0800
Cc: "Dearlove, Christopher (UK)" <Chris.Dearlove@baesystems.com>, tytso@mit.edu, ietf@ietf.org, Wes Hardaker <wjhns1@hardakers.net>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Feb 2010 20:37:09 -0000

I was attempting to refer to the fact you considered the break
noteworthy rather than that you were the source, my apologies if that
was not clear.

I think we do need to change the DNS model. But not necessarily as
drastically as DNScurve and not to get rid of caching.


I would like to see us create an assumption that a given machine will
only use recursive resolution services from a specific trusted source.
This in turn requires us to add some features to the protocol as we
need to add mechanisms for access control. We also need to make some
changes to get around widespread DNS hacks used to support roaming
WiFi provision.

[Oh we are so not close to being done with deployment here. If turning
on DNSSEC means the typical Web surfer cannot get their WiFi access at
Panera without reconfiguring their machine then DNSSEC is stone cold
dead.]


Rather than using the approach in DNScurve, I would want to see
something like the following:

* When a new machine is brought up the configurer is asked which
network they want it to be a part of, identified by a DNS name. This
will be the place that the system will use to look for the trusted DNS
resolution service. Since I use 8.8.8.8 I would enter 'google.com'.
The default could be taken from DHCP
* New RR to allow a machine to locate a trusted resolution service for
the network and authentication protocols supported. The initial
bootstrap could be taken from the DHCP service.
* Key agreement mechanism that allows the client to establish a
persistent binding represented by a kerberos style ticket
* Packet encapsulation mechanism that enables a kerberos style ticket
to be entered into client request packets.

The situation we have at the moment is similar to the one you get with
a large tub of lego. We have all the pieces we need, but they are
mixed in with a much larger amount of stuff that we don't really need.
Telling people they can build this from IPSEC, Kerberos and SASL is
like telling people they can do brain surgery if they read some
wikipedia articles.


On Wed, Feb 24, 2010 at 2:29 PM, Steven M. Bellovin <smb@cs.columbia.edu> wrote:
> On Wed, 24 Feb 2010 12:44:10 -0500
> Phillip Hallam-Baker <hallam@gmail.com> wrote:
>
>> The problem here is not that you might infringe the patent, the
>> problem is that if a patent suit is brought against you, it will cost
>> a minimum of about $5 million to defend. Just to get to the point of
>> having an opinion on the matter you would have to engage a competent
>> expert witness who was willing to work on patent stuff rather than
>> building stuff. Then they have to do maybe a months work on research
>> and explain the results to a group of lawyers. You are going to have
>> five or more people and rack up several thousand hours at lawyer
>> rates.
>>
>> Those costs buy a lot of crypto accelerator boards.
>>
>> I kept trying to explain this situation to the various people who
>> tried to sell their 'efficient CRL' hacks. Even if your system is the
>> greatest ever and you give it to me for free, it will cost more to
>> work out if it is legally safe than it costs to solve the problem with
>> raw CPU power.
>>
>>
>> If the 512 byte limit really is a problem, then the logical answer
>> would be to use DSA-SHA256 since the signatures generated in DSA are
>> not a function of the key size. DSA also allows for offline
>> calculation of the signature data which would address performance
>> issues for companies like Akamai.
>>
>> There are also reasons to beware of DSA. Steve Bellovin pointed out
>> that if the random number generator is bad the private key can leak
>> out. But RSA is not without similar issues, companies that can't
>> generate a good random seed for DSA will probably not create secure
>> keypairs for RSA either.
>>
> I've pointed it out in the IETF, but I'm certainly not the one who came
> up with that observation in the first place; please do not give me
> credit for other folks' work.
>
> More on-topic: unless I'm very much mistaken, DNScurve relies on
> transmission security rather than object security; in turn, that
> requires a pretty fundamental change in how the DNS works.  (Well, not
> completely, but you wouldn't gain any security benefit against most of
> the threats from cache contamination if you didn't change it.)  Maybe
> the DNS can work that way or should work that way -- but I haven't seen
> any analysis to show that the load is manageable without caching and
> with lots of banging on the authoritative servers.
>



-- 
-- 
New Website: http://hallambaker.com/
View Quantum of Stupid podcasts, Tuesday and Thursday each week,
http://quantumofstupid.com/