[dns-privacy] Re: [DNSOP] Re: Proposal for opportunistic transport signaling from authoritative servers

Shreyas Zare <shreyas@technitium.com> Wed, 09 July 2025 07:29 UTC

Return-Path: <shreyas@technitium.com>
X-Original-To: dns-privacy@mail2.ietf.org
Delivered-To: dns-privacy@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 653BB41C2241; Wed, 9 Jul 2025 00:29:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.864
X-Spam-Level:
X-Spam-Status: No, score=-1.864 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.232, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=technitium.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQGcCoRFaZ-c; Wed, 9 Jul 2025 00:29:03 -0700 (PDT)
Received: from sender-op-o11.zoho.in (sender-op-o11.zoho.in [103.117.158.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id C1D7E41C2237; Wed, 9 Jul 2025 00:29:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1752046139; cv=none; d=zohomail.in; s=zohoarc; b=EpSOC4G26yOdBecNXhCqF04IJU3UY3NkkTMwStAuasL0pfcxX5J87buH4JsGPG56qwB5wy+TT/PKSAPMsxOc7zo27It+lXS4kU/i3lAt0cyKRk5nUQxft8cZ2dpx2aD+6KJdKS13kFZ/3yGxDZYQ3SjkCqYk+gvor1Sjjx3XR1o=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1752046139; h=Content-Type:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=/K/Svldc0dkXHEj2O13/ilqPtT+A8vvAx4jicyqWWmM=; b=QRDSFKVSgcL+yCESIJ9H/3mZ1lGZ86SDLgWmPlOOgpgi7NTwabx/md1pZ0ap3W96ZaYUdXRmg4PhZhn/w4p3kQ15iVAXZ+0sBSX30QXVi5EoJmOGz9b6dkyd5ZYCLeAbWW8UBoEwBT1Hutp02seOyuYWrs+7H9iwm7d9xxjuoBo=
ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=technitium.com; spf=pass smtp.mailfrom=shreyas@technitium.com; dmarc=pass header.from=<shreyas@technitium.com>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1752046139; s=zmail; d=technitium.com; i=shreyas@technitium.com; h=Content-Type:Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:References:From:From:In-Reply-To:Message-Id:Reply-To:Cc; bh=/K/Svldc0dkXHEj2O13/ilqPtT+A8vvAx4jicyqWWmM=; b=bfI7heP6yHspo93pCUYnnCyGbYk7V0DjYKitn0bTXE+68Jh+5nflxFEZXrTODmzg uO0MRKnt9ZSrK4JzLv51WB6mFB1h1fHkr/AXO82GzgK7ofxQu2MEUJEHW+agFdMY1oy YRjqxDfOxl4SpIGYbdAqP+3M7NCmdyj5oV7yUCpI=
Received: by mx.zoho.in with SMTPS id 1752046136956529.9962512834254; Wed, 9 Jul 2025 12:58:56 +0530 (IST)
Content-Type: multipart/alternative; boundary="------------QglQMEO6l9f7LaKpjHd0iwzs"
Message-ID: <cf50874b-f203-4911-abc1-89197abda90e@technitium.com>
Date: Wed, 09 Jul 2025 12:58:56 +0530
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Working Group DNSOP <dnsop@ietf.org>, "dns-privacy@ietf.org" <dns-privacy@ietf.org>
References: <DM6PR15MB23616C3158B0B75763712251B378A@DM6PR15MB2361.namprd15.prod.outlook.com> <28E91939-7F62-4707-AD88-2492CDFB2E32@strandkip.nl> <DM6PR15MB236101155DF60A3C47B7138FB378A@DM6PR15MB2361.namprd15.prod.outlook.com> <efce2948-196e-4ec9-949f-4c6897ae3a19@desec.io> <2A19040C-0175-4332-9C20-9E5FC8E5DB8A@meta.com>
Content-Language: en-US
From: Shreyas Zare <shreyas@technitium.com>
In-Reply-To: <2A19040C-0175-4332-9C20-9E5FC8E5DB8A@meta.com>
X-ZohoMailClient: External
Message-ID-Hash: KIW6AXHYUHF5CATI2RQ2QWRDOC46LHIQ
X-Message-ID-Hash: KIW6AXHYUHF5CATI2RQ2QWRDOC46LHIQ
X-MailFrom: shreyas@technitium.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dns-privacy.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [dns-privacy] Re: [DNSOP] Re: Proposal for opportunistic transport signaling from authoritative servers
List-Id: Addition of privacy to the DNS protocol <dns-privacy.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dns-privacy/pjhunpDMErAgACD-VuUOTAcBPjk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dns-privacy>
List-Help: <mailto:dns-privacy-request@ietf.org?subject=help>
List-Owner: <mailto:dns-privacy-owner@ietf.org>
List-Post: <mailto:dns-privacy@ietf.org>
List-Subscribe: <mailto:dns-privacy-join@ietf.org>
List-Unsubscribe: <mailto:dns-privacy-leave@ietf.org>

On 7/9/2025 3:43 AM, Ben Schwartz wrote:
>> On Jul 8, 2025, at 5:39 PM, Peter Thomassen<peter=40desec.io@dmarc.ietf.org> wrote:
>>
>> On 6/24/25 21:37, Ben Schwartz wrote:
>>> 1. An attacker could strip the SVCB record and its RRSIG, resulting in an ordinary delegation response that would be accepted and used without encryption.
>> While that is true, the same attacker can also prevent RFC9539-style opportunistic probing, by blocking the port or sending weird traffic. If that's deemed an OK threat model (for opportunistic encryption), I think the same applies here.
> The security here is opportunistic, just like RFC 9539.  I agree that it’s not weaker than RFC 9539.
>
>> Also, such stripping is more easily observable via standard DNS queries (and looking for the additional SVCB record, e.g., using RIPE ATLAS).
> It sounds like you’re arguing that the attack in this case has less plausible deniability?  Perhaps, but in either case there is no trivial way to identify the attacker.
>
>> It may be more difficult to directly compare reachability of port 853 from other vantage points, both because other network reasons may be at fault, and because the observer needs more capabilities (does RIPE ATLAS support that?).
> I don’t think it’s more difficult.  “Can I reach port 853?” seems easier than “Did the delegation response from this address include a SVCB record in the additional section?”.
>
> Overall, my view is that RFC 9539 is a fine solution for opportunistic DoT that has already achieved a nontrivial amount of implementation and deployment.  We can talk about other ways to do opportunistic DoT that might reach more users, but I think we’re unlikely to encrypt significantly more traffic that way.  The number of resolvers who would do opportunistic-SVCB-DoT but not RFC 9539 seems too small.
>
> The real prize is authenticated DoT.  For that, our best bet is DELEG.  I would rather focus more mental energy on DELEG, rather than spending more time on other (weaker) proposals.
>
> I also appreciate the unambiguously opportunistic structure of RFC 9539.  In my view, it muddies the water to define an explicit DoT upgrade signal that is not actually secure.

+1

The another thing to add here is that a resolver which implements RFC 
9539 will have issues implementing opportunistic-SVCB-DoT along with it. 
The resolver would anyways be probing DoT 853 without the SVCB signaling 
and when there is an explicit SVCB signal, it will be essentially doing 
the same - probe for DoT 853. I do not see how it is an improvement to 
RFC 9539.

Regards,
*Shreyas Zare*
Technitium <https://technitium.com/>