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

Nicholas Weaver <nweaver@ICSI.Berkeley.EDU> Tue, 02 February 2010 18:52 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 7A9C53A69C3; Tue, 2 Feb 2010 10:52:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.579
X-Spam-Level:
X-Spam-Status: No, score=-106.579 tagged_above=-999 required=5 tests=[AWL=0.020, 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 EJUdmbWSMMqK; Tue, 2 Feb 2010 10:52:14 -0800 (PST)
Received: from psg.com (psg.com [147.28.0.62]) by core3.amsl.com (Postfix) with ESMTP id 9B12B3A697B; Tue, 2 Feb 2010 10:52:14 -0800 (PST)
Received: from majordom by psg.com with local (Exim 4.71 (FreeBSD)) (envelope-from <owner-namedroppers@ops.ietf.org>) id 1NcNp0-000Cin-2D for namedroppers-data0@psg.com; Tue, 02 Feb 2010 18:49:58 +0000
Received: from [192.150.186.11] (helo=fruitcake.ICSI.Berkeley.EDU) by psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <nweaver@ICSI.Berkeley.EDU>) id 1NcNox-000CiM-O9 for namedroppers@ops.ietf.org; Tue, 02 Feb 2010 18:49:55 +0000
Received: from [IPv6:::1] (jack.ICSI.Berkeley.EDU [192.150.186.73]) by fruitcake.ICSI.Berkeley.EDU (8.12.11.20060614/8.12.11) with ESMTP id o12Inq6v005858; Tue, 2 Feb 2010 10:49:52 -0800 (PST)
References: <7c31c8cc1001271556w4918093er6e94e07cb92c4dc4@mail.gmail.com> <973B1F15-E822-491E-89BF-F09FC7E67509@ICSI.Berkeley.EDU> <6e04e83a1002011109u1cd55c99k8b584648184cdc73@mail.gmail.com> <162E0DB1-EC86-4206-AB36-6FEFA786B24C@ICSI.Berkeley.EDU> <6e04e83a1002011402u395f599g74180d28fdbe5707@mail.gmail.com> <939BB577-FDBE-4573-9129-8CA29B0FB493@sackheads.org> <7B06A582-38E3-4387-BA16-932825A4A62B@rfc1035.com> <F2E927AA-B07C-45D0-9D26-AFE8115F2CC2@icsi.berkeley.edu> <B7A5F1C5-E972-4915-A90F-E561B041A133@rfc1035.com> <23AAB144-AF85-45C7-A99C-C1E7A5334F9C@ICSI.Berkeley.EDU> <d791b8791002021046i5049c50anb74273eb0e45b984@mail.gmail.com>
In-Reply-To: <d791b8791002021046i5049c50anb74273eb0e45b984@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
Message-Id: <D2A67E02-13DC-452C-8F7C-ABCFF36CD438@ICSI.Berkeley.EDU>
Content-Transfer-Encoding: quoted-printable
Cc: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>, namedroppers@ops.ietf.org
From: Nicholas Weaver <nweaver@ICSI.Berkeley.EDU>
Subject: Re: [dnsext] draft-vandergaast-edns-client-ip-00.txt
Date: Tue, 02 Feb 2010 10:49:52 -0800
To: Matthew Dempsky <matthew@dempsky.org>
X-Mailer: Apple Mail (2.1077)
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 Feb 2, 2010, at 10:46 AM, Matthew Dempsky wrote:

> On Tue, Feb 2, 2010 at 10:27 AM, Nicholas Weaver
> <nweaver@icsi.berkeley.edu> wrote:
>> Authority doesn't know the option but follows RFC 2671 5.3:  The server replies with NOTIMPL, FORMERR, or SERVFAIL.
> 
> I don't understand RFC 2671 5.3 as requiring a server to reply with
> one of those codes (otherwise it would have made more sense to specify
> which one).  Instead, I read it as a warning/reminder to the reader
> that a server might not gracefully handle new extensions, and clients
> should be prepared to deal with that possibility when making use of
> them.

To me it sounds like it should:

5.3. Responders who do not understand these protocol extensions are
     expected to send a response with RCODE NOTIMPL, FORMERR, or
     SERVFAIL.  Therefore use of extensions should be "probed" such that
     a responder who isn't known to support them be allowed a retry with
     no extensions if it responds with such an RCODE.  If a responder's
     capability level is cached by a requestor, a new probe should be
     sent periodically to test for changes to responder capability.


Protocol extensions would IMO, include an unknown options.

But in any case, there are graceful failure mechanisms no matter what the authority does: ignore it, reply with any sort of failure, or silently not reply: all can be handled easily.