Re: [netmod] question regarding IPv6 address format / canonical
Mikael Abrahamsson <swmike@swm.pp.se> Fri, 07 December 2018 08:51 UTC
Return-Path: <swmike@swm.pp.se>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44A3B130DD4 for <netmod@ietfa.amsl.com>; Fri, 7 Dec 2018 00:51:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=swm.pp.se
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 dV4xuTK4VFyC for <netmod@ietfa.amsl.com>; Fri, 7 Dec 2018 00:51:55 -0800 (PST)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EF7C129C6B for <netmod@ietf.org>; Fri, 7 Dec 2018 00:51:55 -0800 (PST)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 5919FAF; Fri, 7 Dec 2018 09:51:53 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1544172713; bh=z07fh7dG7nSqM9bs6rrx6tKYyZoY75tB/De+EYwJEEk=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=bv8X63LwWaJ+ccqIi9uDas1sRqtzGzPo+BUuDsqmDLdq0+iwiuW+Nts7ZkK9UO6/r qwJm5wXWveiEN1bGMrbfTuvYBqhzv4ghJhEUo8gWgeEGe/NSoseMSl3hJ6GVCUQ8P+ u5JT8bVaK4vmY8f128uMgp+37GVBfi5jCNjIdcZ8=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 56FCC9F; Fri, 7 Dec 2018 09:51:53 +0100 (CET)
Date: Fri, 07 Dec 2018 09:51:53 +0100
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Ladislav Lhotka <lhotka@nic.cz>
cc: netmod@ietf.org
In-Reply-To: <5ea8671bd7642bb39732dd60d3077c5642f435a5.camel@nic.cz>
Message-ID: <alpine.DEB.2.20.1812070949190.8891@uplift.swm.pp.se>
References: <alpine.DEB.2.20.1812070913070.8891@uplift.swm.pp.se> <5ea8671bd7642bb39732dd60d3077c5642f435a5.camel@nic.cz>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/hu0Ds5CYlDZxDd2gL9-GrB6Jg4s>
Subject: Re: [netmod] question regarding IPv6 address format / canonical
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2018 08:52:02 -0000
On Fri, 7 Dec 2018, Ladislav Lhotka wrote: > Hi Mikael, > > On Fri, 2018-12-07 at 09:20 +0100, Mikael Abrahamsson wrote: >> Hi, >> >> we've had an interesting interop problem, and we don't know if this is a >> client, server, or just interop problem. However, I thought I'd bring it >> to the attention here. >> >> The server produced an output that was in the format of: >> >> 2a00:db8:1:2:3::5:0 > > Correct - this is the canonical value. "Single all-zero 16-bit chunks are not compressed. " So that doesn't seem like the canonical value to me? >> >> When the client then asked for information about this object it used: >> >> 2a00:db8:1:2:3:0:5:0 This is the canonical value according to my interpretation. >> The netconf server then returned no answer, because it didn't consider >> these to be the same (string match). > > This is a bug in server implementation. Can you please elaborate? What is the bug here? >> >> I have included what I think is relevant text below, it seems the client >> reformatted the address into canonical format. However, the description >> below seems to indicate that all those IPv6 types are ok. If the server >> must use canonical format, is there a MUST somewhere that says so? >> >> What does it mean that something is a "canonical format"? > > It is the value that the server (conceptually) uses internally. See sec. 9.1 in > RFC 7950. Ok, so if the server doesn't re-format and always uses string in the canonical format, that's a clear bug? -- Mikael Abrahamsson email: swmike@swm.pp.se
- [netmod] question regarding IPv6 address format /… Mikael Abrahamsson
- Re: [netmod] question regarding IPv6 address form… Ladislav Lhotka
- Re: [netmod] question regarding IPv6 address form… Mikael Abrahamsson
- Re: [netmod] question regarding IPv6 address form… Juergen Schoenwaelder
- Re: [netmod] question regarding IPv6 address form… Ladislav Lhotka