[dmarc-ietf] Forensic report loops

"Murray S. Kucherawy" <superuser@gmail.com> Thu, 14 January 2021 04:30 UTC

Return-Path: <superuser@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 4438B3A10A4 for <dmarc@ietfa.amsl.com>; Wed, 13 Jan 2021 20:30:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, 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 h96TJF-39fsB for <dmarc@ietfa.amsl.com>; Wed, 13 Jan 2021 20:30:10 -0800 (PST)
Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) (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 8317B3A109F for <dmarc@ietf.org>; Wed, 13 Jan 2021 20:30:10 -0800 (PST)
Received: by mail-vs1-xe32.google.com with SMTP id w187so1434852vsw.5 for <dmarc@ietf.org>; Wed, 13 Jan 2021 20:30:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5nUpXBzoZ15+5DhqX4q5h7/dAfbaLJjMGriNu1CqGqo=; b=l9C8V9xhU7CWa0pateC4IvVqIA08OeO47171haOzGpBW4sfN2qaO4+3EjeG5Zyqk+u fKWgSmaiQwS3B6MONKOlLilUdW/aUG0oAq9PD5NXQ+t7nn8alVsCOm6Sv4m4L/UX0A/5 jwZ30a0kxQFp60XNAUK+isvuYGkfSm36uQEfH4BOTTRAfWWMrgIdswNAch3UfQspvh7Z Xx5RWpBlG96BmatLBXkgOXOCOsdPt9/SG0dq7R//Adgm36f32ZaA2kBzrHRigAD3TKbM smEND9FAagGlt4BaXCGVgpSiihfEjEhsFyzbh8vLeHI0CQNkherlaQWaNny4MhvbSfv2 knyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5nUpXBzoZ15+5DhqX4q5h7/dAfbaLJjMGriNu1CqGqo=; b=S/1O9h9CYlkfaNOtHCK4TKlRLaAeksl7fz0HIGdOqlCUo3X7uaMDm8pXR3jacRxC// 1WD30oYXBJnWguJC6i3jD8LohgYLYhDakdFqqeYaMUMRrHJTfbhsVQH0RGK/WUpaonsU c+C+d14OEMxyxVVWy0GdshQkLHDQ0a4G9K/JffQ+vuZMzvfkz7rW4RKpkYQtx6MCg+9O 5fxoszvH5xWxRAguQiNBUzkPikhZpGMHTUrfLOoroO1WXdwnlPy86zdtZhUmPdq9KoDb ceSDIsd2kMARNhAcwfvNiN2XJnYadq0yDFFY0bZdwgsMhn7b1RLFB19lC9+I2J2jUsE/ t2mA==
X-Gm-Message-State: AOAM533Xpi6pJEr6XhzJZDGFcwsFhskoUaktSb6oIMMWeTVOkrDb0fBQ +sptzsONsBdVDJNimQ0ZF9J+qtEdrHkCAuBpqK1m0hM4b9A=
X-Google-Smtp-Source: ABdhPJxWisU4tngOxFQp5097NynA3EsFtOVfceEWUGITyCK4NI8MCuBW59PLkoB87lu5kiTRAMkbQVOcg0wBJj+R4zE=
X-Received: by 2002:a67:18c6:: with SMTP id 189mr4792372vsy.54.1610598609058; Wed, 13 Jan 2021 20:30:09 -0800 (PST)
MIME-Version: 1.0
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Wed, 13 Jan 2021 20:29:51 -0800
Message-ID: <CAL0qLwaZx97cztehz_o=cCVZRbEP_yFVS9hTqWDKg7cMgjNvFg@mail.gmail.com>
To: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f8015605b8d4b5aa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/iFJWghWV1eSNkaWfmeguO9aRzjw>
Subject: [dmarc-ietf] Forensic report loops
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: Thu, 14 Jan 2021 04:30:12 -0000

How are implementers dealing with forensic report loops?

Say I send a message from X to Y, whose DKIM signature fails.  Y sends me
back a forensic report, whose DKIM signature also fails.  X sends a
forensic report to Y, whose report fails, etc.  We need a way to break the
loop.

As I recall, email routing loops are broken by simply counting the Received
fields, but a given forensic report is a new message each time, so a
mechanism like that won't work.

Off the top of my head, a few options:

1) a new header field indicating "This is a forensic report, don't generate
a forensic report about it."

2) some kind of token that's always in the Subject field of a DMARC
forensic report.

3) always generate forensic reports as the null sender, and specify that
forensic reports should never be generated in response to the null sender

4) something else?

-MSK