Re: [Idr] WG adoption of draft-heitz-idr-large-community; one week to comment on early code point allocation

"Peter van Dijk" <peter.van.dijk@powerdns.com> Sun, 25 September 2016 14:02 UTC

Return-Path: <peter.van.dijk@powerdns.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D75DC12B220 for <idr@ietfa.amsl.com>; Sun, 25 Sep 2016 07:02:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 q9hoSSwwTV6K for <idr@ietfa.amsl.com>; Sun, 25 Sep 2016 07:02:43 -0700 (PDT)
Received: from shannon.7bits.nl (shannon.7bits.nl [89.188.0.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A394312B219 for <idr@ietf.org>; Sun, 25 Sep 2016 07:02:43 -0700 (PDT)
Received: from [192.168.137.1] (unknown [IPv6:2001:610:666:0:343d:41ef:b2a4:7cb6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: peter) by shannon.7bits.nl (Postfix) with ESMTPSA id 915D5C1B96; Sun, 25 Sep 2016 16:02:40 +0200 (CEST)
From: Peter van Dijk <peter.van.dijk@powerdns.com>
To: I Don't Remember <idr@ietf.org>
Date: Sun, 25 Sep 2016 16:02:39 +0200
Message-ID: <39659630-CB9B-4BB7-9836-2AED1CEA67D3@powerdns.com>
In-Reply-To: <Pine.LNX.4.58.1609241212001.7586@biereco.slashme.org>
References: <43B423F6-E214-402D-BB29-99C062C46363@juniper.net> <20160924092657.GE1603@Vurt.local> <Pine.LNX.4.58.1609241212001.7586@biereco.slashme.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Mailer: MailMate (1.9.5r5263)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/aeDYKzBLHCFzeWlefrzyWMFpqyY>
Subject: Re: [Idr] WG adoption of draft-heitz-idr-large-community; one week to comment on early code point allocation
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 25 Sep 2016 14:02:46 -0000

Hello Remco,

On 24 Sep 2016, at 12:39, Remco van Mook wrote:

>> 2) Does the section 3 'textual representation' wording allow 
>> sufficient
>>    flexibility to accomodate BIRD- or JunOS-style syntax?
>
> Personally, I don't see the merit in requiring all the integers - 
> instead, I
> think it's bad for readability (but then again I might have been 
> exposed to
> IPv6 for too long). I think there's nobody who's going to 
> misunderstand
> 65535::, 65535:1:, 65535::1 or even ::1:2.

For interoperability, management and for software testing, it is best to 
have a single canonical representation. Experience with the IPv6 
‘compression’ feature shows that vendors are unable to implement 
this consistently. Note for example the perl hack in here 
https://github.com/PowerDNS/pdns/blob/master/regression-tests/tests/basic-aaaa-resolution/command 
- this is because OSX (at least in 10.10 which I’m still running) 
*gets it wrong*. If you allow compression like this, even if you specify 
exactly when to compress (which RFC 5952 does a theoretically fine job 
of), vendors will mess it up. Look at your own ‘::1:2’ as an example 
of how confusing compression is especially on such short values. I 
understand why v6 has the compression - you get a heap of zeros in many 
cases. But for large communities we are talking a few zeroes max. Better 
to have a strict canonical format that is as simple as possible.

Also, without compression, there is no chance of mistaking a large 
community for a v6 address. Once you allow compression, is 2001::5 a v6 
address or a large community? Perhaps this is not the strongest point 
but if we can avoid this at zero cost, why not?

In short, the current approach with mandatory zero fields but no leading 
zeros looks sane to me. It is canonical, there is no confusion, and 
vendors should be able to get it right.

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/