Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-stateful-issues-06.txt

神明達哉 <jinmei@wide.ad.jp> Mon, 07 July 2014 18:31 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 189241A02D5 for <dhcwg@ietfa.amsl.com>; Mon, 7 Jul 2014 11:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level:
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=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 LD5xMoGaixYp for <dhcwg@ietfa.amsl.com>; Mon, 7 Jul 2014 11:31:04 -0700 (PDT)
Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E17841A0305 for <dhcwg@ietf.org>; Mon, 7 Jul 2014 11:31:03 -0700 (PDT)
Received: by mail-wg0-f51.google.com with SMTP id y10so68033wgg.22 for <dhcwg@ietf.org>; Mon, 07 Jul 2014 11:31:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=HvMpa1lfU5RnpcyRxZK7piTfsIwgYCM20Onabbd6oyk=; b=sQCVl9MlxVrc06Dto0fmeh9aM1BYO7+ISDDw0OpCBhgKIG2LUp3STWy2qU5pGWk3Is C95/mjkvcM3kg6IaPy9GUxKEnJ/oanYZbjVJcPhEjwtPnRp5TjXBn1Dd11XOv7wOaf3x mdAD/E+anQooMTlnHRDLlvo1lVoLcAwcDavCPFNOtkeKnlRJDs/wG2+ojR6Ece3DKSc6 RA4M2D7/JDTdyijmgwP0Vf77dHbX1ekzfLd6eqzfp686sILR3NU/2q6TceFGm5iSoVtC YvnIiuVOAPtKPzWVE8SfBqfsOT+nw91Un72Y/l9Mc/FV0iq88OZg+jU82CAdinT1QMER r9AA==
MIME-Version: 1.0
X-Received: by 10.194.185.238 with SMTP id ff14mr34913549wjc.9.1404757862401; Mon, 07 Jul 2014 11:31:02 -0700 (PDT)
Sender: jinmei.tatuya@gmail.com
Received: by 10.194.63.211 with HTTP; Mon, 7 Jul 2014 11:31:02 -0700 (PDT)
In-Reply-To: <489D13FBFA9B3E41812EA89F188F018E1B5E859E@xmb-rcd-x04.cisco.com>
References: <20140630163351.4191.69719.idtracker@ietfa.amsl.com> <489D13FBFA9B3E41812EA89F188F018E1B5E03D1@xmb-rcd-x04.cisco.com> <CAJE_bqej-pOHbdfDRwTTUJiLUZXjn-Q3GJ3ZdxG6HvEi35ojDA@mail.gmail.com> <489D13FBFA9B3E41812EA89F188F018E1B5E859E@xmb-rcd-x04.cisco.com>
Date: Mon, 07 Jul 2014 11:31:02 -0700
X-Google-Sender-Auth: KSDCaA3IKMndykHcnRY4D2c4zJA
Message-ID: <CAJE_bqeWLVsU6Wc+YDM_9XV-QmK_a3NnOnJEUTEf7ntUOETFOA@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
To: "Bernie Volz (volz)" <volz@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/dhcwg/--nRKePpz4N3LcZGVlqmD19N_0U
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-stateful-issues-06.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jul 2014 18:31:05 -0000

At Thu, 3 Jul 2014 18:26:10 +0000,
"Bernie Volz (volz)" <volz@cisco.com> wrote:

> Yes, that is the one issue with changing the status codes - it breaks backwards compatibility. However, we already have changes that technically break this (such as the Advertise status codes). The risk for these changes should be fairly small as (1) clients are hopefully robust enough that they will handle unknown/unexpected status codes and either 'ignore' the binding (since it contains no addresses/prefixes) or restart at Solicit and (2) these are edge cases that may not have been well tested in all cases and are likely to occur rarely (i.e., mostly impact Rebinds when 'new' bindings appear which are probably not that common).

I've thought this original behavior of RFC3315 intended recovery from
a server crash.  If a server crashes due to unexpected power cycle, a
serious implementation bug, etc, and forgets all bindings it assigned
before the crash, then the server will eventually receive a Renew (or
Rebind) from clients that it previously served but "the server cannot
find a client entry" (quoting 18.2.3 of RFC3315).  With the original
behavior, the server returns NoBindng, and the client will react to it
by sending a Request.  The server would probably be able to create the
same binding(s) for the Request as it previously did, in which case
the server crash is almost an opaque event for the client('s user).

If the server returns NoAddrsAvail, and the client behaves similar to
WIDE DHCPv6, however, the client will just ignore the Renew (and
subsequently Rebind), and end up with using the "dangling" binding for
much longer, increasing the risk of letting that binding be assigned
to some other client.

A server crash would be a rare event, but shouldn't be that rare that
we cannot ignore IMO.  So I'd be more careful if we change how to
handle such cases.

--
JINMEI, Tatuya