Re: RFC6724-bis?

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 22 September 2022 21:49 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 454E1C14CE33 for <ipv6@ietfa.amsl.com>; Thu, 22 Sep 2022 14:49:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FPWgGy5D1nep for <ipv6@ietfa.amsl.com>; Thu, 22 Sep 2022 14:49:47 -0700 (PDT)
Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFF20C14CE20 for <ipv6@ietf.org>; Thu, 22 Sep 2022 14:49:43 -0700 (PDT)
Received: by mail-pl1-x630.google.com with SMTP id f23so10051336plr.6 for <ipv6@ietf.org>; Thu, 22 Sep 2022 14:49:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=M9O2I4NKkEuB75Yr9CfMoCWJizRKJ0FqeazPUhxpzb0=; b=RhrOq1xW+7FxcewcEcAeq1DDCUi9WcAS0Pkf7JIVrUqMQUTbxcGCRQlFq1pi6GmxNx LuarcBMhXkP+/l+hJ8H3M20/6xybgiXHAoDIqjsnGUQxvEuNGo3225P8kNGr8qZtj8se zDg3LlQFqHwH7aYc7IUAY2MJqvBpKjoFVVJTNL9blnZjGS4bG23EiaRcwympU/LIyJcT JWqWwlVwApLd0f8NtlphvTcjqLPkrpioqaZAI4Hp4F3BxhEvNy9dfvldk9lgho5mxx8X pn3FMqX2WAqqvJyPtZ0EPubRzyMGM1NeUCh8g4zmd6ourSuxCH8291gfjF3rf6QZ1LhQ yJeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=M9O2I4NKkEuB75Yr9CfMoCWJizRKJ0FqeazPUhxpzb0=; b=0zHaNxDEO6rtAc5MFuvZrKBDkSBJqwXy5fSfPxLviaHEWHjfVEOZJyCcOmijo4hEvc YmmHcYxCCF1LVeXjjjw0Lwn85xYG4jJBJZZQGZqEycLeeWyPQJoX2/jpUDINyq7D+REw +UPIn/YITuXKQekOvw/BcbIWLJ7fC3940A3dTj1Ed1wvX89OoIYm/xHi71bC3CI+bKX8 lTDUS/tFO2GyKmzzuxgIqtom5hV81aoPxMJlLFpXvj6e/f4hthU/uTKyssIXAk93MMna GY0DlsYEEuI9MBbfjw37zbSvW4aeZyNaJs3UWNWqFKinSUGbDMjTbfRZAkfapyuI1w7s Sowg==
X-Gm-Message-State: ACrzQf3vvMvVy7Xa2s73hvYXZe8zNKlNkTi4oztoa5u7vAayIrpPExd8 BWVywtSZaIiVL5pGPPP0R7J2CSRbyy5XcA==
X-Google-Smtp-Source: AMsMyM5w05dS08pViJnrZcdl3fNKBgU3Pbhb7ihPnVYmU7d692torlGjVw7kPZCRh6CJJmpvXnN8Xg==
X-Received: by 2002:a17:902:e545:b0:177:e335:9757 with SMTP id n5-20020a170902e54500b00177e3359757mr5155852plf.152.1663883382945; Thu, 22 Sep 2022 14:49:42 -0700 (PDT)
Received: from ?IPV6:2406:e003:1124:9301:80b2:5c79:2266:e431? ([2406:e003:1124:9301:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id q12-20020a17090311cc00b001766a3b2a26sm4675033plh.105.2022.09.22.14.49.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Sep 2022 14:49:41 -0700 (PDT)
Message-ID: <4c5ce446-e860-0f1f-9440-1fd11a7a979b@gmail.com>
Date: Fri, 23 Sep 2022 09:49:37 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Subject: Re: RFC6724-bis?
Content-Language: en-US
To: Vasilenko Eduard <vasilenko.eduard@huawei.com>, "buraglio@es.net" <buraglio@es.net>, "ipv6@ietf.org" <ipv6@ietf.org>
References: <66892DC8-6DA4-4DC8-85B0-E1E1647CD9F7@gmail.com> <CAM5+tA9kttCKrZaoB7UzNdE6TU1qGNMaxDmWvFtRvpB4A8+WHA@mail.gmail.com> <8FE71499-D155-4853-A964-6617F6EA2069@gmail.com> <CAM5+tA9QuYxVs+NXBD3dAYr_Y=95bWt63WjmEMDOfegL0Z4otA@mail.gmail.com> <CAM5+tA_hg2sXXsYw6Tcx-ytRAMkKQcFw8a3N7SfEXwbuPm0LMw@mail.gmail.com> <00ea3b70-ba8e-b6ef-e1ce-fdd56828f506@gmail.com> <c760caaae929475ca37dfbe7ca2dfc8f@huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <c760caaae929475ca37dfbe7ca2dfc8f@huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/nEeFnArYgLsTznFwHV3_3KEdil4>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
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, 22 Sep 2022 21:49:51 -0000

A slip of the keyboard, sorry. 41 would do. It depends exactly what you want to achieve, of course.

Regards
    Brian

On 22-Sep-22 20:12, Vasilenko Eduard wrote:
>> The other question is: would it be sufficient to do something much simpler, i.e., simply boost the ULA prefix in the default policy table and all
> examples:
>>      fc00::/7              31    13
> 
> Why precedence 31? It is below IPv4
>     ::ffff:0:0/96         35     4
> 
> Ed/
> -----Original Message-----
> From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Brian E Carpenter
> Sent: Thursday, September 22, 2022 8:25 AM
> To: buraglio@es.net; ipv6@ietf.org
> Subject: Re: RFC6724-bis?
> 
> I agree with Bob that a stand-alone draft (Updates: 6724) is probably a simpler approach than re-opening the whole RFC to comments.
> 
> Apart from that, the proto-draft says:
> 
>      An implementation MUST automatically add additional site-specific rows
>      to the default table based on its configured addresses, such as for
>      Unique Local Addresses (ULAs) [RFC4193] and 6to4 [RFC3056] addresses,
>      for instance (see Sections 10.6 and 10.7 for examples).
> 
> That doesn't really compute, because 6to4 is pretty much ancient history.
> If we make a change of this kind, I think it should be specific to ULAs.
> And if we want to make the section 10.6 behaviour mandatory, I think we'd want the wording to be precise (with an explicit description of the algorithm the kernel should use).
> 
> We should also, I think, state clearly that the expectation is that ULAs will normally be discovered via split-horizon DNS, or some other local discovery mechanism (e.g. the one in GRASP [RFC8990]).
> 
> The other question is: would it be sufficient to do something much simpler, i.e., simply boost the ULA prefix in the default policy table and all
> examples:
> 
>        fc00::/7              31    13
> 
> Where's the harm in that? It will mean that ULAs are picked by the longest match rule when they are present. That won't happen unless there *are* ULAs, so it has precisely zero impact on sites that don't use them.
> 
> It does no harm to add higher precedence for locally defined ULAs, but I am not convinced it's useful either, in the normal case.
> 
> The proto-draft also says:
> 
>      This behavior is required for proper functioning of ULA addressing,
>      thus preserving the preference of IPv6 over legacy IPv4 in dual stacked
>      environments as detailed in draft-v6ops-ula. Additionally, requiring
>      local site-specific addressing entry into all nodes preference list
>      further scopes the network communication to local and remote per the
>      respective addressing blocks and creates a more consistent operational
>      model and user experience.
> 
> I agree with the statement, but it would sit more naturally in a stand-alone update than as a patch on RFC6724.
> 
> Regards
>      Brian
> 
> On 21-Sep-22 20:47, Nick Buraglio wrote:
>> I've gotten some feedback that the diff is hard to read because of the
>> formatting, so here is a link to the proposal. Please bear in mind
>> that this is *very* crude and was meant to simply track the idea.
>> https://github.com/buraglio/ietf-draft-buraglio-rfc6724-update
>>
>> ----
>> nb
>>
>> On Wed, Sep 21, 2022 at 10:29 AM Nick Buraglio <buraglio@es.net> wrote:
>>>
>>> Totally agree - this is just a starting point. I am happy to work on
>>> whatever the group feels is the right approach and what we feel will
>>> reach consensus.
>>>
>>> ----
>>> nb
>>>
>>> On Wed, Sep 21, 2022 at 10:25 AM Tim Chown <tjc.ietf@gmail.com> wrote:
>>>>
>>>> Thanks Nick.
>>>>
>>>> I think the aim here is to see if the WG can get consensus on an approach to address the problem, and document that for consideration for WG adoption.  Nick has diffs below to 6724, but it could be a short standalone document the updates 6724.
>>>>
>>>> Tim
>>>>
>>>>> On 21 Sep 2022, at 09:02, Nick Buraglio <buraglio@es.net> wrote:
>>>>>
>>>>> The changes that I had proposed in my github repo are below, these
>>>>> are just a starting point, I welcome any and all input.
>>>>>
>>>>>
>>>>>
>>>>> @@ -12,7 +12,7 @@ ISSN: 2070-1721
>>>>>         A. Matsumoto
>>>>>
>>>>>
>>>>>       Default Address Selection for Internet Protocol Version 6
>>>>> (IPv6)
>>>>> -
>>>>> +                ietf-draft-buraglio-rfc6724-update.txt
>>>>> Abstract
>>>>>
>>>>>      This document describes two algorithms, one for source address
>>>>> @@ -347,14 +347,14 @@ RFC 6724           Default Address Selection for
>>>>> IPv6     September 2012
>>>>>         fec0::/10              1    11
>>>>>         3ffe::/16              1    12
>>>>>         fec0::/10              1    11
>>>>>         3ffe::/16              1    12
>>>>>
>>>>> -   An implementation MAY automatically add additional site-specific rows
>>>>> +   An implementation MUST automatically add additional
>>>>> + site-specific rows
>>>>>      to the default table based on its configured addresses, such as for
>>>>>      Unique Local Addresses (ULAs) [RFC4193] and 6to4 [RFC3056] addresses,
>>>>>      for instance (see Sections 10.6 and 10.7 for examples).  Any such
>>>>>      rows automatically added by the implementation as a result of address
>>>>>      acquisition MUST NOT override a row for the same prefix configured
>>>>>      via other means.  That is, rows can be added but never updated
>>>>> -   automatically.  An implementation SHOULD provide a means (the
>>>>> +   automatically.  An implementation MUST provide a means (the
>>>>>      Automatic Row Additions flag) for an administrator to disable
>>>>>      automatic row additions.
>>>>>
>>>>> @@ -363,7 +363,15 @@ RFC 6724           Default Address Selection for
>>>>> IPv6     September 2012
>>>>>      addresses, 6to4 source addresses with 6to4 destination addresses,
>>>>>      etc.  Another effect of the default policy table is to prefer
>>>>>      communication using IPv6 addresses to communication using IPv4
>>>>> -   addresses, if matching source addresses are available.
>>>>> +   addresses, if matching source addresses are available.
>>>>> +
>>>>> +   This behavior is required for proper functioning of ULA addressing,
>>>>> +   thus preserving the preference of IPv6 over legacy IPv4 in dual stacked
>>>>> +   environments as detailed in draft-v6ops-ula. Additionally, requiring
>>>>> +   local site-specific addressing entry into all nodes preference list
>>>>> +   further scopes the network communication to local and remote per the
>>>>> +   respective addressing blocks and creates a more consistent operational
>>>>> +   model and user experience.
>>>>>
>>>>>      Policy table entries for address prefixes that are not of global
>>>>>      scope MAY be qualified with an optional zone index.  If so, a prefix
>>>>> @@ -1541,7 +1549,7 @@ RFC 6724           Default Address Selection for
>>>>> IPv6     September 2012
>>>>>                      C., and M. Azinger, "IANA-Reserved IPv4 Prefix for
>>>>>                      Shared Address Space", BCP 153, RFC 6598, April 2012.
>>>>>
>>>>> -
>>>>> +
>>>>>
>>>>>
>>>>>
>>>>> @@ -1775,6 +1783,9 @@ Authors' Addresses
>>>>>
>>>>>
>>>>> ----
>>>>> nb
>>>>>
>>>>> On Tue, Sep 20, 2022 at 6:06 PM Tim Chown <tjc.ietf@gmail.com> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> As an author of RFC6724 I’ve had the discussions about a possible update of RFC6724 brought to my attention.
>>>>>>
>>>>>> An example thread over on v6ops is https://mailarchive.ietf.org/arch/msg/v6ops/W6HjHc11JX364soq3t3gFMHSawE/, but there are others.
>>>>>>
>>>>>> Nick Buraglio has documented the problem in draft-ietf-v6ops-ula-00.  The short of it is that RFC1918 IPv4 addresses may be preferred to IPv6 ULAs in certain circumstances, which I would agree is not desired behaviour.
>>>>>>
>>>>>> There are a few ways we might look to address this.  There is a proposal from Nick (not yet published outside a git repo) to address it by changing wording in section 2.1, with a couple of MAYs becoming MUSTs, and adding an extra explaining paragraph.  This basically firms up the requirement to follow 6.10 on adding an extra precedence line for local ULA prefix(es).
>>>>>>
>>>>>> Now, that may or may not be the preferred solution of the WG, but I think there’s a few questions to consider:
>>>>>>
>>>>>> 1. Is there agreement we should address the problem?  I’d assume so because Nick's problem draft was adopted by v6ops.
>>>>>>
>>>>>> 2. If so, is 6man the place to do it?  I think it has to be.  RFC6724 was born here.
>>>>>>
>>>>>> 3. How do we determine the best solution to the problem?  I suspect there are nuances in play that will make a one size fit all ’simple’ fix tricky, but I look forward to the discussion.  Nick has one proposal that counts to a couple of word changes and an extra paragraph, which I’d encourage him to share here, but there are other approaches proposed on v6ops.  I think either way, it will require some update to or for RFC6724.
>>>>>>
>>>>>> 4. Does this work warrant a full -bis or would a separate RFC that updates 6724 be better?  A separate Updating draft might better highlight the issue to implementors.  But then RFC6724 is now ten years old, and RFC3484 which it replaced was nine years before that.
>>>>>>
>>>>>> 5. If we choose to open up a full -bis, are there any other worms in this can?  I have a feeling also here I know the likely answer….
>>>>>>
>>>>>> Anyway, over to the WG… thoughts?
>>>>>>
>>>>>> Tim
>>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> 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
> --------------------------------------------------------------------