Re: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 31 October 2018 23:02 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 0353B130DD6 for <ipv6@ietfa.amsl.com>; Wed, 31 Oct 2018 16:02:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.001
X-Spam-Level: ***
X-Spam-Status: No, score=3.001 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, GB_SUMOF=5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 fxZJrUW6IydM for <ipv6@ietfa.amsl.com>; Wed, 31 Oct 2018 16:01:59 -0700 (PDT)
Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (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 938F9130DF5 for <ipv6@ietf.org>; Wed, 31 Oct 2018 16:01:58 -0700 (PDT)
Received: by mail-pl1-x631.google.com with SMTP id x6-v6so8000892pln.0 for <ipv6@ietf.org>; Wed, 31 Oct 2018 16:01:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lgzKCxP0K6VBqoSsGD+QAa8hDhz9PWjektWBwdSO+vM=; b=fnrZ596Be401L+fnvV8i7QSs5z952nqM0i1CsXsN2WfCkkn1u0wizctsQsZ71sNVKk +p8KPMfbBsNt+GLCTuRUTwUwwJw20TBPLXrXG3h1KCGf0z+Tsp4+yfz2NEsbvBlMzrIt S6jwvmuN0WNoCOLXaNojjcaWvylM3gUg5p6PezWcNRkpyOTBCyeEp81aApOnBEvemXRY 8U8hFXkizr/m07P45YcOMshnCR9q67f9jonYlJsouGNIbfSuc9KelFCHQ22WrQ13jZAw dUIP8Uls3gECMsYT2DnPzb5D6MjiRwrRYTwHRGIK3R9tG5WVX2Y7DEDxVAvB+hSE/+Tn hzVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lgzKCxP0K6VBqoSsGD+QAa8hDhz9PWjektWBwdSO+vM=; b=XOzqsCffE8oib9Xw82wdIpwLgzTootnn/G38dJD1nNnNP9nmP7xNJVlxwd2E2dZOUu mxxfYos/EayLRuL8RBnNBHFrL9D6hr7uFG210+KtKXB5qfJHdoDf/KxO426O5fJSC9OZ PgvG4yarjauRdOn2FUxhvghq/Hgjs55MyruVhcGBQTV8f53hUULIqG8tQsc7UxIWoCZn QY/zNmxJfS7zYOimtxikpprbMJkDy/drc18e/xLpyT+oiZockqaWdzrIBL4GxKphkvM3 gAUwqP8ZjCCtYZVvmrq23jUcZDtIYIKK4rwSC6p+lgey74x0IKNirMTRFLTwd8EuE6jW lYzw==
X-Gm-Message-State: AGRZ1gKnaTH/w90O5m+2ljb2N0RlmJOuF2mPREXxCv35IwY0oaoE64dj QRyv7vjfdlpZtUvXi8On1BFvCBRj
X-Google-Smtp-Source: AJdET5dpM3fTW/Dz0Sk9n/T1hWmfpb2YBh2qGWFy3vznihMJXEcDo6Mk0m+gvccZLQdR5nRobwwrDA==
X-Received: by 2002:a17:902:443:: with SMTP id 61-v6mr5177300ple.216.1541026917604; Wed, 31 Oct 2018 16:01:57 -0700 (PDT)
Received: from [192.168.178.30] ([118.148.76.40]) by smtp.gmail.com with ESMTPSA id i12-v6sm23555174pfe.7.2018.10.31.16.01.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 16:01:56 -0700 (PDT)
Subject: Re: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)
To: Toerless Eckert <tte@cs.fau.de>
Cc: ipv6@ietf.org
References: <8C587906-F0EE-4A61-9046-2BFAC52588C0@isc.org> <E8DE18B5-94FC-411C-A310-E49A382E0079@thehobsons.co.uk> <e0fa8fad1b4249c9af79788323b0a922@boeing.com> <3A03A073-72E2-43A8-90A4-5C29DF445361@thehobsons.co.uk> <27fdbd71125842d888c5136684bf6e7b@boeing.com> <9A4368D6-E4B1-474C-9838-B584AF6D70C8@thehobsons.co.uk> <m1gHUMI-0000I6C@stereo.hq.phicoh.net> <9e3f31a2-2a38-cb47-a7b0-73a4c3cbf21b@gmail.com> <20181030210331.rnwwn6sh23bgo4ot@faui48f.informatik.uni-erlangen.de> <97ce4bf9-ae09-653f-b161-6c5e5456ff68@gmail.com> <20181031153048.wz7mx5p2txhwpshn@faui48f.informatik.uni-erlangen.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <b7254168-fca1-db5c-e815-34072ac22974@gmail.com>
Date: Thu, 01 Nov 2018 12:01:53 +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: <20181031153048.wz7mx5p2txhwpshn@faui48f.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/ZkYTxHSTbw-FKdnko-rNmJyUHm8>
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: Wed, 31 Oct 2018 23:02:02 -0000

Toerless,
On 2018-11-01 04:30, Toerless Eckert wrote:
> Ok, so more generalized, the argument is 
> 
> "Trust the sum of all IPv6 router on a subnet more than a possible
> IPv4 router" may not apply in cases where the host wants to try all
> it can do to communicate. Example: emergency communications.
> 
> Qualitatively this is not wrong, i am just not sure if this should
> really be considered for standards track behavior now.

It's only an argument for SHOULD rather than MUST. And you know that in
the real world of product development, everything is SHOULD anyway, if that
suits the vendor better.

   Brian

> One argument is that it does not make sense to introduce this level
> of complexity before an even more important level of resiliency is
> not done either. For example IMHO it would be even more important
> to rethink resilience in the presence of multiple routers of the
> same address family first and for example make such a device/app
> try in parallel to reach the remote server in parallel across all of
> the found IPv6 routers. Unless there is a different IPv6
> prefix assigned to the host for each such router, there is no
> way for a host stack to do this because the standard transport APIs do not
> offer knowledge about the different routers (You would have to hack
> this). 
> 
> So, in my book this means that we should not bother about third priority
> considerations unless we've resolved all second tier priorities,
> and then we can still write an update of this document.
> 
> Aka: KISS to make the approach more attractive.
> 
> Cheers
>     Toerless
> 
> 
> On Wed, Oct 31, 2018 at 01:36:44PM +1300, Brian E Carpenter wrote:
>> On 2018-10-31 10:03, Toerless Eckert wrote:
>>> Brian,
>>>
>>> I think i would be happier with a stronger goal of the flag
>>> relying less or not at all on heuristics of hosts.
>>>
>>> Give me a reason why dual-stack hosts should want to do IPv4
>>> on a subnet if there is no IPv4-only host and no router routing IPv4. 
>>
>> The example I've used is a an IP-based smoke detector trying to connect
>> to an IP-based central fire alarm system. Because human safety is
>> involved it needs to try every possible type of connectivity in any case,
>> so giving up on IPv4 because the IPv6 routers say so is not the right
>> answer. IMHO, a perfect case for an RFC2119 SHOULD:
>>   "... there
>>    may exist valid reasons in particular circumstances to ignore a
>>    particular item, but the full implications must be understood and
>>    carefully weighed before choosing a different course."
>>
>>       Brian
>>
>>
>>
>>>
>>> This seems like the most simple case to discuss about and agree
>>> what to do for it. TO me it seems that it would be great to
>>> recognize this case and automatically disable IPv4 stack/interface
>>> because of a flag from routers on all dual-stack hosts.
>>>
>>> Cheers
>>>     Toerless
>>>
>>> On Wed, Oct 31, 2018 at 08:43:40AM +1300, Brian E Carpenter wrote:
>>>> On 2018-10-31 02:47, Philip Homburg wrote:
>>>>>> So, here's the challenge which you seem to be holding back from,
>>>>>> write down the actual rules. No hand waving that "that's a good
>>>>>> clue", but actual rules that "if you see <some observable state>
>>>>>> then <do some specific action>".
>>>>
>>>> If by "rules" you mean "a typical heuristic", sure. But there will
>>>> be hosts that follow a different logic for their own good reasons.
>>>> That simply isn't the IETF's business.
>>>>
>>>> The draft is quite clear on this:
>>>>
>>>>    Dual stack hosts that have a good reason to use IPv4, for example for
>>>>    a specific IPv4 link-local service, can attempt to do so.  Therefore
>>>>    respect of the IPv6-Only flag is recommended, not mandatory, for
>>>>    hosts.
>>>>
>>>> On 2018-10-31 04:18, Toerless Eckert wrote:
>>>> ....
>>>>> IMHO:
>>>>>
>>>>> If the host sees the ipv6only flag from all IPv6 routers, it MUST NOT
>>>>> perform IPv4 DHCP.
>>>>
>>>> Who cares? Legacy hosts will try DHCP anyway. We don't want an updated
>>>> host to waste spectrum on this, but that's a SHOULD NOT, because such
>>>> traffic won't actually break anything.
>>>>
>>>>     Brian
>>>>
>>>> --------------------------------------------------------------------
>>>> IETF IPv6 working group mailing list
>>>> ipv6@ietf.org
>>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>>> --------------------------------------------------------------------
>>>
>