[apps-discuss] APPSDIR review of draft-ietf-6man-rfc3484bis-05

Carsten Bormann <cabo@tzi.org> Sun, 17 June 2012 20:01 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 512B421F8607; Sun, 17 Jun 2012 13:01:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.609
X-Spam-Level:
X-Spam-Status: No, score=-106.609 tagged_above=-999 required=5 tests=[AWL=-0.360, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uYT4CuGC80TM; Sun, 17 Jun 2012 13:01:00 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 3F0AC21F84D9; Sun, 17 Jun 2012 13:00:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q5HK0jD0015418; Sun, 17 Jun 2012 22:00:46 +0200 (CEST)
Received: from [192.168.217.117] (p54892585.dip.t-dialin.net [84.137.37.133]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 4A020A55; Sun, 17 Jun 2012 22:00:45 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Apple Message framework v1278)
From: Carsten Bormann <cabo@tzi.org>
Date: Sun, 17 Jun 2012 22:00:44 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <1C6943B9-8860-4331-9129-9D610FC7A661@tzi.org>
To: "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>, draft-ietf-6man-rfc3484bis.all@tools.ietf.org
X-Mailer: Apple Mail (2.1278)
Cc: 6man@ietf.org, The IESG <iesg@ietf.org>
Subject: [apps-discuss] APPSDIR review of draft-ietf-6man-rfc3484bis-05
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jun 2012 20:01:01 -0000

I have been selected as the Applications Area Directorate reviewer for
this draft (for background on appsdir, please see
http://trac.tools.ietf.org/area/app/trac/wiki/ApplicationsAreaDirectorate
).

Please resolve these comments along with any other Last Call comments
you may receive. Please wait for direction from your document shepherd
or AD before posting a new version of the draft.

Gruesse, Carsten

---------------------------------

Document: draft-ietf-6man-rfc3484bis-05
Title: Default Address Selection for Internet Protocol version 6 (IPv6)
Reviewer: Carsten Bormann
Review Date: 2012-06-17
IETF Last Call Date: 2012-06-01, for 2012-06-15
IESG Telechat Date: 2012-06-21

** Summary:

This document is ready for publication after some editorial fixes, but
it could benefit from some additional documentation as specified below.

** (Major:)

Three types of address selection are often relevant to applications:
-- initiator address selection (source and destination).  This appears
to be addressed here.
-- responder address selection.  This is mostly relevant where the
responder cannot simply turn around the addresses chosen by the
initiator.  This may be because of multicast, or because of API
deficiencies.
-- listening address selection.  An application needs to select the
addresses to bind to.
Experience from the ETSI CoAP plugfest shows that all three types of
address selection are likely stumbling blocks when building an
IPv6 implementation of a UDP-based protocol.
RFC 3484 only seems to address initiator address selection, so it is
logical that a -bis follows suit (but then, the security
considerations seem to discuss responder address selection).
Still, this is a major problem that maybe can be solved in additional
documents.

I believe the specification needs to be much clearer on who is its target.
The document does not fully indicate which part of a system is supposed to
act on its mandates.  It just says
           The selection rules specified in this document MUST NOT be construed
           to override an application or upper-layer's explicit choice of a
           legal destination or source address.
so there seems to be an assumption some part of the system other than
an application or "upper-layer" may or should act on it.
It then goes ahead and identifies getaddrinfo() explicitly as a target
for destination address selection and "the network layer" for source
address selection unless done by the application.  Are other parts of
a system subject to these mandates?  Should an application writer that
finds a working getaddrinfo() and a network layer read this document?
Should an application layer protocol specification have to reference
this document?
There is also an assumption that the part of the system responsible
for implementing this specification has certain information available
to it (e.g., some knowledge is required to detect IPv4-converted
addresses as such).  This should be made much more explicit.

** (Minor:)

Define term "scoped address prefix".
(Maybe a section on terms would be useful; this could also be used to
expand the many unexplained abbreviations used.)

Last paragraph of 5 gives a "MUST be implemented" to Rule 2 only.
-> expressio unius est exclusio alterius
So clearly there is no MUST for the other rules?

** (Nit:)

2.1, in the paragraph "One effect", clarify that the document at this
point hasn't said everything that is needed to derive this.  As in:
"As will become apparent later, ..."

3.1 could be explicit instead of being posed as a riddle.

5, 6: Saying every single rule twice (once for xA re xB and then for
xB re xA) is tiring.