Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05

David Farmer <farmer@umn.edu> Sun, 12 May 2019 16:40 UTC

Return-Path: <farmer@umn.edu>
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 1B534120096 for <ipv6@ietfa.amsl.com>; Sun, 12 May 2019 09:40:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level:
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 59Exctjk--Du for <ipv6@ietfa.amsl.com>; Sun, 12 May 2019 09:40:25 -0700 (PDT)
Received: from mta-p7.oit.umn.edu (mta-p7.oit.umn.edu [134.84.196.207]) (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 7A3B312003F for <ipv6@ietf.org>; Sun, 12 May 2019 09:40:25 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mta-p7.oit.umn.edu (Postfix) with ESMTP id B1D06976 for <ipv6@ietf.org>; Sun, 12 May 2019 16:40:24 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p7.oit.umn.edu ([127.0.0.1]) by localhost (mta-p7.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FuCd4qmz-T15 for <ipv6@ietf.org>; Sun, 12 May 2019 11:40:24 -0500 (CDT)
Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p7.oit.umn.edu (Postfix) with ESMTPS id 5D7BE964 for <ipv6@ietf.org>; Sun, 12 May 2019 11:40:24 -0500 (CDT)
Received: by mail-vk1-f199.google.com with SMTP id s5so4681350vkd.0 for <ipv6@ietf.org>; Sun, 12 May 2019 09:40:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sfBicptR4g80hVTRofFdnQVUNzkP7SXXDwKIPYWCouk=; b=Xr4eVcOhTw72upv2Lf+1/TsxMXRddb4y4ItBmytD3BTGJPi+sjG+FSOIWPDT9c6BUU 3H2kT5MhWINdJiSdAicxFGNzZR2IO1WXj2ZkdGsYYWbTuxWIChIBjkMg1l2pGaDMR8Yd 1fuyVs8gEGKoTSKH7QECJoPRTfPqKklJtS2okvUpuRXbUPTdqVUjIrDdc8b9dqDDq1EB 80KhuSYZIig2dF4ROOXvuI2exYLQob+7qcZ6xL8l33ZttosrAl+8QhblRiurg77QVld8 UydTxJHYsQ9u1i0LeuTHNeCR6mLJL0cPVpmicYvRU7rZV0XnMWiog5wNYEWijo+PHpfy VMJw==
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=sfBicptR4g80hVTRofFdnQVUNzkP7SXXDwKIPYWCouk=; b=WcbdLpg06ld7qWRhFB+IaMnot3QWB4J/uvVzwUPxVbXSa0F/1hhewURwQTcD16Kzt+ 2Fa0YiQnlixESEAXagoYeVN4FP+ZMN172GWSwi9dc4CSP+2cO/JZnWCi66VEUVvqOFE/ jV9e4UgoLiG0pNP1iPkYrO9ZxgJsBvUXnBuudWPs6PHv2dJF2lIUXK96Btivhn4biEBB k6cRe/PhcvP3ssnDOUHhl1kXBiOGh6dHK935PNXrLFLrdIpYUE4a4zG8Y0iu8vxhB3Gh XsvJbsuWLPPmI2+jfEc7UwCGLMFApeXlfKvaYqW0rDGrAI2Flp7ZxiK9Kme9xEXGzPaK ZBYw==
X-Gm-Message-State: APjAAAVZ6IqVkkVJUDp+YaYF4NXF6gOGhT+Y5e4GMzmhbjzGwxo0djpT OgKoy+HsxhAPzqQjT32RHdmU0OmBlXQtd0StxVN8ESDGq2c6MqB8Y1YwAgn9dSeYeoRYJa0P3IE TcVTaArrqXqTMXA+Z6rBqw26E
X-Received: by 2002:ab0:2845:: with SMTP id c5mr7875707uaq.61.1557679223377; Sun, 12 May 2019 09:40:23 -0700 (PDT)
X-Google-Smtp-Source: APXvYqw/YGQ4WEUofqUVH/oHtlRb65w1Po2HvpEBaUbEuoYXHWQQJrVMEDyHPzSiIX9qAVMiKOClVEwK4yu4mAdRfFo=
X-Received: by 2002:ab0:2845:: with SMTP id c5mr7875695uaq.61.1557679222961; Sun, 12 May 2019 09:40:22 -0700 (PDT)
MIME-Version: 1.0
References: <F8BFFCAD-E58E-4736-8A1C-56579B6F6032@employees.org> <a2465e81-a17f-ab48-efda-20fe12a70077@foobar.org> <30239E0C-C444-4A7E-8342-AEE47BF8A2BB@employees.org> <20190505200449.GB7546@vurt.meerval.net> <80073906-c3c0-1f22-9e7f-c2b349063936@gmail.com> <CAO42Z2xzVW3m0mN7jEn8SYyYCYhrufVnkfp3rBjJcijBkvucNQ@mail.gmail.com> <CACWOCC-35yVYXSRR0sRL-MBMHyOFZtJx9E9h14G8qqVh5T7qGA@mail.gmail.com> <232c1a43-0fd9-4eae-737b-260a3906f72a@gmail.com> <663F6C0B-7B8A-4088-B9C0-B2867B0C3EB8@gmail.com> <CAN-Dau3VJN7qNHAW-yStMrDRCa4vsDs2ObkAxswnYbcHde2t_w@mail.gmail.com> <m1hPqHO-0000J8C@stereo.hq.phicoh.net>
In-Reply-To: <m1hPqHO-0000J8C@stereo.hq.phicoh.net>
From: David Farmer <farmer@umn.edu>
Date: Sun, 12 May 2019 11:40:07 -0500
Message-ID: <CAN-Dau3R=4JbcbK7tWkJKYzVjq7DvAAEjVsbCLbZdYYO8OJ0YA@mail.gmail.com>
Subject: Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05
To: Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>
Cc: 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c24ea70588b37436"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/SyFSMfCcB96je4jdz1g7P87Ycow>
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: Sun, 12 May 2019 16:40:28 -0000

On Sun, May 12, 2019 at 10:20 AM Philip Homburg <
pch-ipv6-ietf-6@u-1.phicoh.com> wrote:

> >In my opinion, you are correct if that were the only or even the primary
> >source of futile IPv4 traffic. In effect, RFC 3927 configures a Link-Local
> >IPv4 scoped address if a DHCPOFFER is not received, and then this
> >Link-Local address is used to perform futile IPv4 service discovery. From
> >my perspective, this is the primary problem, not futile IPv4
> DHCPDISCOVERS.
> >As you say exponential backoff of the DHCPDISCOVERS would easily control
> >that issue. However, something also needs to signal the dual-stack host to
> >not perform IPv4 service discovery because the dual-stack host is on an
> >IPv6-Only network, I believe this flag serves this purpose well.
>
> It is safe to assume that if an interface has no IPv4 address
> configured at all then that interface cannot be used for IPv4 service
> discovery
>
> We can assume that on an IPv6-only network there will be no DHCPv4 so the
> host will not get addresses through that route.
>
> That leaves RFC 3927. I think a simple heurisctic could be the following:
> A host SHOULD NOT configure an RFC 3927 on an interface if the host has
> working IPv6 on that interface unless the configuration of an IPv4 link
> local
> address is explicitly requested by the user.
>

Yes, that is a possible solution.  However, that solution continuously
links IPv4 to IPv6 and only unlinks them if the host has been configured to
unlink them. Whereas this flag only links IPv4 to IPv6 if the network
Administrator has consciously decided to do so. Also, as currently written
the host can be configured to ignore the flag and never link IPv4 to IPv6.

The problem is, without a flag to clearly designate a network as IPv6-Only,
then with your proposal if the DHCPv4 server on a dual-stack network ever
decides to not grant an IPv4 address to a client, due to a misconfiguration
or it simply crashes, then that client will inappropriately disable
RFC3927.  Whereas with a flag declaring a network as IPv6-Only, RFC3927 is
only inappropriately disabled when two misconfigurations or a
misconfiguration and a problem occurs.

I contend that having a flag to declare a network as IPv6-only is the only
way to safely change the behavior of the IPv4 stack on dual-stack hosts
without creating corner cases where something happens inappropriately.
Also, for the flag to be safe, it must be a secondary signal, the primary
signal for a dual-stack host to not configure a global scope unicast IPv4
address is the lack of any IPv4 DHCPOFFERS.  This way to inappropriately
disable IPv4 on an operational dual-stack network, or an IPv4-Only network
you have to both set the flag on all RAs and disable the IPv4 DHCP server.

Thanks.

-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815
Minneapolis, MN 55414-3029   Cell: 612-812-9952
===============================================