Re: you have running code ... I-D Action: draft-ietf-6man-ipv6only-flag-03.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 05 November 2018 07:38 UTC

Return-Path: <brian.e.carpenter@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 750661274D0 for <ipv6@ietfa.amsl.com>; Sun, 4 Nov 2018 23:38:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham 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 J76jfhj4VsKa for <ipv6@ietfa.amsl.com>; Sun, 4 Nov 2018 23:38:55 -0800 (PST)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 97CB7130DC2 for <ipv6@ietf.org>; Sun, 4 Nov 2018 23:38:55 -0800 (PST)
Received: by mail-pf1-x436.google.com with SMTP id g21-v6so3997273pfi.7 for <ipv6@ietf.org>; Sun, 04 Nov 2018 23:38:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=hsP+Uq/JZGQB5Eq0GHNoCGrflgghfv9pymD5Ye3SA5Y=; b=tipVgpJ+EgAkV+pJfDd6kI9B25s37oZxymBj2mlgnIoL0PTSb5bH45RpWEDOwlDkar oX6aEKHg6FluCSVse6wdc/1TPHX+lbqTErVZRkp9u4l+msJNToX5bBZHI2Lkw2DIeZJk GSrz1HCug91djFQavqsquEHaymprcXiVfYA+T0U0UK8CA95NKD339bAJJolpKeQoEP6f 0HUEnvpbfMDCqRp34p6nh1kLcytaZLdjEW2/Y0L27dD24yx0bjpd6VJqFglOmj0pva5B Pzy0pHyZ1PDSL+08YPLUEUH7Y9av7hKHWBMGP2yAtMqaFAUq97Bs3gSkiqCTMBAdMMXc 9Zkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hsP+Uq/JZGQB5Eq0GHNoCGrflgghfv9pymD5Ye3SA5Y=; b=Zn+BTZ6B/EW9y+ttMUTFh8T9euCKP0eG+K9CQ9Exw8FWysw3XVs1BlbiOpK1EYut0X J61Xv3cZH+BS756EgaGGe5utP9c0kBKDIAL2h8eNjuFwwnvfwt0cqYPk1c6UTzJBSems 3g5mrvmSPFljtODwjxvP2scH6TP5yXnDz9aks5wAyMMiG3O8wjtuaRZug313MqlEhvm1 vMED8OyVk4nK4sR60zXx6wnSxuhnlMme1oiTn0axsESxHeaoD8ntCWe+xpTstp6k299/ 6SHQF2acswGsv8xk6q8K6CGhUPeglxdW1w1KGMbBmVZowz3LqguhFfoa2w6t0ztBg6oV 1XHw==
X-Gm-Message-State: AGRZ1gItN2kE471d0kTlRjPwQgJFdM8RN0KWCIdY+2Xa68Dhmdp5K57Q CtuBkhzcQ6qwOG7d7m6WZs6OUCs0
X-Google-Smtp-Source: AJdET5doGzn/G4f8aQUM0CsRTHbXSPbs72Fhf38ahpJOyiAippN3zoc0BpETs0eyB5T+tx/NpMCScg==
X-Received: by 2002:a62:31c2:: with SMTP id x185-v6mr3052512pfx.39.1541403534687; Sun, 04 Nov 2018 23:38:54 -0800 (PST)
Received: from [192.168.178.30] ([118.148.76.40]) by smtp.gmail.com with ESMTPSA id p11-v6sm29138915pfn.53.2018.11.04.23.38.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Nov 2018 23:38:53 -0800 (PST)
Subject: Re: you have running code ... I-D Action: draft-ietf-6man-ipv6only-flag-03.txt
To: Lee Howard <lee@asgard.org>, ipv6@ietf.org
References: <153973137181.9473.10666616544238076833@ietfa.amsl.com> <6264F7A1-59EB-467D-A576-E5F2F0DEE7DD@lists.zabbadoz.net> <CACWOCC-xL0PfkNHgCqhB28GE-jCWUUagQE4PukdpXK+YHgWpyg@mail.gmail.com> <97ba35ff-b4a7-314c-3010-297d06be645d@foobar.org> <01c2a55e-1888-3ebc-3252-11b9005b8272@gmail.com> <0abd7b4d-b0e0-b1bc-2468-678befbc7cac@asgard.org> <3e155df0-5799-8788-5fbe-767a7421828c@gmail.com> <18646396-e3f7-b9ad-3871-69868468859a@asgard.org> <d080497b-4f39-b877-1524-f23d9b1446e0@gmail.com> <95654922-acd1-3cb3-c650-942c97e3cc85@asgard.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <cb3e14a8-91d7-f247-e6aa-d08f38b58bc5@gmail.com>
Date: Mon, 05 Nov 2018 20:38:49 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <95654922-acd1-3cb3-c650-942c97e3cc85@asgard.org>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/ZTaYy0oZ2df2B28qQjowE_DrEok>
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: Mon, 05 Nov 2018 07:38:57 -0000

While waiting for meetecho to fix the feed I was using...


On 2018-11-05 19:06, Lee Howard wrote:
> 
> On 11/4/18 2:45 AM, Brian E Carpenter wrote:
>> On 2018-11-04 00:35, Lee Howard wrote:
>>>
>>>>> If a network administrator wants central control over IPv4/IPv6
>>>>> enablement in hosts, there are better, more centralized tools for that.
>>>>> As a principle, host behavior should be managed by host management
>>>>> tools, and not by hints from a router.
>>>> I'm not sure how that can work on a BYOD network. On a fully managed network,
>>>> sure, we could "easily" invent a solution.
>>> Taken all-in-all, then, the use case for this flag is a network where
>>> the administrator:
>>>
>>> 1. does not know what's on the network,
>> May not know what's on the link, or does not have management access
>> to some devices on the link, or does not have policy control over
>> some devices on the link. There are many such networks.
>>
>>> 2. expects that there are some applications using IPv4,
>> I don't see that. The admin has decided that there are no IPv4
>> services on the link - presumably no DHCPv4, no DNS over IPv4,
>> no IPv4 routing. Whether or not some hosts contain IPv4 applications
>> isn't necessarily known to the admin.
> 
> If there are no IPv4 services, there is nothing to turn off using this flag.

The host doesn't know that; the flag tells the host not to waste its time.

> 
> 
>>
>>> 3. understands that IPv4 will continue to work locally, 3b. except for
>>> dual-stack hosts that honor the flag,
>> It might be fairer to say that the admin doesn't care whether
>> IPv4 works locally, but has decided to announce to everybody that
>> there are no IPv4 services on the link, knowing that only 3b hosts
>> will understand the announcement.
>>
>> (The fact that RAs are universal, whereas other possible mechanisms
>> such as DHCPv6 or NETCONF are not, is relevant here.)
> 
> Okay, "understands that IPv4 will continue to work locally if enabled on 
> hosts."

Locally = on a traditional broadcast LAN segment with no L2 filters.
But I don't see why this changes anything; we know we can't physically
prevent a host trying to use IPv4 if it insists.

> 
>>> 4. understands that applications may have already negotiated IPv4
>>> connectivity,
>> Again - doesn't care.
> 
> The document says:
> 
> Administrators MUST only use this mechanism if they are certain that
>     the link is IPv6-Only.  For example, in cases where there is a need
>     to continue to use IPv4, when there are intended to be IPv4-only
>     hosts or IPv4 routers on the link, setting this flag to 1 is a
>     configuration error.
> 
> "certain that the link is IPv6-Only" is not the same as "doesn't care if 
> there are residual IPv4 connections."

Again, I don't see your worry. It's all about the admin's intention, and it's
fair warning to any hosts. This is not a switch, it's literally a flag with
"No IPv4 services" written on it.

>>> 5. desires to break communications for 3b and 4,
>> Again - doesn't care.
> 
> The flag is specifically to disable connectivity through IPv4. If you 
> don't care about IPv4, you don't set the flag.

No, the flag is to announce that there is no IPv4 service. That is not
the same thing as "to disable connectivity."

>>> and prevent IPv4
>>> Internet access.
>> Yes, that's the primary decision. Of course, the assumption is that
>> IPv6-only access to the Internet is necessary and sufficient.
>>
>>> It's not just that administrator accepts that 3b and 4 won't work, but
>>> as you said above, "The admin will presumably be happy with this result."
>> Or doesn't care.
> 
> If she didn't care, she wouldn't set the flag. This administrator is 
> intentionally setting the flag for one or more of the reasons given in 
> the Introduction.

Yes, but the real action is *not* enabling IPv4 routing, DHCPv4, or
DNS over IPv4. (And installing L2 filters, maybe.) The flag is only
a flag.

> 
>>> This seems to me a very narrow application.
>> It's certainly directed at a specific (and future) phase of history, when
>> IPv6-only is viable and IPv4 has not yet faded into oblivion. How many
>> links for how many years would be in that phase is an open question.
>>
>> As the draft recognizes, there are other mechanisms available too.
>> What strikes me as unique about this mechanism is simply that *every*
>> dual stack host receives and understands RAs; this is our only way
>> of getting a bit to every single dual stack device. That's not
>> narrow, IMHO.
> 
> The number of cases where IPv4 might exist and an administrator wants to 
> shut it down and has no other tools seems narrow to me. While I agree 
> that all dual-stack hosts understand RAs, that doesn't mean they all 
> understand this flag. I have counted zero host operating system 
> implementers who have said they will take action on this flag, but check 
> my math.

As for most IETF proposals, it takes time.
 
> In a desire to be constructive, I think we had talked earlier about 
> defining the flag to mean, "I have no IPv4 routes." That might be useful 
> information for a host, letting it decide whether it needs IPv4 locally 
> (or has another IPv4 route), and disable appropriately.

That is one of the things it means, along with "I don't grok DHCP" (which
also means "I don't announce a DNS/IPv4 server").

And yes, a host MAY ignore it (that's the complement to the SHOULD
in the draft). We've never said anything else.

   Brian