Re: encoding link ID in link-local addrs (Re: about violation of standards)

Alexandre Petrescu <alexandre.petrescu@gmail.com> Thu, 25 April 2019 07:41 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8730A12007A for <ipv6@ietfa.amsl.com>; Thu, 25 Apr 2019 00:41:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.633
X-Spam-Level:
X-Spam-Status: No, score=-2.633 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665] 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 ykLUeNxcgRHI for <ipv6@ietfa.amsl.com>; Thu, 25 Apr 2019 00:41:46 -0700 (PDT)
Received: from oxalide-smtp-out.extra.cea.fr (oxalide-smtp-out.extra.cea.fr [132.168.224.13]) (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 E5AAD120075 for <ipv6@ietf.org>; Thu, 25 Apr 2019 00:41:45 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3P7favb187131; Thu, 25 Apr 2019 09:41:36 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 26EC220236E; Thu, 25 Apr 2019 09:41:36 +0200 (CEST)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 147B72021B4; Thu, 25 Apr 2019 09:41:36 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3P7fZx0016298; Thu, 25 Apr 2019 09:41:36 +0200
Subject: Re: encoding link ID in link-local addrs (Re: about violation of standards)
To: 神明達哉 <jinmei@wide.ad.jp>, Ole Troan <otroan@employees.org>
Cc: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, IPv6 <ipv6@ietf.org>
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com> <CAJE_bqd9frqX5-yeVPj8MYXpZ4737HqK1gmfD9cQV3A-Ea5HrQ@mail.gmail.com> <6bd5db47-408a-727e-5c13-f34a3465f986@si6networks.com> <CAJE_bqfTLqRbLp4fLu2ASZuZ+4G5c2G+RXkO92kXfLgPTqBnng@mail.gmail.com> <EEF00EA7-2AAF-403F-99AD-1D53ED18E8B3@cisco.com> <CAJE_bqe8OXPWRDvXEY66gZHiBgv37OV67YB27WoEtq_VmBqieQ@mail.gmail.com> <3F852B26-FD19-445D-A8E9-94BCBB9BE7C1@gmail.com> <455C3D20-E71B-4DF4-837E-081964E3328A@gmail.com> <19275484-3fa5-7c4e-3624-b861ddea6e2f@gmail.com> <2B1FBA08-3DDB-4287-B2B4-11324334B7FC@employees.org> <CAJE_bqdg3wjbJOmB2iPij00yNXbES7Hj7WYtKH0vyY+9Lce3ow@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <6da1d50c-2835-d98e-2ab9-41cdd4d9f367@gmail.com>
Date: Thu, 25 Apr 2019 09:41:35 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAJE_bqdg3wjbJOmB2iPij00yNXbES7Hj7WYtKH0vyY+9Lce3ow@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/41bZgOHar4GorwOMOpoIBlpEH0E>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Apr 2019 07:41:49 -0000


Le 24/04/2019 à 23:00, 神明達哉 a écrit :
> At Wed, 24 Apr 2019 17:04:59 +0200,
> Ole Troan <otroan@employees.org <mailto:otroan@employees.org>> wrote:
> 
>  > > I will add in the draft that Cisco also supports fe80:1::1.  I 
> think I forgot that, but now that you say it I trust it too.
>  > >
>  > >> I don’t see any justification to allowing the 54 bits in the 
> network 64 bit portion of the link local address to be changed from all 0s.
>  > >
>  > > I dont understand you.
>  > >
>  > > You say fe80:1::1 works on Cisco, but then you say you seee no 
> justification to allow the 54bits to change from 0.  The first 1 in 
> fe80:1::1 means a change from 0.
>  > >
>  > > So, do you mean Cisco is wrong?
>  > >
>  > > Or do you mean such things are wrong and the RFC is right?
>  >
>  > That an implementation allows you to do something does not mean that 
> it is supported (in the product sense) nor that the RFC is wrong.
> 
> Right, but I actually don't understand why we still have to have this
> kind of conversation.  Almost all real-world implementations have some
> glitch;

The problem here would be to ask which of the OSs have the glitch: the 
ones that support fe80:1:: or the ones that dont?

We dont want the loved OS to correct a non-existent bug and the 
non-loved OS to continue with the bug.

> sometimes the bug is fixed quickly, sometimes it's considered
> too minor to be prioritized and can stay longer.  It happens all the
> time.  

I agree.

> I simply don't understand why such a corner case behavior is
> discussed in the context of whether an RFC is "right".
> 
> If my previous example of broken router behavior wasn't enough,
> there's another one for the loved OS: Linux allows you to send a
> packet with the source address being ::1 outside of the sending node
> by running this script:
> 
> import socket
> s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
> s.bind(('::1', 0))
> s.sendto(b'', ('2001:db8::1', 4200))
> 
> I hope no one seriously asks whether this text of RFC4291, Section
> 2.5.3 is "right" because of that bug:
> 
>     The loopback address must not be used as the source address in IPv6
>     packets that are sent outside of a single node.
> 
> Then, can we now really stop talking about whether the RFC is right or
> wrong about the intermediate 54 bits by referring to an implementation
> that allows a user to violate it?
> 
> A bug is a bug.  If someone wants to legitimize that buggy behavior,
> make a proposal with a valid justification to update the relevant
> standard (sometimes it can actually succeed).  An attempt to make it
> valid because of the existence of the buggy behavior itself is just
> time wasting.

達哉-san,

Bugs should be corrected.  Time should not be wasted.

Alex

> 
> --
> JINMEI, Tatuya