Re: [dmarc-ietf] "psd=" tag early assignment

Scott Kitterman <sklist@kitterman.com> Sun, 10 July 2022 17:04 UTC

Return-Path: <sklist@kitterman.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 D8F6BC157B42 for <dmarc@ietfa.amsl.com>; Sun, 10 Jul 2022 10:04:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=kitterman.com header.b=5nsXQMAQ; dkim=pass (2048-bit key) header.d=kitterman.com header.b=CGi0WPo/
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 3azIBssxpCQ0 for <dmarc@ietfa.amsl.com>; Sun, 10 Jul 2022 10:04:12 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [IPv6:2604:a00:6:1039:225:90ff:feaa:b169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 213F9C14CF0F for <dmarc@ietf.org>; Sun, 10 Jul 2022 10:04:11 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [IPv6:2604:a00:6:1039:225:90ff:feaa:b169]) by interserver.kitterman.com (Postfix) with ESMTPS id 623A5F801FF; Sun, 10 Jul 2022 13:04:08 -0400 (EDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1657472647; h=date : from : to : subject : in-reply-to : references : message-id : mime-version : content-type : content-transfer-encoding : from; bh=Pm1HsuwYQFKxaD64Gl7YwhpieSTp8lc+CF8aw6jC/uE=; b=5nsXQMAQxKlx8aYjv4JDXW/Uw/cCU13o00i34GOLHENRz2MqO4MkreEBD/Gjbf3MTMCaC yYDDC6YReZO5GAJCg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1657472647; h=date : from : to : subject : in-reply-to : references : message-id : mime-version : content-type : content-transfer-encoding : from; bh=Pm1HsuwYQFKxaD64Gl7YwhpieSTp8lc+CF8aw6jC/uE=; b=CGi0WPo/ot3DgaeZ07psivRjm1eoKXW1Qvgq7SW3Z8NEWASnziSEKY0osWfB6w3BEjFCm El8FFbmM9NmTUYsN+ONu2RwMxOllqIzAA2hTTVX2W8+0TclbqB6dcfMJlkevIDJ28QqbgWZ lMKuKilLzk4djjXUIBkIq///tiqSGE1MUEoJioXZJprisb9DQa++ou4lnHlfMtRr01PmLBi nLJGhvaRvobZaFQDnqN51HQPUz62MeBtADctFPHmnyTES/0EwRHReluLuT52c+OSTQLyw1M 3JFWhsZQX9v6+nzIeK4YLcpEy/IxmP5VCQnKQ+bmJzGMZdVRCt6c+qeGCw/Q==
Received: from [127.0.0.1] (mobile-166-171-59-112.mycingular.net [166.171.59.112]) by interserver.kitterman.com (Postfix) with ESMTPSA id 4093FF801F0; Sun, 10 Jul 2022 13:04:07 -0400 (EDT)
Date: Sun, 10 Jul 2022 17:04:08 +0000
From: Scott Kitterman <sklist@kitterman.com>
To: dmarc@ietf.org
In-Reply-To: <d8716435-8a52-dac4-ede2-6c27fced7f0f@tana.it>
References: <20220710010547.DB3B04532F40@ary.qy> <d8716435-8a52-dac4-ede2-6c27fced7f0f@tana.it>
Message-ID: <84DDA91C-26E2-4803-8C6C-0369ED67298F@kitterman.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/QD7o1b_94icPkMYRen0x4lDBoE8>
Subject: Re: [dmarc-ietf] "psd=" tag early assignment
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: Sun, 10 Jul 2022 17:04:15 -0000


On July 10, 2022 11:17:13 AM UTC, Alessandro Vesely <vesely@tana.it> wrote:
>On Sun 10/Jul/2022 03:05:47 +0200 John Levine wrote:
>> It appears that Scott Kitterman  <sklist@kitterman.com> said:
>>> On July 9, 2022 5:07:43 PM UTC, Alessandro Vesely <vesely@tana.it> wrote:
>>>>>> Yeah, /should/!  The very fact that you yourself changed your mind about how it works, without going into the hassle of explaining your reasoning, ...>>>>
>>>>> Um, what?  Scott and I went through some rounds of debugging to be sure the tree walk handled some obscure edge cases in a reasonable way.  It was all on this very mailing list with examples.  I think what we have now is OK but if you find something in the tree walk that is unclear or gets an unreasonable result, let us know, preferably with a concrete example.>>>
>>>> I think I received all list messages (although I don't check against your weekly count) and I read all of them.  Perhaps I've been inattentive, but I don't recall the switch from stop on psd=y to continue on psd=y if it's the first lookup.  Any pointer?>>
>>> I don't recall having changed this.  If you can check the previous draft revisions to see when it changed, maybe I could  find it.  I'm confident that any changes to the way the tree walk works have been discussed on the list.> 
>> I changed it in a pull request a few weeks ago.
>> 
>> If you don't stop on the first psd=y that is not the original domain,
>> you get the wrong result if there are DMARC records above the psd=y.
>
>
>That's undoubtedly correct.  The point I'm raising is the one at point 2 (both sections).  For org discovery, it's in the hunk tagged @@ -720,13 +722,13 @@ in the same pull request, here:
>https://github.com/ietf-wg-dmarc/draft-ietf-dmarc-dmarcbis/pull/47/files#diff-758de98ab8f970604c5891fceb8cb498ffe212c02060fdbf0e6ee5bffbb0a3cbL720
>
>That affects messages From: psd@c.b.a, in John's example below.  In that case, the change sets the org domain at b.a (assuming that blah stands for a DMARC record) instead of c.b.a.  That is, a PSD domain itself is a regular subdomain of the org domain below.  Apart from slightly complicating the algorithm, that might be a reasonable position.  IIRC, it wasn't discussed on list.  More importantly, it isn't explained in the draft.
>
>
>> I sent this example on June 21, link is
>> https://mailarchive.ietf.org/arch/msg/dmarc/T-8NX63L8ilHPhHXMygKdTJ6zMM/
>> 
>> a NXDOMAIN (or psd=y, doesn't matter)
>> b.a blah
>> c.b.a psd=y
>> d.c.b.a blah
>> e.d.c.b.a NXDOMAIN
>> 
>> I think the org domain for e.d.c.b.a is d.c.b.a.
>> 
>> If you don't stop at the psd=y, you get b.a as the org domain which still looks wrong to me.
>> 
>> The description in the current draft gets d.c.b.a.
>
>
>Yes.

I don't understand what you want.  I think (and I might be wrong) you agree the current draft gets the correct results, but you think there was some kind of process foul about how it got fixed.

I don't think your assertion that it wasn't discussed is correct.

John posted a pointer to the changes [1] and asked for comment.  You participated in the thread.  I don't know what else you want.  If a document author provides proposed changes and no one asks questions about one of the changes, I don't think it's incumbent upon the author to point out not everything was discussed.

I also don't know what explanation you want in the draft.  In my experience, IETF documents focus on what to do and do not generally have significant expositions on why or all the potential implications of a particular design choice.

As I said in that thread, I think going too far into corner cases like this is likely to make the document more confusing.

Finally, I struggle to understand how this detail is relevant to the question of early assignment of psd=?

Please help me understand what the issue is here?  It might be useful for you to start a new thread with specific text you think nerds to be in the document?

Scott K 

[1] https://mailarchive.ietf.org/arch/msg/dmarc/OaaC-N1MV-JlnpdDm0HTMVeSQrs/