Re: [BEHAVE] RFC6147 and RFC7208 interoperability issues
Keith Moore <moore@network-heretics.com> Mon, 07 February 2022 20:26 UTC
Return-Path: <moore@network-heretics.com>
X-Original-To: behave@ietfa.amsl.com
Delivered-To: behave@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA32D3A0863 for <behave@ietfa.amsl.com>; Mon, 7 Feb 2022 12:26:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.612
X-Spam-Level:
X-Spam-Status: No, score=-7.612 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.714, RCVD_IN_DNSWL_HI=-5, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 YwQ31SZgWDDO for <behave@ietfa.amsl.com>; Mon, 7 Feb 2022 12:26:48 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2775E3A08B3 for <behave@ietf.org>; Mon, 7 Feb 2022 12:26:48 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4DA725C012A for <behave@ietf.org>; Mon, 7 Feb 2022 15:26:47 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 07 Feb 2022 15:26:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=0tNj2z9EC7Q1wCbpXYW23JhxhJBGPuGq5NPdMyFxU34=; b=ZwvRSQns Rgugh42w+0v9J5kIWGdm7l3eEJjgXEzHqcFoQeYp/q9YFtTJ6mOS4QAMkzweGs3Z lI5A5owHc9bKjMpvnxhTBkdgSoQ7Vce1Bre+eaU3tTrKA79nmqu2PdxTQGTbzq+l WAwNOy+PmNSd+6QgNRw2w051UBifeoP32tjnugOy3zIZqssuXP1BfLIk4binZNHY 2mn+bs3y5vBNu7/MwyfR+IelsBlOgpdtQj711/bRd+UH+OjSObMt60LxBt41GGT9 q6s5C9tOJ5HvnPsAdaqj4tyNPTCEafBvKNK+zjcb9Po7aSEaQVtSr/Xrzu5j7ed1 auipIZKT3/PbFw==
X-ME-Sender: <xms:h4ABYk5MNCUb2uhw9eTAK1JKXF1B07JoGTShVaepYIS4m0hOfhRJZQ> <xme:h4ABYl6tsBdUVBtq7vzdI9z2V8_HJ-kNPtcWkzCfz0sx5ncpGkWSpuFhzawMMsasD 3teollXGEOUAQ>
X-ME-Received: <xmr:h4ABYjedBCC8M5V63uOO9TGC_Qu7DlAMSAe2C2HMSrB4HlTiqnKdRCIMqQ0WLFEHtrpyIjrqWeF3RraZwg8UuwDgRwnkVrbOloop>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpefmvghithhhucfoohhorhgvuceomhhoohhrvgesnhgvthif ohhrkhdqhhgvrhgvthhitghsrdgtohhmqeenucggtffrrghtthgvrhhnpefhleffleefke duiefgjeelleeugedvieeluedvffevieehudeugedugfehgeefkeenucffohhmrghinhep vgigrghmphhlvgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehmohhorhgvsehnvghtfihorhhkqdhhvghrvghtihgtshdrtghomh
X-ME-Proxy: <xmx:h4ABYpLGzayhpghqwSMX8PmL5-3mu-iMzLeqOam_UBTzrJ0exx92DA> <xmx:h4ABYoJ84FrqBiSG6OwU4ufB_-R2O5ztWggeqFBQMf0Lmr5UNsyGTA> <xmx:h4ABYqxrMGZos6oUjMsWdVKyG9ca-4cAQAer7wfKW4rLGfGdbVRxhg> <xmx:h4ABYtWyuExyDno766CazWubznnYa_6KEwEraqYBNmz6q0sxnxXR0A>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <behave@ietf.org>; Mon, 7 Feb 2022 15:26:46 -0500 (EST)
Message-ID: <650e2102-7bc5-5890-e998-b79b40542499@network-heretics.com>
Date: Mon, 07 Feb 2022 15:26:46 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
Content-Language: en-US
To: behave@ietf.org
References: <077D662F-5E6D-44F5-8DD3-B58D8B535C5D@network-heretics.com> <B6D6B4CC-AC1F-459C-952A-E9493E00FDB3@huitema.net> <7e53925e-46b0-29e4-6deb-47bcf389ff97@posteo.de> <DC6F8DB5-4D01-466F-A042-1769E5FBB677@gmail.com> <ed382d77-483c-5a07-3498-eac0cd38abbd@network-heretics.com> <f4967d34-f7ba-4024-b4ac-9e6dfce427fa@posteo.de>
From: Keith Moore <moore@network-heretics.com>
In-Reply-To: <f4967d34-f7ba-4024-b4ac-9e6dfce427fa@posteo.de>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/behave/E139KpIFbZoqTiCd4wQwH4N5P9o>
Subject: Re: [BEHAVE] RFC6147 and RFC7208 interoperability issues
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/behave/>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Feb 2022 20:26:53 -0000
On 2/7/22 15:00, Klaus Frank wrote:
>
> On 2022-02-07 20:51, Keith Moore wrote:
>> On 2/7/22 14:37, Dan Wing wrote:
>>
>>> Could the SPF problem dissipate if SPF records only contained DNS
>>> names and deprecate IP addresses?
>>
>> I suspect this just would just make SPF records even less reliable
>> than they already are, because the DNS name adds an extra layer of
>> indirection that also has a high probability of being wrong.
>
> Not really. Using DNS is already part of the SPF standard (section
> 5.7) via "v=spf1 exists:%{ir}.%{l1r+-}._spf.%{d} -all":
>
> The <target-name> might expand to
> "1.2.0.192.someuser._spf.example.com". This makes fine-grained
> decisions possible at the level of the user and client IP address.
I'm aware of that, but common practice among mail operators seems to be
to use IP addresses. I'm not sure what their reasons for that are -
they might simply want to make lookups more efficient - but it's a
truism that every extra layer of indirection is another opportunity for
configuration error. (Unless perhaps all such DNS records are
automatically updated from a network configuration database, but I don't
think that practice is nearly universal yet.)
>
>> Also, it doesn't rid the burden of applications operating behind the
>> NAT to be aware of the NAT. For better or worse, applications have a
>> lot of incentive to use DoH or DoT because local resolvers are
>> sometimes under-provisioned or unreliable, network providers
>> sometimes spy on DNS traffic, etc. Using DoH or DoT can result in
>> more reliable, consistent operation with less delay due to DNS lookup
>> time. So if the application is going to benefit from SPF records
>> having DNS names in them, it has to know to use the DNS64 server to
>> lookup those DNS names and get the (possibly fake) IPv6 source
>> addresses back.
>>
>> The general problem that DNS is often out of sync with reality (at
>> least in part because DNS isn't federated in the same way that
>> reality is) is hard to fix.
> What exactly do you mean Split-DNS? Which is another pitfall why using
> DoH and DoT is problematic and (from admin perspective) not desirable.
> And when they're used to use the same DNS infrastructure you consider
> "out of sync" via a DoH or DoT resolver...
Split DNS is indeed a problem. DNS was simply not designed to work that
way. It's Mostly Harmless IMO if the only thing that Split DNS is used
for is to hide records of internal hosts that aren't supposed to be
externally reachable anyway. If the connection attempt will never
succeed anyway, DNS Name Lookup Failure is not (much) worse than
Connection Timed Out. But when DNS presents different successful query
results depending on who is asking, that's a Bad Idea. It's not
reasonable for a DNS server to assume that the connection attempt would
be made from the same source IP address, or even network, that the query
is coming from. The very fact that DNS explicitly supports and
encourages caching should make that clear. DNS was never expected to
reflect network topology.
But "DNS is out of sync with reality" is a more general problem than
that. It's simply that the people who maintain DNS and the people who
maintain the applications and the hosts on which those applications run,
are often different people, in different departments or even different
companies. Sometimes the problem is even worse. I once worked for a
company that hired a marketing firm to revamp its web site. That
marketing firm, or its web designers, not only updated the HTML/JS/etc
code for the web site but also apparently arranged for new DNS hosting
and told the network admin to change their NS records to point to the
new DNS hosts. And corporate marketing ordered the local IT people to
Make It So. That broke every other network-based app that the company
had, because both the hired marketing firm and corporate marketing
didn't even have any idea that there might be other uses for a company's
domain name than to reach their web site or to find the inbound SMTP
server. This might seem like an unusual example, but in my experience
this kind of problem has been quite common.
I'm aware that there's a tussle between local network admins and
application vendors over whether to use DoT/DoH. I firmly side with the
application vendors, because unreliable DNS (even from major ISPs) is
far too common. Applications need a predictable and reasonably
reliable environment to operate in. From the point of view of
application vendors, local DNS resolvers behave very inconsistently and
with widely varying degrees of reliability, and there are lots of
longstanding security issues with port 53. Realistically, many
applications have to have some support for lookup of local names anyway,
so they still need to consult local DNS resolvers for some things. But
if the application knows that a particular server it's using is on the
public Internet, using DoH/DoT exclusively to find that server, or using
the local resolver only as a last resort, makes a lot of sense.
Keith
- [BEHAVE] RFC6147 and RFC7208 interoperability iss… Klaus Frank
- Re: [BEHAVE] [spfbis] RFC6147 and RFC7208 interop… Marc Blanchet
- Re: [BEHAVE] [spfbis] RFC6147 and RFC7208 interop… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Dan Wing
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… JORDI PALET MARTINEZ
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… mohamed.boucadair
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Andrew Sullivan
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… David Conrad
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Andrew Sullivan
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… David Conrad
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… David Conrad
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Christian Huitema
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Dan Wing
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Dan Wing
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Andrew Sullivan
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… marcelo bagnulo braun
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Keith Moore
- Re: [BEHAVE] RFC6147 and RFC7208 interoperability… Klaus Frank
- Re: [BEHAVE] [spfbis] RFC6147 and RFC7208 interop… Hector Santos
- Re: [BEHAVE] [spfbis] RFC6147 and RFC7208 interop… Mark Andrews
- Re: [BEHAVE] [spfbis] RFC6147 and RFC7208 interop… Mark Andrews