Re: [DNSOP] I-D Action: draft-ietf-dnsop-structured-dns-error-06.txt

Eric Orth <ericorth@google.com> Thu, 12 October 2023 16:54 UTC

Return-Path: <ericorth@google.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 D5969C14CE2E for <dnsop@ietfa.amsl.com>; Thu, 12 Oct 2023 09:54:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.607
X-Spam-Level:
X-Spam-Status: No, score=-17.607 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 43W1my8r-f_X for <dnsop@ietfa.amsl.com>; Thu, 12 Oct 2023 09:54:36 -0700 (PDT)
Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 4A13CC15155A for <dnsop@ietf.org>; Thu, 12 Oct 2023 09:54:36 -0700 (PDT)
Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9b98a699f45so191138766b.3 for <dnsop@ietf.org>; Thu, 12 Oct 2023 09:54:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697129674; x=1697734474; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f9ePLdfL6KynRNZ3f15hX5OLorRwFgAGedhmZpl5AUU=; b=dd3lgEhSCBSvHjTCPFl/OMzGLYMmf0/pfppzTkG/6Q5VhAgqESTN5UxzEhVsLGAbUt W82GhMWbNRMWNOmn2H2L41rA3MdBeHO4JoQxmLM0us0NA/mHqOBc7rvhOlegrq0RUeyI n+WKS3WABCLIus2xLYo5yE8MIHQI3gp0y722+dsN+SHh1A1VYO1C6vXmaSByisz85kLd tnRbdJd4/vepXF4yEsmJ5pBy70IepiQvbbgivo4/t28IYDt96+oasdEE+eM5AocDiQBg I+YO+Xuw5JiU82MBGVK9devz27RYCK7OcvZYj7v0Q9QpH+4D3fO8rakz1oorus7LrxQ8 rB5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697129674; x=1697734474; 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=f9ePLdfL6KynRNZ3f15hX5OLorRwFgAGedhmZpl5AUU=; b=I5Pc+7SFQFWQaJ81VIW22WnIQ8Z7XenSnMA1wgl4QFHUdb5spDawFngmhMlHmEw5S6 eIwZC/wLzQxEWZLxRHjcxO/p1cv6Xq/awvqxeZlzso6itjcJKI89mjgOuXsFkX8JC+7q 4qZ4b/nKAOMRX3ZY4GOyT+e8FddETqgvkd7qa/UClKcD621TAoQXWC4xRhCgutK3J5m9 xnQlhwVg88h+5AOWu8k6XcoLTwd2V6Yp3nPBN+pFqbyJHuAeGvs3KCVSesQiyYnvfLQg tWYxrDP2R+b8ctIWzZZm69UfHysnQCvWfdvumEy8lsLeQV8uisquSvoD0H33VG0W7U3/ Kq/w==
X-Gm-Message-State: AOJu0Yz8ghE34Srmlsgu/2UmUVOwGzbWoPf6NWwLt8cumHG7gqmcsXq7 7nIr/5J86ScZvQScF1xxoN+L3RMHHjL8nEFwCJ0GfA==
X-Google-Smtp-Source: AGHT+IFVXUVp928Uj0eiAo95fPaoqzRPcpx+TeoBPdbJBoZCDNc2tLAyPjJgOM6zO3Qa9RxjODZDipush4D/XrAuEAs=
X-Received: by 2002:a17:906:1daa:b0:9aa:63d:9ede with SMTP id u10-20020a1709061daa00b009aa063d9edemr22216948ejh.9.1697129674017; Thu, 12 Oct 2023 09:54:34 -0700 (PDT)
MIME-Version: 1.0
References: <DB9PR05MB847355CA18F73D1B8F892C15A3CDA@DB9PR05MB8473.eurprd05.prod.outlook.com> <DB9PR05MB84738B9AA9551E7E116AE491A3CDA@DB9PR05MB8473.eurprd05.prod.outlook.com> <CAHw9_i+bJ3-rJD97Rr21RoX_O58hdEz2DUHxgiheYdsxw4rhsw@mail.gmail.com> <B02CC0F1-C264-444B-8B3C-F60B2E4CA293@apple.com>
In-Reply-To: <B02CC0F1-C264-444B-8B3C-F60B2E4CA293@apple.com>
From: Eric Orth <ericorth@google.com>
Date: Thu, 12 Oct 2023 12:54:20 -0400
Message-ID: <CAMOjQcEnq8CN6XFr6uSTBxpbJvon5bNfS-OfCrPj3ZT_w1N6Ww@mail.gmail.com>
To: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>
Cc: Warren Kumari <warren@kumari.net>, Vodafone Gianpaolo Angelo Scalone <Gianpaolo-Angelo.Scalone=40vodafone.com@dmarc.ietf.org>, DNSOP WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005c6755060787cb22"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/gFWlkyqOq2x8RNmETPeEAu-tMws>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-structured-dns-error-06.txt
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, 12 Oct 2023 16:54:40 -0000

Advertisements would be annoying, but my biggest concern with this stuff
has always been links to pages that mimic the page the user was trying to
access in the first place.  If the user types in social-network.com, I
don't trust users to not click links in the result without reading them and
go with it once they hit a page that looks like the social-network.com
login page.

On Thu, Oct 12, 2023 at 12:07 PM Tommy Pauly <tpauly=
40apple.com@dmarc.ietf.org> wrote:

>
>
> On Oct 11, 2023, at 3:17 PM, Warren Kumari <warren@kumari.net> wrote:
>
>
>
>
>
> On Tue, Oct 10, 2023 at 12:56 PM, Vodafone Gianpaolo Angelo Scalone <
> Gianpaolo-Angelo.Scalone=40vodafone.com@dmarc.ietf.org> wrote:
>
>> I really love this draft and would like to see browser side
>> implementation for the benefit of customers user experience. Today several
>> services are implemented on top of DNS to filter malicious or unwanted
>> traffic in an effective way, but customers cannot distinguish the blocking
>> from a network error. This led to frustration or even worst put them in
>> danger: a quick solution to the "network error" is to disable the
>> protection and so be infected, or change browser. The server side
>> implementation provides all the needed information to build a great user
>> experience: in the example below I see at least 2 options
>>
>> ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24987 flags: qr rd ra;
>> QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 OPT PSEUDOSECTION: EDNS:
>> version: 0, flags:; udp: 512
>> EDE: 17 (Filtered): ({ "c": [
>> https://blocking.vodafone.com/blockpage?list=malwarecc], "s": 1,"j":
>> "Malware C&C", "o": "Vodafone Internet Services" }) QUESTION SECTION:
>> malw.scalone.eu. IN A
>>
>> Option 1 - better user experience, some complexity to avoid security risks
>>
>> if the contact URI is trusted it is possible to present in the GUI a real
>> blocking page. The problem is that untrusted providers could use this
>> method as an attack vector. Potential solutions could be:
>> Browsers accept Exte4nded DNS Errors only from DoH servers. URI domain
>> has to be covered by DoH server certificate. There could potentially be a
>> vetting process e.g. through IANA, whereby filtering providers would need
>> to register. Only registered and approved providers would then be permitted
>> to use this method
>>
>> Option 2 - Sub-optimal user experience; however, a significant
>> improvement over today's user experience.
>>
>> <Browser name> cannot open <filtered domain, not clickable> because it
>> has been filtered by <name of the filtering service, "organization" field>
>> Blocking reason: <blocking reason, " justification" field>
>>
>>
>>
> Erm, can't a large amount of this already be accomplished using RFC8914
> Extended Errors. E.g:
>
> https://www.rfc-editor.org/rfc/rfc8914.html#name-extended-dns-error-code-15-
> —-
> "4.16. Extended DNS Error Code 15 - Blocked
> The server is unable to respond to the request because the domain is on a
> blocklist due to an internal security policy imposed by the operator of the
> server resolving or forwarding the query.
>
> 4.17. Extended DNS Error Code 16 - Censored
> The server is unable to respond to the request because the domain is on a
> blocklist due to an external requirement imposed by an entity other than
> the operator of the server resolving or forwarding the query. Note that how
> the imposed policy is applied is irrelevant (in-band DNS filtering, court
> order, etc.).
>
> 4.18. Extended DNS Error Code 17 - Filtered
> The server is unable to respond to the request because the domain is on a
> blocklist as requested by the client. Functionally, this amounts to "you
> requested that we filter domains like this one."
> ---
>
> Yes, it doesn't give you the HTML page, but I personally view that as a
> feature, not a bug.
> You *know* that if my coffee-shop/hotel/car-dealer has the ability to
> respond to every N-th DNS query with:
> "({ "c": [https://subaru.example.com/buy-the-new-outback.html})" or "(({
> "c": [https://www.example.com/free-donut-with-every-pumpkin-spice-latte
> .]})"
> they will.
>
> Yes, I shouldn't be trusting my coffee-shop/hotel/car-dealer's resolvers,
> but with captive-portals and similar many people do…
>
>
> Yeah, the existing error codes are quite good (and iOS and macOS natively
> support them now!), but having more details would allow this to replace
> more fully the cases where redirection occurs.
>
> I also am concerned about someone just putting advertisements or worse in
> the contact information, so there should be some control on it.
>
> Tommy
>
>
> W
>
>
>
> Thank you
>>
>> Gianpaolo
>>
>> C2 General
>>
>> _______________________________________________
>> DNSOP mailing list
>> DNSOP@ietf.org
>> https://www.ietf.org/mailman/listinfo/dnsop
>>
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>