Re: [marf] [Technical Errata Reported] RFC6652 (6579)

Scott Kitterman <scott@kitterman.com> Wed, 12 May 2021 03:14 UTC

Return-Path: <scott@kitterman.com>
X-Original-To: marf@ietfa.amsl.com
Delivered-To: marf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFEBC3A3108 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 20:14:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=kitterman.com header.b=Xg874Z7b; dkim=pass (2048-bit key) header.d=kitterman.com header.b=keAy3hWT
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 VO4eFTjbdIR4 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 20:14:12 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [64.20.48.66]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE4C33A3106 for <marf@ietf.org>; Tue, 11 May 2021 20:14:11 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [64.20.48.66]) by interserver.kitterman.com (Postfix) with ESMTPS id EFB57F803B0; Tue, 11 May 2021 23:14:10 -0400 (EDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1620789250; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=zUX/sWICYPyNcKX7kJNLCXTzZl/EEQwDthAkTIhYziA=; b=Xg874Z7bopm6xNpqHtyf6M1wguuQ3mLwZdPcK02XwCSPttXtAitgY5gB746gQUjI5e3+8 j1bPXrNHAlprBGsBg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1620789250; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=zUX/sWICYPyNcKX7kJNLCXTzZl/EEQwDthAkTIhYziA=; b=keAy3hWTonRhNdRCR3zu/UuPqMxh6VQF2nSdPiMd8J8iRPsyu7xoLRC0wX1wErT2IICgB tC+ZKzHhuWI3SW/6SKe8af3JDKTNWFcMy/KR3Mg1Pkwg/6WqbaEmCqfe/pDTY/oI0L8GyoX NIHOCRaf+l3f8BTXQZrs4gBY8cUjg7YUhC0jw3Co9J9ifB8lq63EBi9Z17h0yn7QGMAfOBR 5W5lxL83/D1/dSJM4C3s5WlLktDsdhyRNVpXfewdyrCFGwaL0KmyJw/amkCSIwNccVVP2si O1i5XBACoDG57oSC3K2lQjtGM5J9Wqd0d6xGhm5c4wypcfaycYUcI5xMzXUA==
Received: from zini-1880.localnet (static-72-81-252-22.bltmmd.fios.verizon.net [72.81.252.22]) by interserver.kitterman.com (Postfix) with ESMTP id 9C627F8038B; Tue, 11 May 2021 23:14:10 -0400 (EDT)
From: Scott Kitterman <scott@kitterman.com>
To: "John R. Levine" <johnl@iecc.com>
Cc: Ned Freed <ned.freed@mrochek.com>, RFC Errata System <rfc-editor@rfc-editor.org>, chaosben@gmail.com, francesca.palombini@ericsson.com, marf@ietf.org
Date: Tue, 11 May 2021 23:14:10 -0400
Message-ID: <1633179.APbOd4CiE2@zini-1880>
In-Reply-To: <c82914cb-af4-4e46-be34-b2d0dedc1be6@iecc.com>
References: <20210511145112.A5979F407E4@rfc-editor.org> <01RYWIZU1TYU0085YQ@mauve.mrochek.com> <c82914cb-af4-4e46-be34-b2d0dedc1be6@iecc.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/marf/Jixxm_l8qzQ9Pm1pwUhHE_A8LMU>
Subject: Re: [marf] [Technical Errata Reported] RFC6652 (6579)
X-BeenThere: marf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Message Abuse Report Format working group discussion list <marf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/marf>, <mailto:marf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/marf/>
List-Post: <mailto:marf@ietf.org>
List-Help: <mailto:marf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/marf>, <mailto:marf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 May 2021 03:14:17 -0000

On Tuesday, May 11, 2021 12:10:58 PM EDT John R. Levine wrote:
> > This one is ... interesting, in a pedantic sort of way.
> > 
> > And finally, there's the question of whether this is a correction or an
> > update. I think 1*3DIGIT clearly qualifies as a correction given that's
> > what is in other RFCs, but the more restrictive you get the closer you
> > are to this being an update.
> 
> The current ABNF has two values separated by a slash, which doesn't match
> the text at all.  I'm inclined to go with 1*3DIGIT because I agree that
> implementations will use some version of atoi() and leading zeros don't
> matter.
> 
> Has anyone ever implemented this?  The text says to ignore ra= in include=
> records but says nothing about redirect= records.  Is that deliberate?
> What happens in the common case that the redirect target is not a
> hostname?

Although I don't remember for sure, it probably was deliberate.  When include 
and redirect were designed the intent was that one would use redirect to 
aggregate SPF record content within an ADMD, so an ra= in a redirect target 
would generally be in within the same ADMD and reasonable to use.  Include was 
meant to be used for external senders authorized to send for the domain, so 
using ra= from a include target would likely be some other ADMDs ra and thus 
should be skipped.

I won't swear that was the thinking when I wrote 6652, but given the history, 
I think that's likely.

Scott K

> >> Original Text
> >> -------------
> >> spf-rp-tag = "rp=" 1*12DIGIT "/" 1*12DIGIT
> >> 
> >> Corrected Text
> >> --------------
> >> spf-rp-tag = "rp=" "100" / 1*2DIGIT
> >> 
> >> Notes
> >> -----
> >> 
> >> As explained in paragraph 3, the value of the "rp" modifier should be an
> >> integer value between 0 and 100. However, the specified abnf does not fit
> >> this requirement.
> >> 
> >> Instructions:
> >> -------------
> >> This erratum is currently posted as "Reported". If necessary, please
> >> use "Reply All" to discuss whether it should be verified or
> >> rejected. When a decision is reached, the verifying party
> >> can log in to change the status and edit the report, if necessary.
> >> 
> >> --------------------------------------
> >> RFC6652 (draft-ietf-marf-spf-reporting-11)
> >> --------------------------------------
> >> Title               : Sender Policy Framework (SPF) Authentication
> >> Failure Reporting Using the Abuse Reporting Format Publication Date    :
> >> June 2012
> >> Author(s)           : S. Kitterman
> >> Category            : PROPOSED STANDARD
> >> Source              : Messaging Abuse Reporting Format
> >> Area                : Applications
> >> Stream              : IETF
> >> Verifying Party     : IESG
> >> 
> >> _______________________________________________
> >> marf mailing list
> >> marf@ietf.org
> >> https://www.ietf.org/mailman/listinfo/marf
> > 
> > _______________________________________________
> > marf mailing list
> > marf@ietf.org
> > https://www.ietf.org/mailman/listinfo/marf
> 
> Regards,
> John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for
> Dummies", Please consider the environment before reading this e-mail.
> https://jl.ly