[dhcwg] VIV*O options.
"David W. Hankins" <David_Hankins@isc.org> Wed, 17 May 2006 18:58 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FgRDc-0004yB-MN; Wed, 17 May 2006 14:58:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FgRDb-0004y6-8i for dhcwg@ietf.org; Wed, 17 May 2006 14:57:59 -0400
Received: from kaboom.isc.org ([204.152.187.72]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FgRDa-0001qn-05 for dhcwg@ietf.org; Wed, 17 May 2006 14:57:59 -0400
Received: by kaboom.isc.org (Postfix, from userid 10200) id DEBC0200034; Wed, 17 May 2006 11:57:46 -0700 (PDT)
Date: Wed, 17 May 2006 11:57:46 -0700
From: "David W. Hankins" <David_Hankins@isc.org>
To: dhcwg@ietf.org
Message-ID: <20060517185746.GG5002@isc.org>
Mime-Version: 1.0
User-Agent: Mutt/1.5.9i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Subject: [dhcwg] VIV*O options.
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="===============0564099186=="
Errors-To: dhcwg-bounces@ietf.org
Does anyone know of a client or server that has implemented VIV*O (RFC3925)? I'm looking for targets for interoperability testing. RFC4243 relay agents would be interesting too. While looking at this, I had to come to grips with a minor code reuse problem I'd like to solicit opinions on. We currently use the same code to dissect the options buffer as we do any encapsulated space (so, VIV*O would use this as well). This loop that traverses options looks for PAD and END options, which RFC 3925 explicitly states are not special cases, with no special handling. Unless I'm mistaken, RFC 4243 makes no mention. That means I get to add more instructions to this loop, or write a new loop, neither of which I particularly fancy. However, enterprise id 0 is reserved according to IANA, which I take to mean is an illegal value, so it shouldn't appear in packets at all. My most-code-reused solution, then, is to use 0x00000000 as both PAD and END options for this encapsulated space (END trumps PAD, so this causes the server to stop processing the buffer if it's encountered - a zero is effectively an error condition). That would be true for any encapsulated space with no defined END option. What are folks opinions on this approach, not just for VIV*O, but for encapsulated spaces in general? -- David W. Hankins "If you don't do it right the first time, Software 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
- [dhcwg] VIV*O options. David W. Hankins
- Re: [dhcwg] VIV*O options. Andre Kostur
- Re: [dhcwg] VIV*O options. David W. Hankins
- Re: [dhcwg] VIV*O options. Bud Millwood
- Re: [dhcwg] VIV*O options. peter_blatherwick