Re: [dmarc-ietf] version bump to DMARC2

Emil Gustafsson <emgu@google.com> Mon, 12 June 2023 15:57 UTC

Return-Path: <emgu@google.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 D220EC159A24 for <dmarc@ietfa.amsl.com>; Mon, 12 Jun 2023 08:57:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.597
X-Spam-Level:
X-Spam-Status: No, score=-22.597 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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 MgPTA62TyIgd for <dmarc@ietfa.amsl.com>; Mon, 12 Jun 2023 08:57:28 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 E9D1FC14CE54 for <dmarc@ietf.org>; Mon, 12 Jun 2023 08:57:27 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f7fefb1274so05e9.1 for <dmarc@ietf.org>; Mon, 12 Jun 2023 08:57:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686585446; x=1689177446; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qbTZIGyCg0F46aIyjK2fDrg7xils9ZZFGxAWKQAAlkM=; b=ANDNZXX3XDCZ7trLHRMSwsJWYqFoyvvFek3E6yfyhW1TYYF1UsdKbFi7mZDQEXz2OU LiFIgQ8kJSDahnU5KGy+myYQkSDD4DSwODWMggyFK6GErXsFh00H47qlSMRO/P8GcBPB sox2uXq02Cq02WWukzU/iHNpn56M92kY6BiNjdo/4prGrd7j4emmGThrtHjiRNmc+5xS hcQiL+AL2733o31wXk7S54wQsQCeuKo6uJIjPi868eeNv1hxll3f+aVAVd7/pM1AveGn TTkmTdhWtL7uZ/D4bgVfgMGFRPZKpuhP40OPR24PeF+Q9kDGg5m90duqRJ3kLdlXZgYF 6jSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686585446; x=1689177446; 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=qbTZIGyCg0F46aIyjK2fDrg7xils9ZZFGxAWKQAAlkM=; b=UBuI3yOTfszlnrYz/0G0YX8DnT7gUiSeePXc+8IcPkdxxp3lzpVTeh8VO2onJdDOnq 4VIHIfz8M8MQcz6yDYdsB6ZbTINfBfvAj6SFmxydlm1W/Djzp55wpGqzEd1kOyUACnee zSW/8QL7h/MlNXQbW40y5EI13keXL9HEvAooypUhqSn/L0yQTF0XB9SD5g4S2A5cGTbZ Cjy0KCAsMrc6HKLVEho5BO861I7H2UVW/akKARrTZPbl8pd9LDCzLCOCA8wdT7BbKnz4 Nv/NlIgFj4RwgwvPTqF+tkIicBHLkX97LoWu2n6DJ6i9fqCPufRmGA1QVw4sedgOVgq7 k5Yg==
X-Gm-Message-State: AC+VfDyLXDQ+8EuEPQt3L/ExYrUpX4zed3LFqI6zfIInIkkNy674jBu0 PqCcX3BE1e7ujAK0CDIm3eJGBcdOfookvZMKXq+z1BfwScT26Wrion0=
X-Google-Smtp-Source: ACHHUZ5Rhbiimpx1FUiTz/K0vGPhlQnTP/OeSN8w/FgXtlJJeJqqUJ6IT6yoELDoRO23ehr3fUGnO5JyvkeZ72e1YlM=
X-Received: by 2002:a05:600c:4f09:b0:3f5:d927:794e with SMTP id l9-20020a05600c4f0900b003f5d927794emr9929wmq.0.1686585446178; Mon, 12 Jun 2023 08:57:26 -0700 (PDT)
MIME-Version: 1.0
References: <30BB83B2-B454-41B8-992B-8E2569802D9C@1und1.de> <20230608162112.5903CE7035F3@ary.local> <CABZJ8kkSAf3V0ccNAQn0ntPH+nOyTB6Jqj=fU+Pt4Ga5RByMDA@mail.gmail.com> <CALaySJLK_bqr6T4zqvoE4QjtapUpCWkWnA1Tx+vYzUjtPkFnfQ@mail.gmail.com>
In-Reply-To: <CALaySJLK_bqr6T4zqvoE4QjtapUpCWkWnA1Tx+vYzUjtPkFnfQ@mail.gmail.com>
From: Emil Gustafsson <emgu@google.com>
Date: Mon, 12 Jun 2023 09:57:09 -0600
Message-ID: <CABZJ8kkqMAZwV1cvAQTbYgO-tHxQ8i55T61j+vVrfd91pbNrSw@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
Cc: Emil Gustafsson <emgu=40google.com@dmarc.ietf.org>, John Levine <johnl@taugh.com>, dmarc@ietf.org
Content-Type: multipart/alternative; boundary="00000000000067e16805fdf0c66d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/0eEggbRAIoDXScp2TxH-501FQkI>
Subject: Re: [dmarc-ietf] version bump to DMARC2
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: Mon, 12 Jun 2023 15:57:31 -0000

Barry,
sorry if it sounded like I was pushing back. The short version is - no I
don't have any big concerns. But if we discover something, we'll let you
know ASAP.

The longer version:
Regarding #1: what I've seen in our data matches your observation. It is a
small subset of cases where there would be a change in DMARC policy.
Regarding #2: I don't (yet) have an exhaustive evaluation for this on our
end. I think we can make assumptions that always makes a more secure
assumption and in the rare cases that is not inline with the sender's
intentions - we would have to deal with that.

I think that sticking with v=DMARC1 vs changing it to v=DMARC2 both have
pros and cons. And based on all the discussions I don't think there is an
objectively preferred way (when we consider the PSL tree walk only) since
it depends on what each of us value.
I've always said that I think changing the version is preferred based on
what I value - but if the consensus is to not do that - I understand and
will support that decision too.

If we add the removal of SPF from DMARC I think that is similar to the PSL
tree walk discussion. That could be done both with or without a version
change I think. Depending on what you value - one is preferred over the
other.

I got a response from JohnL privately and apparently the VLMP he mentioned
is not Google so my clarification was not needed. But I think it is good
that we got our standpoint clarified to avoid misunderstandings.
/E

On Fri, Jun 9, 2023 at 5:41 PM Barry Leiba <barryleiba@computer.org> wrote:

> Keep in mind that we have looked at this extensively, and what we've
> found is this:
>
> 1. Almost all [1] of the DMARC senders out there will see the same
> results when recipients look them up using the tree walk as they have
> using the PSL.  In other words, the change will be different an
> *extremely* small set of DMARC domains.
>
> 2. In *all* -- by that I mean 100% -- of the cases that we've actually
> *seen* where there's a difference, the difference is *better*: that
> is, the difference is a better reflection of the intent of the sending
> domain.
>
> 3. We can find theoretical cases where the tree walk will be *worse*:
> that is, where the PSL is a better reflection of the intent than the
> tree walk is.  But *all* of these are theoretical, and we have not
> found *any* such cases that actually exist in the real world.  It is,
> though, possible that they do exist.
>
> Emil, given those three points, do you still think you need to be
> concerned about the risk of making the change?
>
> Barry
>
> [1] In mathematics, we use "almost all" as an actual technical term
> that applies to an infinite set and means "all but a finite number",
> since removing a finite number of entries from an infinite set still
> leaves an infinite set.  That's kind of what I mean here.  That is,
> the vast, vast, VAST majority.
>
> On Sat, Jun 10, 2023 at 12:26 AM Emil Gustafsson
> <emgu=40google.com@dmarc.ietf.org> wrote:
> >
> > Not sure if I am that someone mentioned. In case I am - I'd like to
> clarify what I meant;
> >
> > Without a version change for the tree-walk, I think we (Google) would
> need to support both approaches (the old one plus the tree-walk) and based
> on what we see - make a best guess which version we should use.
> > Having two explicit versions still means we have two implementations,
> but at least we don't have to guess which one to use whenever there would
> be ambiguity with a single version.
> >
> > I'm always concerned about what bad people do to gain an advantage. But
> in this case I'm more worried about somebody having an ambiguous DMARC
> setup where VLMPs end up guessing the wrong intention. The most likely
> outcome there would be rejected emails and an upset sender the VLMP need to
> deal with. But atleast they are not spoofed. I think explicit versioning
> helps mitigate that risk too (but it wont help companies making bad
> configurations - but that we always have to live with).
> >
> > /E
> >
> > On Thu, Jun 8, 2023 at 10:21 AM John Levine <johnl@taugh.com> wrote:
> >>
> >> It appears that Tobias Herkula  <tobias.herkula@1und1.de> said:
> >> >However, such a fundamental shift in the protocol's architecture
> warrants a clear signifier. I suggest we upgrade
> >> >our DMARC version string from the current state to 'DMARC2.' This
> upgrade would not only denote the change of SPF
> >> >removal, but also the switch from the Public Suffix List (PSL) to the
> Tree-Walk algorithm.
> >>
> >> I was talking with someone from a Very Large Mail Provider who told me
> that
> >> if we keep the same version number, they won't change what they do now,
> so
> >> no tree walk even if we keep SPF.
> >>
> >> They understand that as things stand now, the results of the PSL and
> >> the tree walk are in practice the same. Their concern is that if some
> >> people do it the old way and some the new, and you can't tell which
> >> the domain expects, bad guys will create records with deliberately
> >> inconsistent results.
> >>
> >> I'm not sure how likely that is, but arguing with a gorilla rarely
> >> turns out well.  I will see if I can talk to people at other VLMPs
> >> and see how widespread this concern is.
> >>
> >> R's,
> >> John
> >>
> >> PS: If we do bump the version number, it needs to go into the
> >> aggregate reports, too.
> >>
> >> _______________________________________________
> >> dmarc mailing list
> >> dmarc@ietf.org
> >> https://www.ietf.org/mailman/listinfo/dmarc
> >
> > _______________________________________________
> > dmarc mailing list
> > dmarc@ietf.org
> > https://www.ietf.org/mailman/listinfo/dmarc
>
> _______________________________________________
> dmarc mailing list
> dmarc@ietf.org
> https://www.ietf.org/mailman/listinfo/dmarc
>