Re: [netmod] 6021 ipv4-prefix
Mikael Abrahamsson <swmike@swm.pp.se> Wed, 01 May 2019 08:58 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 D7C841200B2 for <netmod@ietfa.amsl.com>; Wed, 1 May 2019 01:58:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LOTS_OF_MONEY=0.001, 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 KGxMxNyCRsk8 for <netmod@ietfa.amsl.com>; Wed, 1 May 2019 01:58:48 -0700 (PDT)
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 2EF12120041 for <netmod@ietf.org>; Wed, 1 May 2019 01:58:48 -0700 (PDT)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 1D8DBAF; Wed, 1 May 2019 10:58:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1556701126; bh=+zwLdaS1vU676v6OZS2o3zQnx11iTbG3v+R09eeQX7I=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=fM/Y/hp6DuRGslaR6tEZb+HRapNzkOVlqP3u9UTlupuwsbD4hYbzRjOn3ds2RcerM M5rt9ERfCBtuoshZ5sp3VQpt5LdI5ZqyhTrroCiy36vIL4AHEK4Ciut0p6cWTp9E2E KU7igE7WAb9Y9mlzeLEkBjs05UFf5ugZnYyWvbvk=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 1A3999F; Wed, 1 May 2019 10:58:46 +0200 (CEST)
Date: Wed, 01 May 2019 10:58:46 +0200
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
cc: netmod@ietf.org
In-Reply-To: <18711798-25e6-f4f2-8a41-a003c18037c6@alumni.stanford.edu>
Message-ID: <alpine.DEB.2.20.1905011056161.1824@uplift.swm.pp.se>
References: <20190429100213.vukmmbdsz5zlw6w5@anna.jacobs.jacobs-university.de> <bbf252aaca86418ca80b3bf04a910aff@XCH-RCD-007.cisco.com> <20190429103451.yink4bdvvmlh7ohe@anna.jacobs.jacobs-university.de> <c03aa9a27ed544c5be88fd0750d782e3@XCH-RCD-007.cisco.com> <20190429134615.f32zkbia6fqwk3to@anna.jacobs.jacobs-university.de> <b404565930694fd8af93326b5e754a2b@XCH-RCD-007.cisco.com> <0c4265d31adbf208a680f76216cc4bc42c766eae.camel@nic.cz> <959ed1a8092f4798ac0b923384962049@XCH-RCD-007.cisco.com> <20190429153643.oxfcq7ze6ttdihb4@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904300713100.3490@uplift.swm.pp.se> <20190430061737.vvxghxyacd57k73i@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904301038570.3490@uplift.swm.pp.se> <18711798-25e6-f4f2-8a41-a003c18037c6@alumni.stanford.edu>
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/tmhtrID03awDj5Vg0T94N30DRsg>
Subject: Re: [netmod] 6021 ipv4-prefix
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: Wed, 01 May 2019 08:58:50 -0000
On Tue, 30 Apr 2019, Randy Presuhn wrote: > Hi - > > On 4/30/2019 1:46 AM, Mikael Abrahamsson wrote: > .... >> Is it generally ok that the canonical value potentially represents a >> different bit field/value than what the client sent? > .... > > The *value* represented is the same. The sequences of bytes used > to represent that value may be different. Some information sent No. 2001:db8::/64 and 2001:db8::1/64 isn't the same *value*. These are not the same bits set. > by the client may be extraneous to the *value*. Consider the case > of currency values entered into some application. A robust application > won't care whether I enter $1,234,567.89 or 1234567.89 and if it > subsequently chooses to display it as "1.234.567,89 USD" I can't > complain that the value is different, even though several bytes of > my input have clearly been discarded. That's a completely different example. In your example the value is the same, in mine (ipv6-prefix) it isn't. > This situation is hardly unique to netconf. I recall coding for such > situations forty years ago. It has been a fact of life throughout the > history of ASN.1 and especially BER. It will continue to be a > consideration at least as long as folks feel the need to support "human > readable" representations on input. Frankly, I was surprised that > anyone was surprised by this. I have no problem understanding the canonicalization of IPv6 address, because the underlying value doesn't change by canonicalizating it. This is not the case with canonicalizating IPv6-prefix, where the resulting 128 bit field *changes* when you canonicalize it. -- Mikael Abrahamsson email: swmike@swm.pp.se
- [netmod] 6021 ipv4-prefix 7riw77
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Acee Lindem (acee)
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Lou Berger
- Re: [netmod] 6021 ipv4-prefix William Lupton
- Re: [netmod] 6021 ipv4-prefix Acee Lindem (acee)
- Re: [netmod] 6021 ipv4-prefix Kristian Larsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Kristian Larsson
- Re: [netmod] 6021 ipv4-prefix Jeff Tantsura
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Kristian Larsson
- Re: [netmod] 6021 ipv4-prefix Acee Lindem (acee)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Kristian Larsson
- Re: [netmod] 6021 ipv4-prefix Kristian Larsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Acee Lindem (acee)
- Re: [netmod] 6021 ipv4-prefix tom petch
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Martin Bjorklund
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Randy Presuhn
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Juergen Schoenwaelder
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Randy Presuhn
- Re: [netmod] 6021 ipv4-prefix tom petch
- Re: [netmod] 6021 ipv4-prefix Mikael Abrahamsson
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- Re: [netmod] 6021 ipv4-prefix Rob Wilton (rwilton)
- Re: [netmod] 6021 ipv4-prefix Ladislav Lhotka
- [netmod] convert it and not throw an error was Re… tom petch
- Re: [netmod] convert it and not throw an error wa… Christian Hopps