Re: [dmarc-ietf] ARC questions

Brandon Long <blong@google.com> Mon, 23 November 2020 19:34 UTC

Return-Path: <blong@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 69F4A3A0CF4 for <dmarc@ietfa.amsl.com>; Mon, 23 Nov 2020 11:34:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.699
X-Spam-Level:
X-Spam-Status: No, score=-15.699 tagged_above=-999 required=5 tests=[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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GdzV8rp7WvQQ for <dmarc@ietfa.amsl.com>; Mon, 23 Nov 2020 11:34:39 -0800 (PST)
Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED2D93A0CEF for <dmarc@ietf.org>; Mon, 23 Nov 2020 11:34:38 -0800 (PST)
Received: by mail-vs1-xe30.google.com with SMTP id r14so9747277vsa.13 for <dmarc@ietf.org>; Mon, 23 Nov 2020 11:34:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wzmOB2/rWfizm4kICkSpiNRBYlDsv6FWNZGcWp9QPNg=; b=uIPsjubNmBRYVVQ59rzguoDWLpkJ1MYBOKjIe5m7U9f7nNtZiJe/NRPE/tjce205of iBxwDw1tAlAX2PA+z7PDxWzcHmrH7irYQH++sTHhnVOa63tisG7TTyGW3jvsW/n2uJN/ M4fMyWO7fRYrEzyrJhRbQXpUEjoT6ukPrFhjNFpBvFzJzBigpm5j2my0nnVQzubgksgO M0qH9DD9sM4/3kJ3z3Lazsyi5kwoZszrAHyVNQF1cOpJjRNqw55klvY5kq0W9f6vj9j5 Mik474pqtHj8SLzx2d6fZnZBNDUqmeyX8YqafngjvxHis8XdG0nbWn8x9hWkAycdV5Le blBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wzmOB2/rWfizm4kICkSpiNRBYlDsv6FWNZGcWp9QPNg=; b=YSD7+lA/n+FTiEfC3xJP/3RsRFM3B6Kiy5t/ftfmSHUCETJWhx7qsqJXwe/ikftd3a KbsIgjOhJQnlOzaQc+uv9A0JS6H1cYxeuAVpzetTu56rIsiHcrtraaszbwx3PU3UH8gH gO/4yF6VpVYCrfKdXuKGwao1c2KV2KnH16nwpHGA026oWCul1zUE5uba3K0ClWw0LjCO 7yorh05+838t4kUyODcSvfl2Am6YHWTgPAlNBRCQ6VJ8cnWsamFm6Y0GUYipOEZp9p/r v/gYRo3ljc9L6mDXPHgHPdSo2CUp32TPjK6RrJyxGaYjdEzz0fmPY/82dWtchEC/HxTn pTwA==
X-Gm-Message-State: AOAM533WZ2wOw+zrJITyK5FyCBUKpHdtMX09H5wz1Tmn1s/yLMcIJ/Q9 zRDsmr/08Bit+yrmURIjdCjaSpQxsGhkp+5QLA05Q/ZBsg==
X-Google-Smtp-Source: ABdhPJzPs9Rnv/D8iLaFYnuAh+cCy1q1YhXeBcL6H61Sq6TYgifh7D6b3uwNsu1xFfGBaaR7WCQDH1aj6vdxWWZXnqQ=
X-Received: by 2002:a67:df8b:: with SMTP id x11mr1362973vsk.37.1606160077841; Mon, 23 Nov 2020 11:34:37 -0800 (PST)
MIME-Version: 1.0
References: <dcc265f9-a143-5093-eba0-94ee059c7cc7@mtcc.com> <20201122021417.B5E6E27B3E59@ary.qy> <CABuGu1pX=5ZC4RLsv19qrosRN9nCrPdeSk5Xg4O7ViEZit6dnA@mail.gmail.com> <453c4db4-fc62-dc76-5b15-707623d66f9f@mtcc.com> <64f18b-ae8-8c15-3d33-ff2d864c35bc@taugh.com> <884541e6-5076-7f8f-d1d2-d68ea9c5a2bc@mtcc.com> <8fa2d88c-55df-aa8e-932f-8f7bc97d741@taugh.com> <77854271-296a-b4f6-202e-c085036289d4@mtcc.com> <feac41f-6144-2e21-c3fa-2b7770bfeefc@taugh.com>
In-Reply-To: <feac41f-6144-2e21-c3fa-2b7770bfeefc@taugh.com>
From: Brandon Long <blong@google.com>
Date: Mon, 23 Nov 2020 11:34:25 -0800
Message-ID: <CABa8R6vCrBmU5medOuf1QfpktCDt4jVa935rFBjFGpGPXX1FcA@mail.gmail.com>
To: John R Levine <johnl@taugh.com>
Cc: Michael Thomas <mike@mtcc.com>, "dmarc@ietf.org" <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e4cce405b4cb488b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/eJTXOpU88nzSTOQd2ICC54e_I9c>
Subject: Re: [dmarc-ietf] ARC questions
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
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, 23 Nov 2020 19:34:40 -0000

On Mon, Nov 23, 2020 at 11:28 AM John R Levine <johnl@taugh.com> wrote:

> > From what I can tell, the main thing that ARC is doing is binding an
> auth-res
> > to a dkim signature-like thing. But as I recall -- it's been a long time
> --
> > there were ordering requirements ala received headers for where new
> > dkim-signatures and auth-res go in the header. Assuming my memory is
> correct,
> > that means you can reconstruct "what this looked like before i messed
> with
> > it" already by signing the incoming auth-res as part of the new DKIM
> > signature.
> >
> > Is there something more going on here?
>
> Not really.  There are ordering rules but mail systems do not follow them
> reliably, DKIM signatures in practice are not ordered.  Also, A-R can be
> deleted in some situations, so ARC makes copies of them to be more robust
> in transit.
>

Right, A-R is explicitly called out to be deleted in the RFC on inbound if
the admd
matches (so someone can't fake an A-R to you).  Even if it's not fake, a
message
can go through multiple hops through the same admd and each hop have a
different
A-R result, but there is no mechanism for multiple A-Rs for the same admd
having
any ordering or such.

>From the other direction, one could say that ARC is a superset of A-R and
DKIM with
different purpose, and you might be able to subsume them into ARC, but you
couldn't
build ARC out of the originals.

Brandon