Re: [netmod] 6021 ipv4-prefix

tom petch <ietfc@btconnect.com> Sat, 27 April 2019 12:23 UTC

Return-Path: <ietfc@btconnect.com>
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 7C1591201E7 for <netmod@ietfa.amsl.com>; Sat, 27 Apr 2019 05:23:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.247
X-Spam-Level:
X-Spam-Status: No, score=0.247 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 Jxpj89Y6Bhlu for <netmod@ietfa.amsl.com>; Sat, 27 Apr 2019 05:23:08 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00129.outbound.protection.outlook.com [40.107.0.129]) (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 57E1B1201DE for <netmod@ietf.org>; Sat, 27 Apr 2019 05:23:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mqPwjNrpYaGCIF9cmapmxsPJaoINsLbsg+LPsUUxv1w=; b=E6LoNpvqN6/2klkq+z/lFZMRaFL9mbLFCQ9XpwaPJU728qzDgrnlDy7uTIO2iDEhexYJaMdYtqBjZPnWiPly+u/xf90GOOSeSYXP/S00i3l1pamI3VRLlm36LvOj1rECXs6Xxdoc30NDx6O7jJYEOHSFq4yeyEHeNwpQgGdKL0w=
Received: from DB7PR07MB5562.eurprd07.prod.outlook.com (20.178.46.212) by DB7PR07MB4586.eurprd07.prod.outlook.com (52.135.141.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.6; Sat, 27 Apr 2019 12:23:05 +0000
Received: from DB7PR07MB5562.eurprd07.prod.outlook.com ([fe80::b564:4914:b2d2:d219]) by DB7PR07MB5562.eurprd07.prod.outlook.com ([fe80::b564:4914:b2d2:d219%5]) with mapi id 15.20.1856.007; Sat, 27 Apr 2019 12:23:05 +0000
From: tom petch <ietfc@btconnect.com>
To: "netmod@ietf.org" <netmod@ietf.org>, Kristian Larsson <kristian@spritelink.net>
Thread-Topic: [netmod] 6021 ipv4-prefix
Thread-Index: AQHU/PP2fgRKaDaeOkmupdNC+ailtA==
Date: Sat, 27 Apr 2019 12:23:05 +0000
Message-ID: <045501d4fcf3$7f627b40$4001a8c0@gateway.2wire.net>
References: <003301d4f498$4f593640$ee0ba2c0$@gmail.com> <alpine.DEB.2.20.1904180906360.3490@uplift.swm.pp.se> <20190418080643.gcdi5x4dtn64adwc@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904181128480.3490@uplift.swm.pp.se> <20190418102604.y5wyqflcudiywj2i@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904181251000.3490@uplift.swm.pp.se> <20190418111241.5csf5kkgwgxwtsnm@anna.jacobs.jacobs-university.de> <227a2452-69f9-6786-2643-822e70dc636d@spritelink.net> <20190425215134.pabdl3bbbjoivbaj@anna.jacobs.jacobs-university.de> <01894841-bbf5-ce19-1a60-4737bc717311@spritelink.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0216.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::36) To DB7PR07MB5562.eurprd07.prod.outlook.com (2603:10a6:10:7b::20)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.215.234]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bfee7363-dace-4b65-e275-08d6cb0b1942
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:DB7PR07MB4586;
x-ms-traffictypediagnostic: DB7PR07MB4586:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <DB7PR07MB4586F143A3C63A14CA94D231A03F0@DB7PR07MB4586.eurprd07.prod.outlook.com>
x-forefront-prvs: 0020414413
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(346002)(39860400002)(396003)(376002)(13464003)(199004)(189003)(81156014)(316002)(229853002)(14496001)(52116002)(68736007)(81166006)(6116002)(99286004)(81816011)(50226002)(81686011)(93886005)(26005)(8676002)(110136005)(8936002)(14444005)(1556002)(61296003)(2501003)(4720700003)(256004)(6486002)(7736002)(3846002)(44736005)(305945005)(76176011)(6512007)(66066001)(62236002)(44716002)(6306002)(9686003)(64756008)(71190400001)(66476007)(476003)(66446008)(6436002)(66946007)(73956011)(66556008)(6506007)(5660300002)(86362001)(97736004)(25786009)(71200400001)(86152003)(6246003)(53936002)(84392002)(486006)(966005)(102836004)(14454004)(446003)(478600001)(386003)(186003)(53546011)(2906002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB4586; H:DB7PR07MB5562.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: H2K0017PsOX4tJITgiSuGKWhaRSVdBxTSbpuOa9XhIQW6ysxlLTLAt+V4eyUTHjnXNIrHc0SCH0SRoYrQ4fVNjBvLzNQrvLM3LGpck+SPT+ZmU9TLSPmgm2x9Lc7Sq4c5JBL562A7TtBkvFSWRX4YrjDxh6DAqPtH6OsihGgWjkEt3my/NCALPKAyVcgkMQvtWl4VABA5mJHN0Z21kDQt8Ow9h0j2Ku+Gkqry/IZMSaynUgCZbpKcnVFNY/ZZquIlDyDn2/sojZF4j1PHc6cSR6YHKH4ikoL0ej7GGAqVURDWHtiTBIfiTBIaPql6q0O9aOoXrXzGTVn6L2axLZmbRGmj5UjZIRsAv2KI/PYECOrrsfsOL8/DINHqMLyL6lAS1vZ/gny9BY6TZ/W+qLuyto9ABm72zWvXZ84IqYRQSA=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <2F26062ED418584C85FDBAC577FBD726@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bfee7363-dace-4b65-e275-08d6cb0b1942
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2019 12:23:05.1564 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4586
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nRI6H56LRB6sj8I3NoAPw-R0s2Y>
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: Sat, 27 Apr 2019 12:23:11 -0000

----- Original Message -----
From: "Kristian Larsson" <kristian@spritelink.net>
Sent: Thursday, April 25, 2019 11:07 PM

> On 2019-04-25 23:51, Juergen Schoenwaelder wrote:
> > On Thu, Apr 25, 2019 at 11:20:57PM +0200, Kristian Larsson wrote:
> >> On 2019-04-18 13:12, Juergen Schoenwaelder wrote:
> >>> On Thu, Apr 18, 2019 at 12:53:22PM +0200, Mikael Abrahamsson
wrote:
> >>>> On Thu, 18 Apr 2019, Juergen Schoenwaelder wrote:
> >>>>> On Thu, Apr 18, 2019 at 11:43:05AM +0200, Mikael Abrahamsson
wrote:
> >>>>> +17.4 is not an integer, so this is an error (not because of the
+ but
> >>>>> because of the . followed by additional digits). +17 is I think
a valid
> >>>>> integer value but the + will be dropped in the canonical
representation.
> >>>>
> >>>> Yes, but 2001:db8::1/64 isn't valid prefix (because the host
portion of the
> >>>> prefix isn't 0) so why should it be "rounded" when 17.4 shouldn't
be rounded
> >>>> if an integer input is expected?
> >>>
> >>> The non-prefix bits are irrelevant for the prefix and the
canonical
> >>> format has the non-prefix bits all set to zero. I understand that
you
> >>> prefer 2001:db8::1/64 to be an error but RFC 6021 and RFC 6991
> >>> consider this as valid input that can be safely interpreted to
mean
> >>> 2001:db8::0/64.
> >>
> >> Vice versa, if an implementation does treat 2001:db8::1/64 as a
syntax
> >> error, is that implementation incorrect?
> >>
> >
> > I think so. The types do not require that non-prefix bits are zero
> > when a value is received. However, a server must report the
canonical
> > value, in this case 2001:db8::/64.
>
> Cisco NSO treats 2001:db8::1/64 as a syntax error for a leaf of type
> ip-prefix (or ip6-prefix).
>
> It would be interesting to hear Martins opinion on this.

Kristian

No way can I approach being Martin but ..

this topic has been active on the 6man list and to some extent on the
main IETF list with one very active participant arguing that because
widely-used implementations allow something that the RFC does not
(making use of the 64 zero bits of fe80::/10) then the RFC is wrong and
should be changed.  Happily this seems to be a minority view but, like a
hydra, the thread keeps coming back to life in another form see e.g.

Re: encoding link ID in link-local addrs
Re: about violation of standards
Globally Unique Link Local Addresses
mailing list activity
who should try to explain
who shouuld update

even

Re: [Technical Errata Reported] RFC7421 (5699)

In fact almost any post to 6man in the past 10 days (of which there are
many)

Tom Petch

> Kind regards,
>     Kristian.
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod