[pcp] draft-ietf-pcp-dhcp-05.txt

Stuart Cheshire <cheshire@apple.com> Tue, 06 November 2012 07:26 UTC

Return-Path: <cheshire@apple.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 A18FF21F875C for <pcp@ietfa.amsl.com>; Mon, 5 Nov 2012 23:26:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level:
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 F+aMrDHweJNw for <pcp@ietfa.amsl.com>; Mon, 5 Nov 2012 23:26:26 -0800 (PST)
Received: from mail-out.apple.com (mail-out.apple.com [17.151.62.49]) by ietfa.amsl.com (Postfix) with ESMTP id 3FAE421F8755 for <pcp@ietf.org>; Mon, 5 Nov 2012 23:26:26 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; CHARSET="US-ASCII"
Received: from relay11.apple.com ([17.128.113.48]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPS id <0MD2002CC1YUV320@mail-out.apple.com> for pcp@ietf.org; Mon, 05 Nov 2012 23:26:00 -0800 (PST)
X-AuditID: 11807130-b7fcc6d0000038e5-dc-5098bb8819a4
Received: from jimbu (jimbu.apple.com [17.151.62.37]) (using TLS with cipher RC4-MD5 (RC4-MD5/128 bits)) (Client did not present a certificate) by relay11.apple.com (Apple SCV relay) with SMTP id 4E.66.14565.88BB8905; Mon, 05 Nov 2012 23:26:00 -0800 (PST)
Received: from dhcp-44f3.meeting.ietf.org (dhcp-44f3.meeting.ietf.org [130.129.68.243]) by jimbu.apple.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPSA id <0MD200JVB1ZB7780@jimbu.apple.com> for pcp@ietf.org; Mon, 05 Nov 2012 23:26:00 -0800 (PST)
From: Stuart Cheshire <cheshire@apple.com>
Date: Mon, 05 Nov 2012 23:25:59 -0800
Message-id: <8C13E205-F40B-495C-B1FC-4BA495E458CB@apple.com>
To: PCP <pcp@ietf.org>
X-Mailer: Apple Mail (2.1085)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42IRnG6nqtuxe0aAwc7LhhaTj/1mdWD0WLLk J1MAYxSXTUpqTmZZapG+XQJXxt9Nh9kKlvNUzLrdx9TAeImzi5GTQ0LAROL7sZPsELaYxIV7 69m6GLk4hARamST2vH7KApIQEtjJJLHlThSIzSagJfHi8xU2EJsZyF6/8zgThK0t8eTdBVYQ W1hAWaL5wA5mEJtFQFXi4o4/YHFeARuJix+2MoLYIkDLVj9+yAQRN5RYcn0L1BGyEjvvnGaZ wMg7C8mKWUhWzELSsoCReRWjYFFqTmKloaFeYkFBTqpecn7uJkZQyDQUGuxgXPuT/xCjAAej Eg+vsNiMACHWxLLiytxDjBIczEoivDu2AYV4UxIrq1KL8uOLSnNSiw8xSnOwKInzFvACpQTS E0tSs1NTC1KLYLJMHJxSDYyqM6ycBLUZ5H4waOWYyJvvvqJUnXlOM9NgdrGGq4uY2/dvCSvi Jy9h+X34w97K9V2/9GZplreHGp4odik2ULt4OSzlbDP3oT2dF99f7g5qWRDLzf4xxKH7aUpQ 9c87/xn2Hr3T3Wz24lqR9f37wtPbPP6pduhGHlfzEarbcXaFb/l/rskbW5RYijMSDbWYi4oT AfPS1IgVAgAA
Subject: [pcp] draft-ietf-pcp-dhcp-05.txt
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: Tue, 06 Nov 2012 07:26:26 -0000

Some comments on draft-ietf-pcp-dhcp-05.txt

I found the document confusing and contradictory. In "Terminology" it says:

>    name may be structured as DNS qualified name or
>    be composed of strings such as can be passed to getaddrinfo
>    (Section 6.1 of [RFC3493]), including address literals, etc.

but "Introduction" says:

>    Motivations for defining PCP option as a name and not an IP address
>    are discussed in Appendix A.

I'm not sure which statement applies.

>    The domain name(s) is encoded as string.

This is ambiguous. What kind of string? It should state explicitly that it's a <character-string> as defined in RFC 1035.

And what can it contain? An FQDN? Does it need to end with a trailing dot? Or does it need to *not* end with a trailing dot, because that would be redundant (but the client MUST add one before passing it to gethostbyname)? Can it contain a dotted-decimal IPv4 literal? An IPv6 literal? In square brackets? Are leading/trailing/interior spaces allowed? Or are they illegal?

>    When several names are included, a space character is used as separator.

If there's more than one, they should be concatenated together as with an RFC 1035 TXT record.

On the other hand, if only FQDNs are allowed, not address literals, then instead of <character-string>s, it would be better to use the already-defined name list format from RFC 3397.

>    Once each Name conveyed in the OPTION_PCP_SERVER option is validated...

How is a name "validated"?

Stuart Cheshire