[storm] iSCSI: Protocol extension items

<david.black@emc.com> Fri, 29 June 2012 18:57 UTC

Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C5AC21F886A for <storm@ietfa.amsl.com>; Fri, 29 Jun 2012 11:57:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.558
X-Spam-Level:
X-Spam-Status: No, score=-103.558 tagged_above=-999 required=5 tests=[AWL=1.041, BAYES_00=-2.599, GB_I_LETTER=-2, 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 iPO7-I4QqIA5 for <storm@ietfa.amsl.com>; Fri, 29 Jun 2012 11:57:24 -0700 (PDT)
Received: from mexforward.lss.emc.com (hop-nat-141.emc.com [168.159.213.141]) by ietfa.amsl.com (Postfix) with ESMTP id 3976E21F8868 for <storm@ietf.org>; Fri, 29 Jun 2012 11:57:23 -0700 (PDT)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q5TIvIwJ021469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <storm@ietf.org>; Fri, 29 Jun 2012 14:57:22 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.130]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor) for <storm@ietf.org>; Fri, 29 Jun 2012 14:56:56 -0400
Received: from mxhub02.corp.emc.com (mxhub02.corp.emc.com [10.254.141.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q5TIuup8000346 for <storm@ietf.org>; Fri, 29 Jun 2012 14:56:56 -0400
Received: from mx15a.corp.emc.com ([169.254.1.189]) by mxhub02.corp.emc.com ([10.254.141.104]) with mapi; Fri, 29 Jun 2012 14:56:56 -0400
From: david.black@emc.com
To: storm@ietf.org
Importance: high
X-Priority: 1
Date: Fri, 29 Jun 2012 14:56:54 -0400
Thread-Topic: iSCSI: Protocol extension items
Thread-Index: Ac1WKPOAo6f8UxMERK2SRvioM8mwng==
Message-ID: <8D3D17ACE214DC429325B2B98F3AE71208D3A987@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: [storm] iSCSI: Protocol extension items
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jun 2012 18:57:25 -0000

<WG chair hat on>

The recent publication of RFC 6648 requires that we make some changes
to negotiation of iSCSI protocol extensions.  This email explains why
changes are needed, describes what appears to be necessary and summarizes
the proposed detailed changes to requirements.

These proposed changes are to be made in the consolidated iSCSI draft,
and hence will apply to existing implementations. These proposed changes
should be backwards compatible with existing implementations, although
implementers should comment, especially on whether the migration from
X- to V- as the prefix for newly defined private extension text keys is
likely to cause problems.  An example of such a problem is - receipt
of a key using the V- format is likely to generate a protocol error
instead of a NotUnderstood response to the V- new key.

Existing X- private use text keys are *not affected* by these proposed
changes, and can continue to be used.

<WG chair hat off>
<Draft co-author hat on>

iSCSI currently allows extension text keys (for negotiation), digest
(checksum) algorithms and authentication methods to be defined using
X, Y and Z (respectively) as the first character of the identifier.
In each case, there are two defined formats, e.g., for text keys:

  X-reversed.vendor.dns_name.do_something  [dash-based]
  X<#><IANA-registered-string>             [hash-based]

The dash-based form (X-) is for private parameters, the hash-based
form (X#) is for public parameters registered with IANA.

RFC 6648 has recently been published.  To borrow a line from Sesame Street,
this RFC was brought to you by the letter X ;-). That RFC strongly recommends
against use of the letter X in this fashion for non-private parameters,
and similarly discourages analogous prefixes that do not contain the letter
X.  For iSCSI, RFC 6648 applies to the X#, Y# and Z# formats.

The history to date of use of the X#, Y# and Z# formats is that there has
been exactly one use, X#NodeArchitecture, which wound up being standardized
as a fully standard key.  That full standardization is an example of why
RFC 6648 recommends not using an X-based prefix for public parameters - if
the parameter is successful, it will become part of the standard. Hence the
proposed approach is to retire the hash-based formats (MUST NOT use) for
public extensions with the exception that the X#NodeArchitecture key needs
to be preserved.

It is still highly desirable to keep the dash-based formats (e.g., Y-) in
order to cleanly separate the private and public namespaces for each of these
extension items.  Among the reasons for doing so is that IANA is in the process
of authorizing a number of new top-level domains that will make it somewhat
harder to recognize a reversed domain name.

Nonetheless, in keeping with the spirit of RFC 6648, it seems prudent to
encourage use of a prefix other than X- for new text keys, without doing
anything to break current X- text keys.  V- is suggested as the new prefix
(V can be thought of a short for "vendor").  OTOH, if this will break existing
implementations, it's a bad idea (and we'll need to stick with X-) - see
the first part of this email.  

The following approach is therefore currently proposed:

1. Existing private X-keys may continue to remain private as before.
    However, new private keys SHOULD NOT use the X- prefix in keeping
    with [RFC6648]. Instead, new keys SHOULD start with a "V-" prefix,
    followed by a reversed domain name, e.g. V-com.example.do_something

    Note: If IANA registers something starting with V- as a new top
    level domain, this approach still works because the V- prefix is
    always added.  For example, if V-org is a new top level domain,
    an iSCSI text key for example.v-org would have the form
    V-V-org.example.do_something, which is clearly identifiable as
    a private extension key, even under case-insensitive character
    string processing.

2. Each new public key in the course of standardization MUST define the
    acceptable responses to the key, including NotUnderstood as
    appropriate. There is no need for a standard name prefix for keys
    that allow NotUnderstood response.  Note that NotUnderstood will
    generally have to be allowed for new public keys for backwards
    compatibility.

3. Thus the name prefix "X#" in new public key names does not carry any
    significance. New public key names MUST NOT begin with "X#" prefix
    to avoid confusion.

4. The existing public X# key - X#NodeArchitecture - will remain unchanged.

5. Based on our decade-long iSCSI usage experience, we know that Y# and
    Z# name prefixes, for digest and authentication method extensions
    respectively, were never used in practice. Similar to X# name prefix
    for keys, there is no need for this namespace separation either. So
    for the same reasons cited as for X# prefix, new digest and
    authentication method extensions MUST NOT respectively use Y# and Z#
    name prefixes.

6. Private digest and authentication method extensions can continue to
    respectively use Y- and Z- prefixes as in the current specification.

7. IANA will be requested to do the following:
	- Move X#NodeArchitecture to the iSCSI Login/Text Keys registry
	- Remove the iSCSI extended key registry
	- Not accept registrations of Y# extended digest algorithms or
		Z# extended authentication methods (and hence not create
		registries for these extension items).

Please comment, particularly on whether moving from X- to V- for new
text keys is likely to cause problems.

Thanks,
--David
----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
david.black@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------