Re: Question about RFC6724

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 02 May 2022 20: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 EB6B3C14F744 for <ipv6@ietfa.amsl.com>; Mon, 2 May 2022 13:49:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.956
X-Spam-Level:
X-Spam-Status: No, score=-8.956 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=-1.857, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CrdD_ZtEqVHG for <ipv6@ietfa.amsl.com>; Mon, 2 May 2022 13:49:31 -0700 (PDT)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 99E93C14F742 for <ipv6@ietf.org>; Mon, 2 May 2022 13:49:31 -0700 (PDT)
Received: by mail-pl1-x62a.google.com with SMTP id x18so2222233plg.6 for <ipv6@ietf.org>; Mon, 02 May 2022 13:49:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=yyfHjgcff7ZB/N4QasCup70ZuTrSgiPmWZgQS3lhoJU=; b=DGAGYRMYsd6Ds5sQVQLwxLrRVLkSzcInVNxQRmBRc+1u0P69PrW4xMgkADsbxDTMK1 470iPXlI1oPA3g5qT1J1hGRdhLBUi0YJOFoJfdpKZGlZGBR6lWFEvrRS9OwbeLs1knKl KzqZeArZGFdM6b855LY34go/ITj0APYsH5wFAlAGm6SlOki/BL5ttvqtcGPxhyBhblCR ZTVCkaXosyeKAjwRws1HtmMhHKnumA4xNiQ9VdOd+bkLXtnw9Ob5h4Pn6JJ/TwwJDMxN mWdefjuiOaZxGxajTftlDCSfj3AyHV1Bz3xBmDG+P5fMYhaDG0OreOoci8wj9QLMwSTp p7fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=yyfHjgcff7ZB/N4QasCup70ZuTrSgiPmWZgQS3lhoJU=; b=28MVvswLIKIUemImIj5FPuKat231QK6BvQKFx6BSDz10zWdN4M/t3nrm5t+1Lodasp vEHCL1di3jj5Z2nIvvxuxa4AU80p8AGq8hZ4vEhtEZVXcvpjh7JA8Vw57rWpWsBGwtWM renvJPjAt+acCLoIEt2xhP3Ct50t7OSMitpLZ+nh4wF/uZL3uVGKYRzpaxl0vWkfiTVw Wg0v2Xr2HpoIcgs3lDeKaihdaC17q8qXASN2ilZ/5/v9RfML/cS6VVBrW1BGydTbByyF 111Uk4zwnPih3XnVPiI0+mnvR79csbSbSBwzlCP9I9jaNMV1+PWB3X+zzFvMWeeIkSoH gjqw==
X-Gm-Message-State: AOAM5309hEzztj9SQ/lLNkArNiHpz4V53Bv444LzxP/7jAmx0lg3WqIG O2ZCoFIKa3eWJfvskaytgCGBPjEaoHGFmg==
X-Google-Smtp-Source: ABdhPJxZHoUlSwecYJVRb9aBYY28FV7OAwmlmAYfqut7Ntj7NWyKF9RJ1JQh37H7Ucg7UPXhK+eLEw==
X-Received: by 2002:a17:902:988f:b0:15b:8195:5199 with SMTP id s15-20020a170902988f00b0015b81955199mr13663431plp.96.1651524570688; Mon, 02 May 2022 13:49:30 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id u6-20020a17090ae00600b001daac75511esm106920pjy.51.2022.05.02.13.49.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 May 2022 13:49:30 -0700 (PDT)
Subject: Re: Question about RFC6724
To: Philip Homburg <pch-ipv6-ietf-8@u-1.phicoh.com>, ipv6@ietf.org
References: <m1nlQqC-0000IEC@stereo.hq.phicoh.net>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <efffe452-cbcb-e546-972b-e2bb22a98b62@gmail.com>
Date: Tue, 03 May 2022 08:49:25 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <m1nlQqC-0000IEC@stereo.hq.phicoh.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/KoYFP-0dLfCHIB0vPgMaZVrU2hY>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.34
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, 02 May 2022 20:49:32 -0000

On 02-May-22 19:51, Philip Homburg wrote:
>> Excuse my ignorance, but I have a question about RFC6724. The rules depend on
>> longest prefix matching and therefore on the definition of CommonPrefixLen(S,
>> D).
>>
>> The way it's defined doesn't work for ::ffff:0:0/96, as far as I can see:
> 
> In the context of RFC 6724, can you give an example where limiting the
> CommonPrefixLen to 64 gives the wrong result?

If read that way, it means that all IPv4-mapped addresses match each other
at /64. I'm sure that isn't the intention and I very much doubt that any
implementation does that. See my reply to Fred Templin.

> If there is a choice between different IPv4 source or destination
> addresses, then the RFC allows implementations to have extra code.
> Aditionally, specifying the behavior of IPv4 implementations seems
> out of scope.

It's certainly not out of scope for the IETF ("make the Internet work
better") and this RFC was produced by 6MAN.

Regards
     Brian