Re: [DNSOP] draft-ietf-dnsop-structured-dns-error: suberr registration policy

tirumal reddy <kondtir@gmail.com> Thu, 20 April 2023 08:11 UTC

Return-Path: <kondtir@gmail.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CE29C151B0B; Thu, 20 Apr 2023 01:11:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, 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 Q2NLHwVJX1_p; Thu, 20 Apr 2023 01:11:07 -0700 (PDT)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 CCE59C151B2F; Thu, 20 Apr 2023 01:11:07 -0700 (PDT)
Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4eca0563b31so379702e87.1; Thu, 20 Apr 2023 01:11:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681978265; x=1684570265; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Qqlk6wTe1TGmEdalVcftVhGxKOZjO/CxO7VLs1/i6vU=; b=ron7X03X2PH1l0b/WxzU901U867/BO1wscaa+WbUsGXnSqLGijhYI5CwDwlsSDWWCh HSwHHu2SHWo0CzMoLO24JROKYqi7tVowcAOkIkM1VUt+jYfQ2y493RwCNTKqWjtCzrJ2 hSZHdvwcyBiL4DkzFDmZ2i0d+15OXfhQY3E3GryT4W9ynAgrsSJhPhfosiKmY3oeFeua O7lqvuVVCWtQrwCOEdcQFBJ5rpYl2Olh81t6BgFeWoE+JfwjpDZicpOxpkBnPxrB8KUI zf6K+0VL4/DthirDfyOnaA0zxcd63qJUv8cwoHYOY9mHtkj+L3JyMMQIuBsjpgBBAnR0 PBkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681978265; x=1684570265; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qqlk6wTe1TGmEdalVcftVhGxKOZjO/CxO7VLs1/i6vU=; b=AzXV3RH3UXatOc+YOUolmpnNz1ADLgXL9eSuZnjnGVKsQYKI6FPFRVjGaatGhlvgNH BaUnmhcUJ/1HNKGJ3/RsXEbKDNKsfYJ+HPyyqF0pR2dpOZIZ2IQ4pJT4fv+U2O98qJg7 wwJFcLVIg8LQSvQwZn4D6C8y8tlHZ3uXKz+23gElo7TGC2GKh+sK0KcxmSgQFvMuwwCD 3ZJE6l9Gu4iqvbIRond6e++1jNAUViHYDwtNjDO0z/37H1MSkhFES3QFgfHrF9GbNJsv sRSJcG6+t6irKtEDhXS4fncBUQRlL2gnu/itW3SDg8oEKaBlMVYx/3C7u5rQlRAUrw4D I00w==
X-Gm-Message-State: AAQBX9dsgpPmjcqgxNxU97wWSArcHvBfFZbktLryJOKJAAj5z+DWGwAg QJt+2u4ERZ8liu9k6OktYfclRj9/QTox548CKL8=
X-Google-Smtp-Source: AKy350YS3M4sWjusVMmBQqeVWC5hy16WqLxWztztqOvsZhAco083GpEyHXXT5g3LrC6LIRIlIGtwlV0NzbLKj4nb1Q4=
X-Received: by 2002:ac2:43cf:0:b0:4ec:9e3f:7fb7 with SMTP id u15-20020ac243cf000000b004ec9e3f7fb7mr123463lfl.12.1681978265255; Thu, 20 Apr 2023 01:11:05 -0700 (PDT)
MIME-Version: 1.0
References: <4561_1680881181_6430361D_4561_496_1_cbba461734d74dbf8116d7f476960f88@orange.com> <CAJF-iTRHVS8asiaf-fvtWZqpNdzou4zEsb36roaK-S_HMAEX2g@mail.gmail.com> <CAFpG3ge6b6LjeBahy2hS6CnHW00dhgHJ5gdS9eTxj0WxU7fbYg@mail.gmail.com> <CAJF-iTQDaOK62Cr0ZUcHqiyZteH0oyM+oCD74zOK6TaumvF_nA@mail.gmail.com>
In-Reply-To: <CAJF-iTQDaOK62Cr0ZUcHqiyZteH0oyM+oCD74zOK6TaumvF_nA@mail.gmail.com>
From: tirumal reddy <kondtir@gmail.com>
Date: Thu, 20 Apr 2023 13:40:53 +0530
Message-ID: <CAFpG3gcNJ3=MF-Z8bUikA5_9r=obF5ahULhJJc0bwyFmH=sMyA@mail.gmail.com>
To: Benjamin Schwartz <ietf@bemasc.net>
Cc: mohamed.boucadair@orange.com, dnsop <dnsop@ietf.org>, "draft-ietf-dnsop-structured-dns-error@ietf.org" <draft-ietf-dnsop-structured-dns-error@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000543cf05f9c0154a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/1G5jC5CamUPtiZ-t7JhA4XiuMD8>
Subject: Re: [DNSOP] draft-ietf-dnsop-structured-dns-error: suberr registration policy
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Apr 2023 08:11:10 -0000

On Wed, 19 Apr 2023 at 20:49, Benjamin Schwartz <ietf@bemasc.net> wrote:

>
>
> On Wed, Apr 19, 2023 at 10:04 AM tirumal reddy <kondtir@gmail.com> wrote:
>
>> On Tue, 18 Apr 2023 at 16:41, Benjamin Schwartz <ietf@bemasc.net> wrote:
>>
>>> The draft's opening words are "DNS filtering is widely deployed for
>>> network security".  This is true, but by far the "widest" deployment of DNS
>>> filtering is for authoritarian national censorship, to prevent citizens
>>> from engaging with forbidden ideas.
>>>
>>> The EDE draft acknowledges and rebukes this rather directly with the
>>> "Censored" code, expressing that this filtering was performed _against_ the
>>> preference of the resolver operator.  Although the EDE registry is FCFS,
>>> the presence of this registry entry at the outset ensures that any attempt
>>> to whitewash this sort of behavior would be duplicative.
>>>
>>> The "structured errors" draft risks undermining this norm and diluting
>>> the intent of the "Censored" code.  For example, the "Malware", "Phishing",
>>> "Spam", and "Spyware" suberrors are listed as applicable to the "Censored"
>>> code, which is rather strange.  What is a "Spam" domain, and when would a
>>> resolver be forced to filter it "due to an external requirement imposed by
>>> an entity other than the operator"?
>>>
>>
>> Yes, "Spam" is not suitable with "Censored" code. The other suberror
>> codes may be applicable with "Censored" code. For instance, in a deployment
>> where the network-provided DNS forwarder is configured to use a public
>> resolver to filter malware domains.
>>
>
> "Censored" requires that the blocking is "due to an external requirement
> imposed by an entity other than the operator of the server resolving or
> forwarding the query".  This does not correspond to the situation you are
> describing, where the filtering is "inherited" but not "required" or
> "imposed".
>
> I don't know of any situation today in the world where "Censored" could
> logically be used with any of these sub-errors.  We would have to imagine a
> situation where the resolver operator is being _forced_ to apply malware
> filtering, not choosing to do so.
>

I see your point, will remove use of "Censored" from the draft. We probably
need a new error code (Blocked by upstream server) to address the above
scenario. The server (e.g, DNS forwarder) is unable to respond to the
request because the domain is on a blocklist due to an internal security
policy imposed by the upstream server (e.g., DNS resolver).


> Personally, I don't think these "sub-errors" make a lot of sense for
> "Censored".  We should consider excluding "Censored" from this draft, or
> focusing instead on providing objective information about the block.  We
> can take inspiration from some of the work related to HTTP 451:
>  - RFC 7725 defines the "blocked-by" relation, to identify the party that
> implemented the censorship.  This is relevant to DNS when forwarders are in
> use.
>  - draft-sahib-451-new-protocol-elements-01 (expired) proposed
> "blocking-authority" and "geo-scope-block" headers to identify the source
> and scope of the block.
>
> Regardless of the draft's details, I think work related to DNS filtering
> should generally receive HRPC review prior to WGLC.
>

Sounds good to me.

-Tiru


>
> --Ben Schwartz
>