Re: [DNSOP] DNSOP Digest, Vol 122, Issue 9

Ray Bellis <ray@bellis.me.uk> Fri, 06 January 2017 22:50 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 E5B3C129637 for <dnsop@ietfa.amsl.com>; Fri, 6 Jan 2017 14:50:29 -0800 (PST)
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 LEIq5Q1ifIjk for <dnsop@ietfa.amsl.com>; Fri, 6 Jan 2017 14:50:28 -0800 (PST)
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 A9630129649 for <dnsop@ietf.org>; Fri, 6 Jan 2017 14:50:26 -0800 (PST)
Received: from [46.227.151.81] (port=53971 helo=rays-mbp.local) 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 1cPdL3-0008V5-M5 (Exim 4.72) for dnsop@ietf.org (return-path <ray@bellis.me.uk>); Fri, 06 Jan 2017 22:50:21 +0000
To: dnsop@ietf.org
References: <mailman.1805.1483731727.3886.dnsop@ietf.org> <CAC94RYapsFgA=QZf83mdR+TeXy3Y+hGBXjOY86tb2dn6SV_hcQ@mail.gmail.com>
From: Ray Bellis <ray@bellis.me.uk>
Message-ID: <ae90c27c-6393-5b80-71a7-93af8c0d047c@bellis.me.uk>
Date: Fri, 06 Jan 2017 22:51:02 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <CAC94RYapsFgA=QZf83mdR+TeXy3Y+hGBXjOY86tb2dn6SV_hcQ@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/svudjO-ig8G1AqFclbHkWUbr5Mc>
Subject: Re: [DNSOP] DNSOP Digest, Vol 122, Issue 9
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 06 Jan 2017 22:50:30 -0000


On 06/01/2017 22:20, Richard Gibson wrote:

> Why not use Address Family like EDNS Client Subnet

Robert Edmonds and I already had that discussion off-list :)

This option isn't intended to carry transport addresses that a DNS
server couldn't already handle for itself.

As it is, ECS only allows two possible values in its *16 bit* Family
field, those being of course the values designating IPv4 and IPv6.  If
I'd been paying more attention to ECS I would have objected to this
pointless over-specification.

> Why /wouldn't/ ECS work for this? If the idea is to expose everything
> obscured by a proxy (e.g., for backend logging), then the option data
> should include quite a bit more than an address—at minimum, a
> protocol number for differentiating UDP/TCP, the original OPT CLASS
> (UDP payload size) and flags (including DO), and a flag indicating
> presence or absence of an OPT record in the original query. You might
> also want to include the port and id from the original query (for
> direct response) and/or allow arbitrary data after the address (for
> communicating installation-specific metadata).

The intent isn't to expose *everything*.  It's to expose specifically
the one value that (most) servers care about because it's used by things
like ACLs, and views, and rate limiting - the client source IP.

kind regards,

Ray