Re: [spfbis] RFC6147 and RFC7208 interoperability issues

Scott Kitterman <spf2@kitterman.com> Mon, 07 February 2022 16:21 UTC

Return-Path: <spf2@kitterman.com>
X-Original-To: spfbis@ietfa.amsl.com
Delivered-To: spfbis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 748B93A0D65 for <spfbis@ietfa.amsl.com>; Mon, 7 Feb 2022 08:21:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.1
X-Spam-Level:
X-Spam-Status: No, score=-7.1 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, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=kitterman.com header.b=p8/OtxRt; dkim=pass (2048-bit key) header.d=kitterman.com header.b=aZLp3t6Y
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 0c91EgBl-DZ3 for <spfbis@ietfa.amsl.com>; Mon, 7 Feb 2022 08:21:20 -0800 (PST)
Received: from interserver.kitterman.com (interserver.kitterman.com [IPv6:2604:a00:6:1039:225:90ff:feaa:b169]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BEC03A0D26 for <spfbis@ietf.org>; Mon, 7 Feb 2022 08:21:20 -0800 (PST)
Received: from interserver.kitterman.com (interserver.kitterman.com [64.20.48.66]) by interserver.kitterman.com (Postfix) with ESMTPS id F1716F802ED for <spfbis@ietf.org>; Mon, 7 Feb 2022 11:21:15 -0500 (EST)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1644250875; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=/WLukor1XIO2ToB1AgKQqZFp9swaW55p2M54kCPuVlc=; b=p8/OtxRtV4i+rQUWHbUbOkV+qsZYLAKdbZGmLqdhNeUueYtR1W23LM/nGzwN5DdcPmT89 5rvsiCQz92RUeZlBA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1644250875; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=/WLukor1XIO2ToB1AgKQqZFp9swaW55p2M54kCPuVlc=; b=aZLp3t6Y0IrvsV5rCnki8RP1ijplqJp5FcgI3T5eMvR5ibAY7Ef3PyJJyOeZsZngOkq5Z PxLYz6RlCH8EjxvbWNAYnSrOIK9LCeNnmdloOssUCISWZMDfMElZV86ZrUVc7QW4qzM1b3N YXEds/r90Rzyx0myJDTDv99n1VJAPjRZDUoMqcOTCry8ViJ/vN0U7l9euobYt5ANWLAGK3i I2to+hFaLHSUSF7vfiHUvTm0oAxCED4d5yTXUknDuhBdMyiKGAzQ4BWqYsmA7eD5xB3CBG4 wgay0dbt7BBNhUedqmH+0W8JCjGDy42joUkTEEzFJDctnPkeRtdWYm1hX3Kg==
Received: from localhost.localnet (static-72-81-252-22.bltmmd.fios.verizon.net [72.81.252.22]) by interserver.kitterman.com (Postfix) with ESMTP id C3AF9F801A9 for <spfbis@ietf.org>; Mon, 7 Feb 2022 11:21:15 -0500 (EST)
From: Scott Kitterman <spf2@kitterman.com>
To: spfbis@ietf.org
Date: Mon, 07 Feb 2022 11:21:15 -0500
Message-ID: <6024307.Q3qkd2Czva@localhost>
In-Reply-To: <20220207154714.40A34366F304@ary.qy>
References: <20220207154714.40A34366F304@ary.qy>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spfbis/R25ul6xy7nmiZc5nAiOErhaBfiA>
Subject: Re: [spfbis] RFC6147 and RFC7208 interoperability issues
X-BeenThere: spfbis@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SPFbis discussion list <spfbis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spfbis>, <mailto:spfbis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spfbis/>
List-Post: <mailto:spfbis@ietf.org>
List-Help: <mailto:spfbis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spfbis>, <mailto:spfbis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Feb 2022 16:21:36 -0000

On Monday, February 7, 2022 10:47:13 AM EST John Levine wrote:
> It appears that Scott Kitterman  <spf2@kitterman.com> said:
> >Reading RFC 7050, it looks like ipv4only.arpa can return more than one
> >name. That would seem to be a complication if I'm reading it correctly.
> >
> >As a practical matter, it probably doesn't matter, but RFC 7050 doesn't
> >update RFC 6147, so in theory other prefix determination methods could be
> >used.
> >
> >I guess the ::ffff:0:0/96 (IPv4-mapped Address) prefix should be considered
> >similarly.
> >
> >Is there enough here that it would be worth an Applicability Statement?
> 
> On the one hand, I think the implementation would be quite easy.  When the
> SPF library receives an external IPv6 address to check, it does the
> ipv4only lookup and if the prefix on the address is one of the mapped ones,
> it rewrites the IPv6 address to the corresponding IPv4 address and passes
> it along to the rest of the SPF code.
> 
> On the other hand, since this is the first time in fifteen years that anyone
> has run into this, I don't think it's worth fixing.  If you want to put a
> mail server behind DNS64, you're on your own.

I think that's a fair reading of RFC 6147 itself:

> 6.  Deployment Notes
>
> While DNS64 is intended to be part of a strategy for aiding IPv6
> deployment in an internetworking environment with some IPv4-only and
> IPv6-only networks, it is important to realize that it is
> incompatible with some things that may be deployed in an IPv4-only or
> dual-stack context.

OTOH, how long has DNS64 been deployed (I don't know)?  Will it see increased 
deployment in the future, so this is the leading edge of the issue?

Personally, I don't have an interest in DNS64, but I think it's not 
unreasonable for the IETF to document how to navigate the intersection of two 
standards track documents.

Scott K