Re: about violation of standards

神明達哉 <jinmei@wide.ad.jp> Thu, 18 April 2019 21:01 UTC

Return-Path: <jinmei.tatuya@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 3EECD12043A for <ipv6@ietfa.amsl.com>; Thu, 18 Apr 2019 14:01:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.669
X-Spam-Level:
X-Spam-Status: No, score=-0.669 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 xmPsgqkKmg6O for <ipv6@ietfa.amsl.com>; Thu, 18 Apr 2019 14:01:45 -0700 (PDT)
Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 2DFF8120442 for <ipv6@ietf.org>; Thu, 18 Apr 2019 14:01:45 -0700 (PDT)
Received: by mail-wr1-f41.google.com with SMTP id g3so4580749wrx.9 for <ipv6@ietf.org>; Thu, 18 Apr 2019 14:01:45 -0700 (PDT)
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=F+QluhFlzIYf3fpez7SZrhwJFTuk6ykwjjJf96vUHH0=; b=apEEVkbTS2GBWNruptNNMIQ4o20vaojiiVzB+k2YjM6ztVoXVk25P5K4v1r1VxD+8H Mhoh8u1FBYvez59HKKdDIUNWG4Ovb1AOCWHPH9zYlkyofpTy0cDe+lIgJPj+SqLQUSy9 fbD4TNKtYXBwv2e/JF3fMctA08NS8xhH8OdwOD+woOkS/fMlWJYPgqZ2ISFwppsQerhi O8ZnKbcpC9iX0tPsOd0qPtrYwamHijOVNOnGOAg/ffeRyltUUyCqOEoMo5dH648pO7df zMLu4dmz7g6BdsJMIlhE95CF2RN6LZAfjRY4zCsjFtDAI/Nx1tCa9t4rDO/H6noeToGq 2JgA==
X-Gm-Message-State: APjAAAWBIwSDa1/+uUsBhOmckVoJuZ3YckMABBW6JTcwZJVqBb5yTadR i97Fg6hFPICgGGii6N0X2DLbcaKX7n29Is/qe7c=
X-Google-Smtp-Source: APXvYqzx9FsyWlB1u2t07Esfcw5tDxQeI+cxYC//jwqjckSFGa5vmVZfhWMHeMaMQJ8AyBt8McfQpmWRqIIMFT6c0EY=
X-Received: by 2002:a5d:6406:: with SMTP id z6mr151000wru.266.1555621303243; Thu, 18 Apr 2019 14:01:43 -0700 (PDT)
MIME-Version: 1.0
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com>
In-Reply-To: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Thu, 18 Apr 2019 14:01:31 -0700
Message-ID: <CAJE_bqd9frqX5-yeVPj8MYXpZ4737HqK1gmfD9cQV3A-Ea5HrQ@mail.gmail.com>
Subject: Re: about violation of standards
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Cc: IPv6 <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002f58890586d44fa4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/R5IotW8ChE7ZDT1OVl_BqWYJNQE>
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, 18 Apr 2019 21:01:54 -0000

On Thu, Apr 18, 2019 at 11:59 AM Alexandre Petrescu <
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