Re: [dmarc-ietf] PSD Related Privacy Considerations For Aggregate Reporting Draft

John Levine <johnl@taugh.com> Tue, 31 January 2023 19:30 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FB3AC14CE2C for <dmarc@ietfa.amsl.com>; Tue, 31 Jan 2023 11:30:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.846
X-Spam-Level:
X-Spam-Status: No, score=-1.846 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, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b="Pi4atmBy"; dkim=pass (2048-bit key) header.d=taugh.com header.b="Uu5FuY+A"
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 mIv5Dm661ssH for <dmarc@ietfa.amsl.com>; Tue, 31 Jan 2023 11:30:16 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 D4A98C14F726 for <dmarc@ietf.org>; Tue, 31 Jan 2023 11:30:15 -0800 (PST)
Received: (qmail 68243 invoked from network); 31 Jan 2023 19:30:12 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=10a8d.63d96c44.k2301; bh=V1UvD0pKKfrMFT/ebnxDR9E8Arwn0siMBSYBTjuGri8=; b=Pi4atmByMtGwlPPIEMWWNUloH4rxXmWtrUESjmZMpKfBgD+CsxnEsvVox9rZueOBUJCCWJC1O7B/GQKRaYTOoY5/lzfaXxuHaW1qpI6h8uibmwRqCfDzFRSu5u4I1NDNdXg4G6i2R+dHvyqIukyVV0/S6y8fRFN8VQnmxxRs1rgxU6V1CQSXs4ZGPdgiypjkvPH/ShhN+gksWQedFLfZSsadxooXEQzoV7f7hyPcElWWX9maWGrJY/4kq+4md+aAC79vDtKBWzEYesrWtdh9L+pXkZWAfWXLk1UZS408RR6fHWzHMLaofWGnABOVLKfeWFV1fzhTfkzD2YfmRxI9bQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=10a8d.63d96c44.k2301; bh=V1UvD0pKKfrMFT/ebnxDR9E8Arwn0siMBSYBTjuGri8=; b=Uu5FuY+A5x86kxJjkXfs9IV9kwZanlquvoQCPFiIZaNPaG8Bk2DlF0u7LMoG4n7x+2dIY3gKoEPxs1Sg3EnYOrJZ00yRLMXCuSV/6bYlPa1nlfIIadT/Dr8F16kufieJta9Wjas69lnhD3Jz3j5Kh4sGVzbPZRzDYnUd1XBbN3Js41vS7rMkpfNFmGtcGi3EUJHC0CsiqkiO/uK62B1GwkcFQHFRS/Jg3MWQa19ogKe47lAB9bm6V9vWZVrZMy84FTXcGBywGj2OU9az7r0/Rst7jAdoeIH810LIEH8+1mgDm0wCj9hCnZ5klCxgqt3/Yv6xS0PmhMh5Okbm1LYpGw==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 31 Jan 2023 19:30:11 -0000
Received: by ary.qy (Postfix, from userid 501) id EC345851C6F8; Tue, 31 Jan 2023 14:30:10 -0500 (EST)
Date: Tue, 31 Jan 2023 14:30:10 -0500
Message-Id: <20230131193010.EC345851C6F8@ary.qy>
From: John Levine <johnl@taugh.com>
To: dmarc@ietf.org
Cc: emgu@google.com
In-Reply-To: <CABZJ8k=Rkh9+AoDA+N2tawU+GkizNRS-MG14sRayYHWBmFP62A@mail.gmail.com>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/VNzhVkFlB4tcSVEbQGU5nWCI89g>
Subject: Re: [dmarc-ietf] PSD Related Privacy Considerations For Aggregate Reporting Draft
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2023 19:30:21 -0000

It appears that Emil Gustafsson  <emgu@google.com> said:
>-=-=-=-=-=-
>
>Since the concept of non-existing domains is important from this privacy
>perspective, should we call out how we suggest that is determined?
>On top of my head, using the example from the dmarcbis, would the DNS
>lookups actually become 6 in this case (plus one WHOIS lookup)?
>
>   1. _dmarc.a.b.c.d.e.mail.example.com *[does not exist]*
>   2. _dmarc.e.mail.example.com *[does not exist]*
>   3. _dmarc.mail.example.com *[does not exist]*
>   4. _dmarc.example.com *[does not exist]*
>   5. _dmarc.com *[do exist]*

OK so far.

>   6. example.com

Nope. If _dmarc.com says it's a PSD, then example.com is the org
domain. But since _dmarc.example.com does not exist, it declares no
policies and asks for no reports. The np= flag applies to the From:
domain so I suppose you'd check a.b.c.d.e.mail.example.com if you
hadn't already.

If the PSD sets a policy, you can apply that in the usual way, checking the
DKIM signatures, if any, and SPF results, if any.  The only way I can see
the org domain would matter is if there were a signature or envelope from
in some other subdomain, e,g, foo.example.com, in which case you apply
the usual alignment rules.

>   - If this succeeds; we know the domain exists
>      - If this does not exist - should we recommend making a WHOIS lookup
>      for example.com?

Good lord, no.

I suppose we could say that a domain doesn't exist means you do a DNS
lookup and see if the result is NXDOMAIN but that seems obvious.


R's,
John