Re: DMARC and ietf.org

Alessandro Vesely <vesely@tana.it> Fri, 22 July 2016 08:46 UTC

Return-Path: <vesely@tana.it>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EC1212DA35 for <ietf@ietfa.amsl.com>; Fri, 22 Jul 2016 01:46:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.589
X-Spam-Level:
X-Spam-Status: No, score=-5.589 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=tana.it
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 7_kWcrwnyeYo for <ietf@ietfa.amsl.com>; Fri, 22 Jul 2016 01:46:27 -0700 (PDT)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E68012D9F9 for <ietf@ietf.org>; Fri, 22 Jul 2016 01:46:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=beta; t=1469177184; bh=LSBbwKORhmeXI19UQDZLB16oZojLbQeTjPcohhLxqn8=; l=3003; h=To:References:From:Date:In-Reply-To; b=f0q9Ou0HalwrKE2RhPHVDdm6SUZ7BeNsUd7Frg/FcINUw7AQTGqtjoPSflefmqrdk CpScQ4aKfhR80mFB93fK7uMNXsRltNx+y+SBc/LoxUMVD345I+LMavddAsIL8x+6Gt Jg1g1S82kzbN7EjSCr7Zney8FkKpkxgU04ACaxLg=
Authentication-Results: tana.it; auth=pass (details omitted)
Received: from [172.25.197.88] (pcale.tana [172.25.197.88]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k) by wmail.tana.it with ESMTPA; Fri, 22 Jul 2016 10:46:24 +0200 id 00000000005DC042.000000005791DD60.00005A79
Subject: Re: DMARC and ietf.org
To: dcrocker@bbiw.net, Brian E Carpenter <brian.e.carpenter@gmail.com>, ietf@ietf.org
References: <CAL0qLwYZPO9L9e7MHA6zP5vcTbQEJmwCSonLdMeQiOw4CUoiFw@mail.gmail.com> <6.2.5.6.2.20140719235353.0c50d260@resistor.net> <25621.1405862805@sandelman.ca> <56CDC083.7020001@sandelman.ca> <CAA=duU0HLdE0WRcM3o9SXGuZ2T6E5mha+GjRkyGfPEe+VO=pdg@mail.gmail.com> <87B045CE-2C2F-4528-937E-772B67E26F8C@vigilsec.com> <1301.1456329984@obiwan.sandelman.ca> <56CDFA68.4030506@gmail.com> <A2F94A7A-3984-4E01-9C66-C580BD8C92CA@me.com> <BE67956E-7299-41D1-B8D6-B66AD18081D7@vigilsec.com> <bf2540aa-eda2-8e56-d3f5-1bf862b395ce@dcrocker.net> <10004.1469036041@obiwan.sandelman.ca> <25ffe3be-cf32-6a25-1830-82650c1175d9@dcrocker.net> <aa0e220a-e1a1-3c65-b426-01d1fbb09c5d@gmail.com> <c1372647-cd37-9eb9-ee8b-4ef8d21809c4@dcrocker.net> <01Q2SVKQRGDC00005M@mauve.mrochek.com> <CC6156F0-83C6-4E18-80F9-B0B4FAD13621@vigilsec.com> <01Q2TDG2FOSY00005M@mauve.mrochek.com> <d86fff59-68be-0149-8bd7-d5cef6fa2668@gmail.com> <cb956816-371a-a65a-3a47-46646c747fca@dcrocker.net>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <4648b7cf-8d91-72ef-6e1d-b9aa6e0e2c79@tana.it>
Date: Fri, 22 Jul 2016 10:46:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0
MIME-Version: 1.0
In-Reply-To: <cb956816-371a-a65a-3a47-46646c747fca@dcrocker.net>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/cliGZiwH6wTtJp3St59S2CzqHA0>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 08:46:30 -0000

On Fri 22/Jul/2016 08:55:41 +0200 Dave Crocker wrote:
>>>>> The most straightforward way to accomplish this would be to
>>>>> make copies of the original fields with different names, but
>>>>> of course many other approaches  are possible.
>>>>
>>>> I do not see MailMan settings to make that happen.  Maybe I missed
>>>> something...
>>>>
>>> That's most unfortunate, and I have to say moves my position from
>>> neutral to "don't do it".
>>>
>>> Reversible damage is one thing, irreversible damage another.
>>
>> That's the dilemma. An agent that obeys p=reject does irreversible
>> damage too. I can figure out how to live with p=reject being treated
>> as p=quarantine, but not with "reject means reject".
>
> There are different levels of issue here.  The one that Ned is raising is
> something that we might be able to affect.
>
> The changes made by mailing list software were done in haste and without
> community deliberation, in response to a sudden escalation.  The efforts were
> well-intentioned, but haven't been vetted.
>
> Since the changes are going to be with us for quite awhile (and maybe
> permanently) we ought to formulate a recommendation, up to the level of making
> it a BCP (or even PS...)
>
> Reversibility of the changes to the message is a requirement I hadn't heard
> before, but it makes complete sense.  My own complaint is about messing with
> the usability of the From field by the recipient.

So, in principle, it would be a decent solution to mitigate as follows:

1) MLM alters From: but copies it to, say, MLM-Original-From:,

2) MX receives a duly signed and aligned From:, and accepts the message,

3) a mitigation-aware filter, possibly using sieve or procmail or whatever, 
detects and reverses the damage introduced in (1), and

4) recipients are happy.

Let me stress that the legitimacy of (3) hinges on recipients setting up the 
damage-fixer themselves, in person.  Specifically, they should allow undoing 
alterations by MLMs they recognize, and only if their signature verifies. 
Otherwise, any attacker can add a spurious MLM-Original-From:.

> I suggest initiating a small effort to formulate a suggested 'standard'
> behavior by mediators (eg, mailing lists) that modify the rfc5322.From field,
> in response to DMARC issues.
>
> The effort should include some usability folks, since this is visible to
> recipients and the design of the details should attend to... well, you know,
> utility and ease of use.

IMHO Ned's proposal is better than conditional signatures as it can be 
modulated per recipient and per list.  However, it requires double effort by 
concerned users, who have to set up the damage-fixer everytime they subscribe 
to a list.  That operation cannot be automated, because neither recipient's MX 
nor client are aware of subscriptions.  There are various ways to overcome the 
latter issue, which can be included in the above suggested effort.


Ale
-- 
http://fixforwarding.org/