Re: [dhcwg] RFC2131 - option multiple times - which ones ?

"David W. Hankins" <David_Hankins@isc.org> Fri, 11 March 2005 16:53 UTC

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 LAA13609 for <dhcwg-web-archive@ietf.org>; Fri, 11 Mar 2005 11:53:05 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1D9nQt-0005cc-Su for dhcwg-web-archive@ietf.org; Fri, 11 Mar 2005 11:56:16 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1D9nK7-0006Q2-79; Fri, 11 Mar 2005 11:49:15 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1D9nK5-0006Pw-Ml for dhcwg@megatron.ietf.org; Fri, 11 Mar 2005 11:49:13 -0500
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 LAA13152 for <dhcwg@ietf.org>; Fri, 11 Mar 2005 11:49:11 -0500 (EST)
Received: from farside.isc.org ([204.152.187.5]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1D9nN7-0005QD-AF for dhcwg@ietf.org; Fri, 11 Mar 2005 11:52:22 -0500
Received: by farside.isc.org (Postfix, from userid 10200) id 94615677FC; Fri, 11 Mar 2005 16:49:10 +0000 (UTC)
Date: Fri, 11 Mar 2005 16:49:10 +0000
From: "David W. Hankins" <David_Hankins@isc.org>
To: Grubmair Peter <peter.grubmair@siemens.com>
Subject: Re: [dhcwg] RFC2131 - option multiple times - which ones ?
Message-ID: <20050311164910.GA61141@isc.org>
References: <4D50D5110555D5119F270800062B41650532AD00@viee10pa.erd.siemens.at>
Mime-Version: 1.0
In-Reply-To: <4D50D5110555D5119F270800062B41650532AD00@viee10pa.erd.siemens.at>
User-Agent: Mutt/1.4.2.1i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 538aad3a3c4f01d8b6a6477ca4248793
Cc: "Dhcwg (dhcwg@ietf.org)" <dhcwg@ietf.org>
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>
Content-Type: multipart/mixed; boundary="===============1465992550=="
Sender: dhcwg-bounces@ietf.org
Errors-To: dhcwg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 25620135586de10c627e3628c432b04a

On Fri, Mar 11, 2005 at 10:12:15AM +0100, Grubmair Peter wrote:
> I interpreted it like this:
>   The rule is, that a specific option may appear only once in
>   a dhcp message.
>   The exception from this rule is, that the option document (RFC2132 or
> other)
>   tells , that the option may appear multiple times.
>   Then the multiple instances of the option have to be concatenated into
>   one instance before interpretation.

That is a perfectly reasonable interpretation considering the poor choice of
words in that section of the RFC, but not what I judge to be the intent.

Here's the way I wish it read:

	Any option MUST only appear once after processing.  During
	processing, if multiple instances of an option are encountered,
	they MUST be concatenated to form one option data block before
	the option's contents are evaluated.

>   I think all options using charackter strings or lists (of ip addresses)
> may
>   be split during send and have to be concatenated during reception
>  , but RFC2132 tells nothing about this.

The content of the option is unimportant at this layer of processing.  Any
option with a length greater than one MAY be split up.  Realistically
clients and servers only do this if option data is longer than 255 bytes,
or if they need to perform option overloading.

-- 
David W. Hankins		"If you don't do it right the first time,
Operations Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg