[secdir] Re: Secdir early review of draft-ietf-dnsop-compact-denial-of-existence-04

Brian Weis <bew.stds@gmail.com> Wed, 31 July 2024 17:11 UTC

Return-Path: <bew.stds@gmail.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94598C169400; Wed, 31 Jul 2024 10:11:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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, HTML_MESSAGE=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] 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 baCTTc0UC7MQ; Wed, 31 Jul 2024 10:11:46 -0700 (PDT)
Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9FC70C14CF13; Wed, 31 Jul 2024 10:11:18 -0700 (PDT)
Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1fd8faa28fdso2410675ad.0; Wed, 31 Jul 2024 10:11:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722445878; x=1723050678; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=GnFLS6KmnrC1qxwEQibtCUq5y22qwPi4lSCF4UMLWPw=; b=cY0cXIduvMnZ5of+43qQwbUcpxx6oguw804OvRZNwuOvn+nahZD0g/NdiBpV1bKNew FOmriF1MqOgde1TJGEpLRHPAMfjGHMpL+8k+5d3QvYgfhY9hOK8gP0nn6A95BX0tjBcb urBTzRTdT5bp7xrhKROHsrIRfM3o6tdGi9zxuog8gLR4LX4yVg+LgixuqDy+AtKQHYPB syWjph+REeFErH0XsOKnATui7spp0IrsIf10BKQhP7Xn2uNGfvQJj1tnToB3HejJL8vI L0Qg41/9igDIRzmmGThsD76pba15nXpgz+RTGCHAXEcejtxf3LUtrhe2CBMmz2+2Noji uRcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722445878; x=1723050678; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GnFLS6KmnrC1qxwEQibtCUq5y22qwPi4lSCF4UMLWPw=; b=IrN4y12hy05m+yAKI91kyoTVprtMLbtub0OjN/TSsAiIA00L2GQJIQSDGuxJTfGgt2 fmh+wZbuKBghaLPTHpeeSPZb+9S7r2fvt90Kp3gba6qWaxoW4R+ZYQqD3vrZHdQABQit 1em4FzUCwxgL9XHH1lfUwn57zMEKjCH1XIaZNq/zjdT7z35GzQfXJLDi0pPBR8OXqtqr A+nnumjxw+o8yKja2dDCdDajAa1Rb9Ulp6lOPH8HNRFg56Q1LfCPJoZA0eVpdWTlFR/A TTUcsTzxU3ZAfPWyS2WfmpS2s6sHvqXhaqjNPhAr9ZFVTk2ezJqSRjzEVjML6uCI7WQL lk3w==
X-Forwarded-Encrypted: i=1; AJvYcCVKyAjDwqA79/gwLpEDGfqe/pccw2/Y32jQWI+IdwZl+EQlHRiKe8VoS5SE92cknu7tDN6JhA==@ietf.org, AJvYcCXPIyH3056gHUf5QZQ2M8EqIo7hgVZJcsu8V4moJcOjCbXu2Kx/erroNL+gGaD2iTyLLVq4VMXpSRrCTKnnoFqgPgLC/KTlpfYludpAs9gHNhlUpNgpaidzWy5h3t+1FqHG@ietf.org
X-Gm-Message-State: AOJu0YyB6dH5XsYAZZUBiB6z5RChs1bSowxIN+YjlNUS29kkTONkEa0U uxYvNatePpT1RJY/eEQO/o6omM3AmZMgJ11iZBC6EL5NM81Px4VYS2du/s8Y
X-Google-Smtp-Source: AGHT+IF+RJU6dyp2hHKyssetNvjadlQP3rtgkzYIXoZh3TyWaP0AW54+rL3p0SGQLAS2ELIxKTQlCw==
X-Received: by 2002:a17:902:6909:b0:1fb:43b5:8793 with SMTP id d9443c01a7336-1fed6d5e1aemr132376345ad.6.1722445877387; Wed, 31 Jul 2024 10:11:17 -0700 (PDT)
Received: from smtpclient.apple ([2600:1700:65ab:5a00:3140:6f8a:9f00:af81]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7f957acsm122803385ad.252.2024.07.31.10.11.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2024 10:11:17 -0700 (PDT)
From: Brian Weis <bew.stds@gmail.com>
Message-Id: <1531594C-192F-43AF-B7B8-56E4728A8823@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EA0DA3E5-89E6-4454-86D0-49AC6A0B0BB1"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\))
Date: Wed, 31 Jul 2024 10:11:06 -0700
In-Reply-To: <CAHPuVdUexV6B2DY+ma02pmYxYFNfXB_4d-WDKS1_Vz2oCV4SHA@mail.gmail.com>
To: Shumon Huque <shuque@gmail.com>
References: <172238346320.1988233.11549951810315868557@dt-datatracker-659f84ff76-9wqgv> <CAHPuVdUexV6B2DY+ma02pmYxYFNfXB_4d-WDKS1_Vz2oCV4SHA@mail.gmail.com>
X-Mailer: Apple Mail (2.3774.600.62)
Message-ID-Hash: HB5FYOQGSNEMFT7G52SJXMUI3ZA5SWMA
X-Message-ID-Hash: HB5FYOQGSNEMFT7G52SJXMUI3ZA5SWMA
X-MailFrom: bew.stds@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: secdir@ietf.org, dnsop@ietf.org, draft-ietf-dnsop-compact-denial-of-existence.all@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [secdir] Re: Secdir early review of draft-ietf-dnsop-compact-denial-of-existence-04
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/VbxM_2xLnay3XYbRx9Uw4BP5vuY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>

Hi Shumon,

Thanks … your replies to the questions make sense to me.

Brian

> On Jul 30, 2024, at 7:13 PM, Shumon Huque <shuque@gmail.com> wrote:
> 
> On Tue, Jul 30, 2024 at 7:51 PM Brian Weis via Datatracker <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
>> Reviewer: Brian Weis
>> Review result: Has Nits
> 
> Thank you for your review Brian.
>  
> [... Good summary deleted for brevity ...]
>  
>> Security Considerations also mentions that some security tools rely
>> on particular return codes to detect non-existent domain names, and
>> their current method may be impacted by this change. This is
>> unfortunate, but I suspect that there was no clean way to accommodate
>> those semantics in this design. It is noted that if security tools
>> support this new method that they will be relying on signed data
>> rather than the unsigned header to obtain the same information.
> 
> Yes, that is correct.
>  
>> Also, the document describes an optional header flag which a resolver
>> that returns a different status. This seems to be intended to aid
>> security tools, but perhaps if they’ve updated their tool to send
>> a new header flag they would also be able to update it to accept
>> the main method described in this document.  Is theres another
>> practical reason for this optional feature? Or are the semantics
>> of a resolver understanding both the old and new main methods just
>> complicated and this makes it easier for them?
> 
> The NXDOMAIN response code restoration methods are optional,
> because we expect that not all resolver implementers will want to
> make accommodations for this method (although some do plan to).
> Impacted security tools could indeed be updated to recognize the
> NXNAME signal, but there is some skepticism that this will happen
> quickly because of inertia, unwillingness to do deeper packet
> inspection, or because they are often written by folks without detailed
> familiarity with the DNS protocol. The rcode restoration capability will
> help them, and their users may decide to use resolvers that implement
> this feature. In other words, the spec is providing the capability, and
> we'll let customer demand help sort out where it might get deployed.
>  
>> I’m a little confused by this statement in Section 4 (Response Code
>> Restoration): “For non-existent names, implementations should try
>> wherever possible, to preserve the response code value of 3 (NXDOMAIN).
>> This is generally possible for non-DNSSEC enabled queries,
>> namely those which do not set the DNSSEC_OK EDNS flag (DO bit).” I
>> believe this is describing a case where the response does not include
>> DNSSEC. Based on the name of the document that it was concerned
>> only with a DNSSEC response, so it’s not clear to me why this
>> suggestion needs to be made.
> 
> Yes, your observation is correct. However, there was strong consensus
> in the working group that this document explicitly state that non DNSSEC
> enabled queries for non-existent names return the expected NXDOMAIN
> response code (there are implementations of this protocol in the field for
> example that return NODATA today for non-DNSSEC responses too).
> 
>> One general suggestion is that it might be helpful for the RFC Editor
>> if there was an explicit note somewhere warning them that Section 6.2
>> contains an (RFC TBD) self-reference that they’ll need to resolve.
> 
> If we wanted to get rid of the self-reference we could also only state the
> name of the protocol and omit the RFC#.
> 
> Shumon.
>