Re: [pcp] draft-ietf-pcp-dhcp

<mohamed.boucadair@orange.com> Thu, 31 January 2013 14:04 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B82821F84F9 for <pcp@ietfa.amsl.com>; Thu, 31 Jan 2013 06:04:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.248
X-Spam-Level:
X-Spam-Status: No, score=-2.248 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rsl3AYKTBcWV for <pcp@ietfa.amsl.com>; Thu, 31 Jan 2013 06:04:31 -0800 (PST)
Received: from relais-inet.francetelecom.com (relais-ias92.francetelecom.com [193.251.215.92]) by ietfa.amsl.com (Postfix) with ESMTP id 4CEF921F8540 for <pcp@ietf.org>; Thu, 31 Jan 2013 06:04:31 -0800 (PST)
Received: from omfedm07.si.francetelecom.fr (unknown [xx.xx.xx.3]) by omfedm10.si.francetelecom.fr (ESMTP service) with ESMTP id D20B6264674; Thu, 31 Jan 2013 15:04:29 +0100 (CET)
Received: from PUEXCH61.nanterre.francetelecom.fr (unknown [10.101.44.32]) by omfedm07.si.francetelecom.fr (ESMTP service) with ESMTP id B81064C060; Thu, 31 Jan 2013 15:04:29 +0100 (CET)
Received: from PUEXCB1B.nanterre.francetelecom.fr ([10.101.44.8]) by PUEXCH61.nanterre.francetelecom.fr ([10.101.44.32]) with mapi; Thu, 31 Jan 2013 15:04:29 +0100
From: mohamed.boucadair@orange.com
To: Ted Lemon <Ted.Lemon@nominum.com>, "pcp@ietf.org" <pcp@ietf.org>
Date: Thu, 31 Jan 2013 15:04:28 +0100
Thread-Topic: draft-ietf-pcp-dhcp
Thread-Index: Ac3/svMhIiSqbDmMSHGU8XxAMPj6cQASMtEAABCLoNA=
Message-ID: <94C682931C08B048B7A8645303FDC9F36EA9C83EFB@PUEXCB1B.nanterre.francetelecom.fr>
References: <94C682931C08B048B7A8645303FDC9F36EA9C83E5A@PUEXCB1B.nanterre.francetelecom.fr> <8D23D4052ABE7A4490E77B1A012B630747476816@mbx-01.win.nominum.com>
In-Reply-To: <8D23D4052ABE7A4490E77B1A012B630747476816@mbx-01.win.nominum.com>
Accept-Language: fr-FR
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: fr-FR
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.10.24.110314
Subject: Re: [pcp] draft-ietf-pcp-dhcp
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pcp>, <mailto:pcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pcp>
List-Post: <mailto:pcp@ietf.org>
List-Help: <mailto:pcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcp>, <mailto:pcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jan 2013 14:04:32 -0000

Hi Ted,

Thank you Ted for detailing your concerns. This is the purpose of this thread and this is why I cced you. 

Mandating the server to resolve the name and return an IP-Address is a deployment option but this is not a valid option for some providers. I already discussed this in http://tools.ietf.org/html/draft-boucadair-dhc-address-name-encoding-03. We had a long discussion in dhc mailing list, no need to replay that discussion here.

Instead of opening the endless discussion IP address vs. FQDN, I really hope to scope this discussion to the encoding options of a name: the working achieved a consensus to encode a name as a string and not over specify the option to be DNS-specific (see http://www.ietf.org/mail-archive/web/pcp/current/msg01776.html).

Cheers,
Med 

>-----Message d'origine-----
>De : pcp-bounces@ietf.org [mailto:pcp-bounces@ietf.org] De la 
>part de Ted Lemon
>Envoyé : jeudi 31 janvier 2013 14:42
>À : pcp@ietf.org
>Objet : Re: [pcp] draft-ietf-pcp-dhcp
>Importance : Haute
>
>On Jan 31, 2013, at 8:00 AM, mohamed.boucadair@orange.com wrote:
>> Even if -06 is ready for submission, I preferred to not 
>submit it before checking with the WG how to resolve an issue 
>raised by Ted. Ted (as a chair of dhc) thinks the use of UTF-8 
>string encoding is a bad design because it is difficult to 
>validate the option. I already answered to that objection as 
>DNS itself does not put any restriction on labels except a 
>label must not be more than 63 characters.
>
>This completely misrepresents the concern I expressed.   First 
>of all, DNS _wire format_ allows any value in any field, but 
>DNS _representation format_ is not clearly defined anywhere, 
>and there are complexities, particularly since you want to be 
>able to parse both FQDNs and IP addresses out of the same 
>string representation, and since you have to support 
>internationalized domain names.
>
>Of course, there are implementations of library routines that 
>take a user-supplied string and parse an FQDN or IP address 
>out of it-it's not rocket science.   But there is no clear 
>specification; no BNF we can follow to determine which strings 
>are valid and which aren't.   More to the point, though, this 
>is not how other DHCP options with similar use cases have been 
>done.   Inventing new formats to represent the same data 
>complicates implementations, and we'd prefer to avoid it.   
>The DHC working group has a fairly clear consensus that there 
>are preferred ways to do it, which we have attempted to 
>communicate.   We asked Med to articulate a use case that 
>motivates this particular solution over the preferred 
>solutions, and he did not articulate an actual use case.
>
>We also asked Med to explain why it was necessary to use an 
>FQDN rather than having the DHCP server derive an IP address 
>from an FQDN in its configuration, and the only answer I could 
>get was that there might be some situation where there'd be a 
>split DNS configuration, and the correct answer would be 
>available to the DHCP client and not the DHCP server.   In 
>general I'm a bit of a purist, and have trouble with the idea 
>that an IETF protocol should bend over backwards to 
>accommodate this use case.   I also wonder if the working 
>group really considers this a serious use case.
>
>In general, the way that DHCP handles this problem is that the 
>DHCP server administrator configures an FQDN on the DHCP 
>server.   When a request comes in, the DHCP server does a DNS 
>lookup, resolving the FQDN  into one or more IP addresses.   
>These addresses are then sent to the client.   This relieves 
>the client of the need to do the FQDN lookup itself, which is 
>generally considered desirable since some consumers of DHCP 
>service are fairly low-level devices, like boot proms, which 
>don't have their own resolvers.   This solution addresses 
>every use case Med presented except the split DNS use case.   
>In the split DNS use case, a wire-encoded FQDN is adequate; 
>there is no need to invent a new encoding.
>
>So I'd really appreciate it if the PCP working group would at 
>least consider stopping trying to cram config file strings 
>into DHCP packets, and follow the recommendations of the DHC 
>working group as to how to represent addresses.
>
>I think that's the place to start-if somebody has a strong 
>requirement that is not satisfied by the usual practice, that 
>requirement should be stated explicitly.   It should be the 
>case that current practice does not satisfy that requirement; 
>not merely that there is a personal preference for going 
>against current practice.
>
>_______________________________________________
>pcp mailing list
>pcp@ietf.org
>https://www.ietf.org/mailman/listinfo/pcp
>