Re: [DNSOP] draft-tale-dnsop-edns-clientid

Ray Bellis <ray@bellis.me.uk> Thu, 30 March 2017 23:54 UTC

Return-Path: <ray@bellis.me.uk>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36741127076 for <dnsop@ietfa.amsl.com>; Thu, 30 Mar 2017 16:54:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 NuJrUS2IGQbH for <dnsop@ietfa.amsl.com>; Thu, 30 Mar 2017 16:54:37 -0700 (PDT)
Received: from hydrogen.portfast.net (hydrogen.portfast.net [188.246.200.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E637F1270A3 for <dnsop@ietf.org>; Thu, 30 Mar 2017 16:54:36 -0700 (PDT)
Received: from dhcp-8751.meeting.ietf.org ([31.133.135.81]:53223) by hydrogen.portfast.net ([188.246.200.2]:465) with esmtpsa (fixed_plain:ray@bellis.me.uk) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1ctjtf-0004KC-73 (Exim 4.72) for dnsop@ietf.org (return-path <ray@bellis.me.uk>); Fri, 31 Mar 2017 00:54:31 +0100
To: dnsop@ietf.org
References: <22745.38650.113925.208670@gro.dd.org> <20170330214850.AEED76A57069@rock.dv.isc.org>
From: Ray Bellis <ray@bellis.me.uk>
Message-ID: <e148a5fc-5b39-7305-027e-995df78e7dcf@bellis.me.uk>
Date: Thu, 30 Mar 2017 18:54:34 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <20170330214850.AEED76A57069@rock.dv.isc.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/YvHt5fgcidMg4DQZwqixoGGCvWY>
Subject: Re: [DNSOP] draft-tale-dnsop-edns-clientid
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 30 Mar 2017 23:54:39 -0000


On 30/03/2017 16:48, Mark Andrews wrote:
> 
> I'm going to assume these two proposals can be merged.
> 
> The simple way to do this is to *always* add a OPT record that only
> contains this option to the end of the packet adjusting the additional
> section count.  This OPT record is removed and the additional section
> count is adjusted prior to TSIG / SIG(0) verification.
> 
> When replying via the front end, you always add a OPT record to the
> end of the packet after TSIG / SIG(0) computation adjusting the
> additional section count.  This is removed by the front end adjusting
> the additional section count.
> 
> This allows for TSIG, SIG(0) and plain DNS to be handled gracefully.
> Any other options like destination address can be added to this OPT
> record.
> 
> If people really object to two OPT records we can do a OPT clone.

Interesting, although I'd be curious how we'd avoid and/or change the
rules for TSIG that say it MUST always come last in the packet.

Ray