Re: [dmarc-ietf] Guidance around constructing an AAR when multiple AR headers are present?

Dave Crocker <dcrocker@gmail.com> Thu, 25 May 2017 00:34 UTC

Return-Path: <dcrocker@gmail.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 48D05129494 for <dmarc@ietfa.amsl.com>; Wed, 24 May 2017 17:34:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level:
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 gO4A5Rj51Kfd for <dmarc@ietfa.amsl.com>; Wed, 24 May 2017 17:34:42 -0700 (PDT)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (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 A1519129427 for <dmarc@ietf.org>; Wed, 24 May 2017 17:34:42 -0700 (PDT)
Received: by mail-oi0-x230.google.com with SMTP id w10so263374114oif.0 for <dmarc@ietf.org>; Wed, 24 May 2017 17:34:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=S+YI59HCdyCj+7SRIBDb+sY+F3jI4qYo+tbv7vAjlf4=; b=FdBcyLRsuOc4p7gU9UjmOJ6BqDrzUI4aa1dJLDF/eu4TOnAUqFiAUnfqPHYwJHVi7p oq3wKxvwhlkRDcctQAByQTp5SrBqJoiGYs2Cfcen6qumJA7HMg6Rf0L3uEe+dzBMBKYw nURpBcC7JiwAdV70aDl5ppb3Yv75AsBnNg+g4/zaAAcuvukwtUtLRM/GVCF8jX3NJ8tM zYSQ8UOFhdqaxk7b3UQGVNowkCGAD8c78Dc0YHyvFPulliPgBYHyjy7TKmXtjnWXhu2I F/y8xeiIdxWEf/9/jjDOIRGqK5BHF7FX5q6C4Vxw5bunOLOJuWqRxay4zYWuGTUhLrZD bDLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=S+YI59HCdyCj+7SRIBDb+sY+F3jI4qYo+tbv7vAjlf4=; b=sJmCsO/iWdP1zxbkBTW1oHYpqrmdpYty4XGNQlbaO9cuYE6U8RbdN2knW36enBnrJv ha8CMEknk9mO3HfPIeBwYsxpWqufLlHu4R7UeDPVihOXnCXu86RRZIB8DBGG4wID3/uh bOLHTT+SbFf5RZReh6NtCKJlc4go1TwOTMWfZ10qcvu1tjbajTtaHiaZ65Ogvd76bKfc iohBj15auAxmBUu2sNwPuLRzMD2/7Pd7DaCsdR4B7+rI1zqR5+W5BITO6kaDplncxUz0 QeHcRrFl4JZuNaezbtsmJOQzu+C7UNtEomOComPnipI1Fami5bm8Hkyx9jFykdO0vBpJ 7qLg==
X-Gm-Message-State: AODbwcDskjJ2N7fNNprwSx81XD6C8lAcGf2OQuFhS3qKEPzwblwVwR1D 1yk1F/lJWjDFg0Sdxuk=
X-Received: by 10.202.84.86 with SMTP id i83mr19931421oib.69.1495672481907; Wed, 24 May 2017 17:34:41 -0700 (PDT)
Received: from ?IPv6:2602:304:cda0:8800:d17e:7fe3:9cb7:7c98? ([2602:304:cda0:8800:d17e:7fe3:9cb7:7c98]) by smtp.gmail.com with ESMTPSA id 110sm2605530otj.30.2017.05.24.17.34.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2017 17:34:41 -0700 (PDT)
To: John R Levine <johnl@taugh.com>, Brandon Long <blong@google.com>
Cc: "dmarc@ietf.org" <dmarc@ietf.org>
References: <CAOZAAfOsRrQF2M3NzcB3h2Tc03mtFfG8mOJ0pqU+_cx=whcBLQ@mail.gmail.com> <20170524192617.36732.qmail@ary.lan> <CABa8R6v4oGpFYeO8qGaKpbocr6f8V_+Hf7XavZ0h12d1RgWLBQ@mail.gmail.com> <CAOZAAfOrHku8x9UmxtkFNpRPdfgAzn2B2Kq6=Wngwk7bY1YpWw@mail.gmail.com> <alpine.OSX.2.21.1705241941430.29429@ary.qy> <CABa8R6s22u8E6zn5sBOc1C4B6kyLk8L7YaYnsz3VVHukm7CWFA@mail.gmail.com> <alpine.OSX.2.21.1705242026410.29429@ary.qy>
From: Dave Crocker <dcrocker@gmail.com>
Message-ID: <43d13efe-c0c4-62a6-490c-4e92eb265d65@gmail.com>
Date: Wed, 24 May 2017 17:34:38 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <alpine.OSX.2.21.1705242026410.29429@ary.qy>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/RAnDM3Fd69qJOTWhYMvt5kL9gJs>
Subject: Re: [dmarc-ietf] Guidance around constructing an AAR when multiple AR headers are present?
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 25 May 2017 00:34:44 -0000

On 5/24/2017 5:27 PM, John R Levine wrote:
>>> Seems reasonable, give or take a word or two to make it clear we're just
>>> talking about the ones for the current hop.
>>
>> There should only be the ones from the current hop if the admd is 
>> stripping
>> previously existing ones prior to adding any new ones per the authres 
>> rfc.
> 
> I meant not to use a-r with different admds.  Should be obvious, but you 
> never know.


I'd expect a spec to declare that there must be only one A-R header 
field, and that it is applied within the current, integrated mail 
processing environment.  (I'd say within the current ADMD, but I think 
there are valid scenarios where that characterization doesn't quite fit, 
although the language can probably be contorted to make that 
more-limited language sufficient.)

Unless there is a very compelling need for multiple A-R header fields -- 
and I don't think I've seen that asserted -- then the simplest thing is 
to declare them illegal and any occurrence of them as invalidating the 
authentication mechanism(s).

Really.  The goal here needs to be to make this a simple as possible. 
It's the only way to get large scale support that interoperates well.

d/
-- 
Dave Crocker
Brandenburg InternetWorking
bbiw.net