Re: [dhcwg] Valid values for DHCPv6 option 18 (Interface ID)

Simon Hobson <linux@thehobsons.co.uk> Wed, 12 March 2014 10:51 UTC

Return-Path: <linux@thehobsons.co.uk>
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 992A01A0947 for <dhcwg@ietfa.amsl.com>; Wed, 12 Mar 2014 03:51:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level:
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] autolearn=ham
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 fwu2qRh0t6LL for <dhcwg@ietfa.amsl.com>; Wed, 12 Mar 2014 03:51:02 -0700 (PDT)
Received: from patsy.thehobsons.co.uk (patsy.thehobsons.co.uk [81.174.135.208]) by ietfa.amsl.com (Postfix) with ESMTP id 41DA81A0955 for <dhcwg@ietf.org>; Wed, 12 Mar 2014 03:50:59 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at patsy.thehobsons.co.uk
Received: from [192.168.1.22] (intfw.furness.net [195.8.169.45]) by patsy.thehobsons.co.uk (Postfix) with ESMTPSA id 8FA801A072 for <dhcwg@ietf.org>; Wed, 12 Mar 2014 10:50:48 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Simon Hobson <linux@thehobsons.co.uk>
In-Reply-To: <CAL10_Bqd48O4TpS4CWCW7rebjAiaoxfGWBy1ZYy-11AvY0iMnw@mail.gmail.com>
Date: Wed, 12 Mar 2014 10:50:45 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <778EE7E5-4236-45AF-ACB2-0665A32D0A24@thehobsons.co.uk>
References: <CAL10_Bqd48O4TpS4CWCW7rebjAiaoxfGWBy1ZYy-11AvY0iMnw@mail.gmail.com>
To: dhcwg@ietf.org
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/dhcwg/2S79CU0jT74fVPb1YwXCiP79Pqw
Subject: Re: [dhcwg] Valid values for DHCPv6 option 18 (Interface ID)
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: Wed, 12 Mar 2014 10:51:04 -0000

Andre Kostur <akostur@incognito.com> wrote:

> Has there been any changes as to how option 18 has been defined by us?
> I'm running into certain programs (Wireshark, in particular) and
> devices that appear to be doing both:
> - Assuming it's printable
> - Interpreting the content
> 
> Both appear to be strongly discouraged by 3315:
> 
>   The Interface-ID SHOULD be considered an opaque value, with policies
>   based on exact match only; that is, the Interface-ID SHOULD NOT be
>   internally parsed by the server.
> 
> According to my interpretation, that says that one should neither be
> attempting to interpret the contents, nor try to display it as a
> string.

I don't think the two are mutually exclusive.
The text you quote is about how the value is used for processing - ie you should not be looking into the value and using a subset of it for (eg) selecting address allocation policies.

Wireshark is a diagnostic tool, it make complete sense to display the content of packets/fields - that is the purpose of the tool. Just because we aren't allowed to delve into a field for processing purposes doesn't make the showing of the contents of that field invalid for diagnostic purposes.
It shouldn't be assuming a printable string though, and should take care to only use display safe methods (eg hex encode non-printable octets).