Re: [dhcwg] behavior on lifetime expiration (Re: comments on draft-ietf-dhc-lifetime-01.txt)

Stig Venaas <Stig.Venaas@uninett.no> Mon, 23 August 2004 15:56 UTC

Received: from megatron.ietf.org (megatron.ietf.org [132.151.6.71]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18262; Mon, 23 Aug 2004 11:56:37 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BzGrE-0006wa-8v; Mon, 23 Aug 2004 11:35:40 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BzGTU-0003pi-7M for dhcwg@megatron.ietf.org; Mon, 23 Aug 2004 11:11:08 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA15397 for <dhcwg@ietf.org>; Mon, 23 Aug 2004 11:11:00 -0400 (EDT)
Received: from tyholt.uninett.no ([158.38.60.10]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1BzGTj-0006vW-DW for dhcwg@ietf.org; Mon, 23 Aug 2004 11:11:24 -0400
Received: from sverresborg.uninett.no (sverresborg.uninett.no [IPv6:2001:700:e000:0:204:75ff:fee4:423b]) by tyholt.uninett.no (8.12.10/8.12.10) with ESMTP id i7NFAN2M018238; Mon, 23 Aug 2004 17:10:23 +0200
Received: (from venaas@localhost) by sverresborg.uninett.no (8.12.8/8.12.8/Submit) id i7NFALKD002632; Mon, 23 Aug 2004 17:10:21 +0200
X-Authentication-Warning: sverresborg.uninett.no: venaas set sender to Stig.Venaas@uninett.no using -f
Date: Mon, 23 Aug 2004 17:10:21 +0200
From: Stig Venaas <Stig.Venaas@uninett.no>
To: Joe Quanaim <jdq@lucent.com>
Subject: Re: [dhcwg] behavior on lifetime expiration (Re: comments on draft-ietf-dhc-lifetime-01.txt)
Message-ID: <20040823151021.GE1105@sverresborg.uninett.no>
References: <y7vhdrl56ol.wl@ocean.jinmei.org> <20040803033357.GA20506@sverresborg.uninett.no> <y7veklyqkbx.wl@ocean.jinmei.org> <200408231045.02340.jdq@lucent.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <200408231045.02340.jdq@lucent.com>
User-Agent: Mutt/1.4.1i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 14582b0692e7f70ce7111d04db3781c8
Cc: dhcwg@ietf.org, tjc@ecs.soton.ac.uk
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: dhcwg.ietf.org
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
Sender: dhcwg-bounces@ietf.org
Errors-To: dhcwg-bounces@ietf.org

On Mon, Aug 23, 2004 at 10:45:02AM -0400, Joe Quanaim wrote:
> JINMEI Tatuya / ???????????? wrote:
> > (Sorry for the delay in response)
> >
> > I've changed the title since I'm concentrating on this particular
> > issue.
> >
> > Instead of making a response to each sub-issue (attached below), let
> > me raise a more fundamental concern.
> >
> > Perhaps I'm just pedantic, but the current behavior of the lifetime
> > option, however clearly it is defined, does not sound like a
> > "lifetime" that I would envision.  To me, if a lifetime of some
> > information expires, the information should be invalid (in some
> > sense).  But the current behavior described in dhc-lifetime-01 does
> > not seem to invalidate the information in any way; the "lifetime"
> > would rather seem like an "update timer" or something.
> > One obvious "fix" to this is to change the option name to something
> > like "Information Update Timer" option (too long?).

Yes, the term lifetime is a bit misleading. I'm open for
suggestions for other names.

> > However, I personally would like to leave the possibility of
> > invalidating the information on lifetime expiry.  With this sense I'd
> > imagine something like this:

I don't see why you would want that.

> > - the option name ("lifetime option") is the same
> > - the client starts re-sending Information-Requests at some point in
> >   time to the expiration.  (e.g. a half of the lifetime)
> > - even if the clients cannot get a response by the expiration, it
> >   should continue sending Information-requests.  However, it can also
> >   invalidate the expired information in some way, e.g., by preferring
> >   a "last resort" default or by using other means of configuration.
> >
> > What do others think?
> 
> I also noticed the difference in semantics for this option versus address 
> lifetimes.
> 
> If the lifetime option means that any option associated with it is no longer 
> valid at expiration, then a client needs to start the message exchange before 
> the lifetime expires.  Otherwise, normal processing will leave a client 
> system without critical information (probably dns) for a second or two under 
> normal processing.

Yes, that is no good.

> For example, when the lifetime expires, the options associated with it will be 
> removed from system configuration by the client.  The client then restarts 
> the message exchange including a delay for sending.  If all goes well, the 
> client receives a response and updates the system.  During the exchange, most 
> applications will have problems even if there have been no network changes.
> 
> If the lifetime option simply represents a timer to update the associated 
> options, this problem goes away.  The previously configured values can remain 
> in place while an exchange takes places.  After the exchange the system can 
> be updated, if necessary.
> 
> I read the lifetime option as a timer.  I did it this way defensively, since 
> it does not introduce (short lived) breakage.
> 
> Perhaps, as you suggested,  the better fix is to use half the lifetime option 
> as a sort of t1 value.  This brings it inline with address lifetime 
> semantics.  This would require some rewording of the draft.

I don't like this, sounds more complex than we need.
> 
> Also, if this change is made, it is probably more important to specify a 
> minimum lifetime value so that half the configured lifetime does not cause a 
> significant change in network usage.  Bernie Volz has mentioned this already.
> 
> Thanks for bringing up this issue.

I feel strongly that it should only tell the client when it should
try to update the info (like t1 I guess). But the client should
keep the info while it keeps trying to update the info. As I
understand the DHCP spec, it will keep retransmitting the
Information-Request indefinitely if necessary, which means that
the config data also might be kept indefinitely.

Of course there could be other reasons for the client to remove
configuration, the lifetime spec shouldn't prevent that either.
But that would be completely independent of the lifetime option.

The reason we want the option, is to have some control of when a
client tries to update its info. We're trying to solve problem
stated in the problem statement. The point is not to ensure
stateless info is removed at the host. Why would you want that?

I agree the name is misleading. The draft should make clear what
it is, but another name might help.

Stig

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg