Re: about violation of standards

Yucel Guven <yucel.guven@gmail.com> Thu, 25 April 2019 15:05 UTC

Return-Path: <yucel.guven@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 52342120305 for <ipv6@ietfa.amsl.com>; Thu, 25 Apr 2019 08:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 kI59fL12-btw for <ipv6@ietfa.amsl.com>; Thu, 25 Apr 2019 08:05:49 -0700 (PDT)
Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E82BB120315 for <ipv6@ietf.org>; Thu, 25 Apr 2019 08:05:48 -0700 (PDT)
Received: by mail-oi1-x243.google.com with SMTP id v23so141887oif.8 for <ipv6@ietf.org>; Thu, 25 Apr 2019 08:05:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=roszvEWyaS+hOQaw4RVuTg9F8z53BtJinTMjWG9+PL4=; b=iRv0GoPDGPJgxjBhXHC7QhYd5XoUggYvOZEfZuo9Z1RqQ9TKTF/7tLZMHL569Jc8pC E9J584uKZOB/tmQuJAO7QbHmC7dxNI/xd7DYnETQaxJt9kOARBzJXCA8jdmkdaz6Q4QA VpOBj83IA++E/ljQJX6bOIM86nEswDtvx+IrFoSJDL9zoLqa0PdXRtLWKQfSAhgCQrpK zGxUuWqqscEQatRGENZd2dgegndjycmmUjc717RfyAmVYWYlZlOaYekIFg1AbNPRERmk eMEKuOmYMtXuIxrOUlqGgtjBypzQY1EBpQkvwjjqCDsczwuJcvnrZjrgwMus+HfVV0qz qy7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=roszvEWyaS+hOQaw4RVuTg9F8z53BtJinTMjWG9+PL4=; b=rX4+nrYwDJ/Xo3Ggw4ILwJtrXcwTfeUFls9ZYMpTT3UjvqH9jnzfHXlDW2VzfT7G5a 6GaLDkZgZbW54K8LVunQL/tP9ZnruRP41LzxqrEAHlbALSXfyUwQ5oLxlIWkJ9/1lsWb CePwHWVWP9Ugcj5EsKH4QnMy2FwPn5opnEVpLeQ0UCq3HpqvHqbAZjBTMnX0SBypFV6Y s9ckpY7BV2BPM4lI6PKMkxMMjbpOy96jwinlcnzFq53uBmiaFfLks7MxdYMofgHeG6Ms SgCnerES0i8XgicLfsoxvJWPEhXCsGT0ydDmtY4Sd4AG1evQEHSgUiCYsztKt2hmgPbT MK7g==
X-Gm-Message-State: APjAAAWc8SjRvVi1S09E5hZ71HcqBM6B6cJO3eKEz+co7yYUlovzLiMJ ZGmW6GlIByuj6tQtbglUNpggH7Ku4389mWfg1xk=
X-Google-Smtp-Source: APXvYqyGimIKEPeETX2wq2FDV0+nW7SGXwLopDRF6Pe04xu6oHFI7JlPp+ASE2VW04EkFJBkB4rjdBt8Je+2OictFQw=
X-Received: by 2002:aca:483:: with SMTP id 125mr3414927oie.118.1556204748058; Thu, 25 Apr 2019 08:05:48 -0700 (PDT)
MIME-Version: 1.0
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com> <CAJE_bqd9frqX5-yeVPj8MYXpZ4737HqK1gmfD9cQV3A-Ea5HrQ@mail.gmail.com> <CAKQ4NaWLGh3f_dN6WVNnYs9fKL8=vfpnShAK8AczPo8LE8LjFA@mail.gmail.com> <43399e1f-d60a-f678-abf3-eb69defd962c@gmail.com> <CAKQ4NaUGvPxSOAD-+FTxcq3ghUkWbOwR82G-GAG9kDCT+gBzTQ@mail.gmail.com> <CAAedzxo+5J=f1sf+gEJXm+aN7AJJUgasxsBd36JYm6GuuFfi=w@mail.gmail.com>
In-Reply-To: <CAAedzxo+5J=f1sf+gEJXm+aN7AJJUgasxsBd36JYm6GuuFfi=w@mail.gmail.com>
From: Yucel Guven <yucel.guven@gmail.com>
Date: Thu, 25 Apr 2019 18:05:30 +0200
Message-ID: <CAKQ4NaVwzE2-D2nxAqh4-W15MwfLEwYTrYA-VXpnXz56LLgBnQ@mail.gmail.com>
Subject: Re: about violation of standards
To: ek@loon.com
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, IPv6 <ipv6@ietf.org>, 神明達哉 <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary="00000000000034b35605875c271f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/g4d25jAHG-621kdgFozVbuVsbZI>
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 15:05:59 -0000

Nothing prevents me, I'm sure it also works with other linux distributions.

But, do you mean that it worked in your linux,
and in fact "RFC is not compatible" with your machine's OS?

Then;
What prevents you from opening your word processor
and from proposing/writing your ideas
into a document that is called a 'draft'?



On Wed, Apr 24, 2019 at 10:54 PM Erik Kline <ek@loon.com> wrote:

> What prevents you from adding a directly connected route to fe80:Y::/64
> dev <ifname_with_ifindexY>?
>
> On my Linux workstation eno1 has ifindex 2, and I tried the following:
>
>     ip -6 route add fe80:2::/64 dev eno1
>     ip -6 route
>
> shows:
>
>     fe80::/64 dev eno1 proto kernel metric 100 pref medium
>     fe80:2::/64 dev eno1 metric 1024 pref medium
>
> I then continued with:
>
>     ip -6 addr add fe80:2::345/64 dev eno1 noprefixroute
>     ip -6 addr
>
> shows:
>
>     inet6 fe80:2::345/64 scope link noprefixroute
>        valid_lft forever preferred_lft forever
>     inet6 fe80::5bcb:c30c:c5e0:d3cf/64 scope link noprefixroute
>        valid_lft forever preferred_lft forever
>
> and finally:
>
>     ip -6 route get fe80:2::123
>
> shows:
>
>     fe80:2::123 from :: dev eno1 proto kernel src fe80:2::345 metric 100
> pref medium
>
> so source address selection seems to be working as I would want it to in
> this situation.
>
> I'm not sure what other tests to run, but it seems like you can certainly
> add fe80:ifindex::/64 routes to each separate device and manually add your
> IP addresses as you wish...as least with recent Linux.
>
>
> On Wed, 24 Apr 2019 at 12:05, Yucel Guven <yucel.guven@gmail.com> wrote:
>
>>  Yes, it is:  64 - 10 = 54, and 2^54= 18,014,398,509,481,984 prefixes,
>> not even 2^48.
>>
>>  Too much space is allocated/reserved. That's what I think.
>>
>>  Wasted or not is a different seperate subject, time will show the answer.
>>
>>  I can not know what the writers of RFC4291 thought or design or plan.
>>  I'm sure they made much more detailed calculations.
>>
>>  What I clearly understand is that first 10 bits are fixed, and 54 bits
>> are 0,
>>  and using fe80:1::2 on an interface does not comply with it.
>>
>>  We should be open to the discussion of updating 4291, that's why we have
>> draft docs.
>>
>> On Wed, Apr 24, 2019 at 4:42 PM Alexandre Petrescu <
>> alexandre.petrescu@gmail.com> wrote:
>>
>>>
>>>
>>> Le 22/04/2019 à 18:37, Yucel Guven a écrit :
>>> >
>>> > Hi Jinmei Tatuya,
>>> >
>>> >  > This logic doesn't make sense to me at all.  There was a very
>>> widely used
>>> >  > implementation of commercial router (I don't name it as it's not my
>>> >  > purpose to pick a particular vendor) that forwarded an IPv6 packet
>>> >  > whose source address is link-local from one link to another link,
>>> >  > instead of returning an ICMPv6 destination unreachable error, code
>>> 2,
>>> >  > as specified in RFC4443.
>>> >
>>> > That is very interesting point indeed.
>>> > Do you mean that billions of people's data, information, etc....etc...
>>> > from their Link-locals
>>> > can easily be routed to somewhere that no one knows? Just because of
>>> > "that vendor" (or vendors?)
>>> > If that's the case, I really wonder about what can be done with
>>> "127.0.0.1".
>>> >
>>> > Anyways, my concern is about huge amount of addresses of the fe80::/10.
>>>
>>> I do not understand the concern.
>>>
>>> Is the concern that too much space is allocated by fe80::/10?
>>>
>>> Or is the concern that too much space is wasted between fe80::/10 and
>>> fe80::/64?
>>>
>>> I know that talking about numbers, and about waste, is a doubly-edged
>>> sword: one can claim either fe80::/10 or fe80::/64 is a waste.
>>>
>>> Alex
>>>
>>> > There are 281,474,976,710,655 =  281 Trillion 474 Billion 976 million
>>> > 710 Thousand 655 addresses
>>> > in between  fe80:0:0:0::/64  and fe80:ffff:ffff:ffff::/64.
>>> > If we just take  fe80:1::/32 or /64, then it breaks RFC4291 due to 54
>>> zeros.
>>> >
>>> > Is it right time to modify RFC4291?
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Thu, Apr 18, 2019 at 11:03 PM 神明達哉 <jinmei@wide.ad.jp
>>> > <mailto:jinmei@wide.ad.jp>> wrote:
>>> >
>>> >     On Thu, Apr 18, 2019 at 11:59 AM Alexandre Petrescu
>>> >     <alexandre.petrescu@gmail.com <mailto:alexandre.petrescu@gmail.com
>>> >>
>>> >     wrote:
>>> >
>>> >      >    In private conversation this debate happened:
>>> >
>>> >      >    is an implementation that uses fe80:1::2 address on an
>>> interface a
>>> >      >    violation of standards? (RFC 4291 does not allow for '1' to
>>> be
>>> >     there).
>>> >
>>> >      >    My point of view is that as long as that mplementation is
>>> >     widely used,
>>> >      >    that is not a violation of standards.  Rather, the situation
>>> >     makes it
>>> >      >    that that standard is not in agreement with implementations..
>>> >
>>> >     This logic doesn't make sense to me at all.  There was a very
>>> widely
>>> >     used
>>> >     implementation of commercial router (I don't name it as it's not my
>>> >     purpose to pick a particular vendor) that forwarded an IPv6 packet
>>> >     whose source address is link-local from one link to another link,
>>> >     instead of returning an ICMPv6 destination unreachable error, code
>>> 2,
>>> >     as specified in RFC4443.  According to that logic, this
>>> implementation
>>> >     would be considered not violating the RFC "because it's widely
>>> used";
>>> >     most people call it an implementation bug.
>>> >
>>> >     Regarding Linux, I'd note that link-local addresses are
>>> automatically
>>> >     generated by the system, and the generated address conforms to the
>>> >     format specified in Section 2.5.6 of RFC4291.  More specifically,
>>> its
>>> >     intermediate 54 bits are all set to 0.  Plus, as far as I know, the
>>> >     vast majority of people never bother to change the auto-generated
>>> >     link-local addresses.  In that sense the use of addresses like
>>> >     "fe80:1::2" are not really widely used, even if the implementation
>>> >     that allows its users to manually configure such addresses is
>>> widely
>>> >     used.
>>> >
>>> >     Almost any implementation has some weapon that allows its user to
>>> >     shoot their feet, often violating protocol standards.  An extreme
>>> case
>>> >     is a tool like bpf, with which you can send out almost any broken
>>> >     packets to the wire.  BPF is widely used tools, but as far as I
>>> know
>>> >     no one uses the existence of that tool to justify the violation of
>>> the
>>> >     standard.
>>> >
>>> >     Now, I'm open to the discussion of possibly updating RFC4291 to
>>> allow
>>> >     non-0 value in the intermediate 54-bit field, starting from the
>>> fact
>>> >     that it currently violates the standard.  But I don't buy an
>>> argument
>>> >     that a behavior against the current standard is not a violation
>>> simply
>>> >     because there's a system utility of a widely used OS that allows
>>> that
>>> >     particular behavior.
>>> >
>>> >     --
>>> >     JINMEI, Tatuya
>>> >
>>>  --------------------------------------------------------------------
>>> >     IETF IPv6 working group mailing list
>>> >     ipv6@ietf.org <mailto:ipv6@ietf.org>
>>> >     Administrative Requests:
>>> https://www.ietf.org/mailman/listinfo/ipv6
>>> >
>>>  --------------------------------------------------------------------
>>> >
>>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
>