[dhcwg] DHCPv4 - definition of maximum message size.

Simon Kelley <simon@thekelleys.org.uk> Fri, 06 May 2005 11:12 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DU0kZ-0002bW-Sf; Fri, 06 May 2005 07:12:07 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DU0kX-0002aF-Qg for dhcwg@megatron.ietf.org; Fri, 06 May 2005 07:12:05 -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 HAA29976 for <dhcwg@ietf.org>; Fri, 6 May 2005 07:12:02 -0400 (EDT)
Received: from cpc4-cmbg4-4-0-cust135.cmbg.cable.ntl.com ([81.108.205.135] helo=thekelleys.org.uk) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1DU0z1-0003nK-0B for dhcwg@ietf.org; Fri, 06 May 2005 07:27:04 -0400
Received: from central ([192.168.0.4] helo=[127.0.0.1]) by thekelleys.org.uk with esmtp (Exim 3.35 #1 (Debian)) id 1DU0kI-0006LX-00 for <dhcwg@ietf.org>; Fri, 06 May 2005 12:11:50 +0100
Message-ID: <427B506B.1050005@thekelleys.org.uk>
Date: Fri, 06 May 2005 12:09:31 +0100
From: Simon Kelley <simon@thekelleys.org.uk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
X-Accept-Language: en
MIME-Version: 1.0
To: dhcwg@ietf.org
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.6 (++)
X-Scan-Signature: 798b2e660f1819ae38035ac1d8d5e3ab
Content-Transfer-Encoding: 7bit
Subject: [dhcwg] DHCPv4 - definition of maximum message size.
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

Does the value in "maximum message size" option (option code 56) include 
the IP and UDP headers?

Neither RFC2131 or RFC2132 ever state this explicitly, but they are 
self-consistent if it's the case. RFC2132 states that the minimum legal 
value is 576 octets, which equals IP header + UDP header + fixed DHCP 
fields + the minimum 312 octet options field specified in RFC2131.

I ask because I've just come across a client which advertises a maximum 
message size of 548. Presumably this is broken, and there's a chance 
that the client is also misinterpreting a "576" maximum message size 
option _from_ a DHCP server  and could potentially try and use 28 bytes 
that the server cannot receive.

If the wise ones here can confirm that this really is an RFC violation, 
I'll submit a bug report to the vendor of the client.

Cheers,

Simon.



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