
From nobody Tue May 11 07:51:21 2021
Return-Path: <wwwrun@rfc-editor.org>
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 E93293A1A57 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 07:51:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 EKn0FH8pxfnG for <marf@ietfa.amsl.com>; Tue, 11 May 2021 07:51:14 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5C133A1A59 for <marf@ietf.org>; Tue, 11 May 2021 07:51:14 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id A5979F407E4; Tue, 11 May 2021 07:51:12 -0700 (PDT)
To: scott@kitterman.com, superuser@gmail.com, francesca.palombini@ericsson.com, superuser@gmail.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: chaosben@gmail.com, marf@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20210511145112.A5979F407E4@rfc-editor.org>
Date: Tue, 11 May 2021 07:51:12 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/marf/I0qC3EOXO0vSUu-9LUxVR0D8tVQ>
Subject: [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: Tue, 11 May 2021 14:51:19 -0000

The following errata report has been submitted for RFC6652,
"Sender Policy Framework (SPF) Authentication Failure Reporting Using the Abuse Reporting Format".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid6579

--------------------------------------
Type: Technical
Reported by: Benjamin Schwarze <chaosben@gmail.com>

Section: 3.

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


From nobody Tue May 11 09:02:05 2021
Return-Path: <ned.freed@mrochek.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 0BA203A1C91 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 09:02:03 -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=pass (1024-bit key) header.d=mrochek.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 tPdjICbjMVse for <marf@ietfa.amsl.com>; Tue, 11 May 2021 09:01:58 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 179A83A1C92 for <marf@ietf.org>; Tue, 11 May 2021 09:01:57 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RYWIZYCVKG009Y90@mauve.mrochek.com> for marf@ietf.org; Tue, 11 May 2021 08:56:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712;  t=1620748613; bh=grRyngXiZyl/AyyagwJjIMSB/DcKfW2mllyV3q3Z/mo=;  h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=AhY3BUcOlA4CKLEGCUPma5H3up7nz2LcfMYzRUqBIGkMJRtGGGi1th2J5Z/DL+QJX oOUAg5ys+ziN+X4jnmf+RTx1rcprGeYJ+WbBaA2NylV29MkX8T6IsMsiRfqebP8wQ6 LIJt5E85Z7JbFuuUYGRTxMdyQJQEHRyKmgNHrcyc=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RYVNHGP6CG0085YQ@mauve.mrochek.com>; Tue, 11 May 2021 08:56:48 -0700 (PDT)
Cc: scott@kitterman.com, superuser@gmail.com, francesca.palombini@ericsson.com, chaosben@gmail.com, rfc-editor@rfc-editor.org, marf@ietf.org
Message-id: <01RYWIZU1TYU0085YQ@mauve.mrochek.com>
Date: Tue, 11 May 2021 08:18:30 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Tue, 11 May 2021 07:51:12 -0700 (PDT)" <20210511145112.A5979F407E4@rfc-editor.org>
References: <20210511145112.A5979F407E4@rfc-editor.org>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/marf/iIR0urPvqAWzRgkGe_WQ4wozXQM>
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: Tue, 11 May 2021 16:02:03 -0000

This one is ... interesting, in a pedantic sort of way.

The current ABNF is clearly incorrect; the question is how best to fix it.

The simplest fix is:

  spf-rp-tag = "rp=" 1*3DIGIT 

This conforms to the ABNF used for similar percentage values 
in related specifications. For example RFC 7489 defines pct as:

  dmarc-percent   = "pct" *WSP "=" *WSP
                       1*3DIGIT

Even though the pct value is restricted in the text to the
same 0-100 range as is allowed here.

But this allows values outside the allowed range, as well as leading zeros. The
fix suggested in the report restricts things to the allowed range:

  spf-rp-tag = "rp=" "100" / 1*2DIGIT

But it doesn't deal with the leading zero issue. And it now disallows things
like "001" that were allowed before, and which do specify an in-range value.

If you also want to eliminate leading zeros, then you need something like:

  spf-rp-tag = "rp=" ("100" / ([%x31-39] DIGIT))

Of course there are other ways to do it, but I don't think there are
any that involve fewer terminals.

As to what implementations do, my guess is most call whatever integer parser
they have handy, and then check to see if the result is in range. This probably
means they are tolerant of leading zeros - although I guess it's faintly
possible that a value with a leading zero will be interpreted in base 8 - and
some probably allow a leading +/-.

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.

Anyway, my recommendation is to go with 1*3DIGIT for now, although I don't
feel strongly about it.

				Ned

> The following errata report has been submitted for RFC6652,
> "Sender Policy Framework (SPF) Authentication Failure Reporting Using the Abuse Reporting Format".

> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6579

> --------------------------------------
> Type: Technical
> Reported by: Benjamin Schwarze <chaosben@gmail.com>

> Section: 3.

> 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


From nobody Tue May 11 09:11:10 2021
Return-Path: <johnl@iecc.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 810023A1CE4 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 09:11:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.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 spL-orSzQZgG for <marf@ietfa.amsl.com>; Tue, 11 May 2021 09:11:03 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A64293A1CE1 for <marf@ietf.org>; Tue, 11 May 2021 09:11:03 -0700 (PDT)
Received: (qmail 80350 invoked from network); 11 May 2021 16:11:00 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=139d6.609aac94.k2105; bh=NrMmwXSZj0XpTv6Gj+aEAEvW7Htwgkq1AJt6EmogBx8=; b=yVCsgKjI2zrjtQYLxJQmJRUybxnsD1RsygQc21Dk/alZD3OEq2b3LLRkVUL2c6eHBaeXC8KhEbgb+LOgaFPX89n1jldW56bnlSNgw1OyLKuazgAEzYwjh2vsYhk3rQk3kIn9/kQj31Ekj8uUeEnojhdeP0wn7cQ5RGy0iMhv+6qAONIZvq9O4fJPg8+oUlozri1hLG8mb77pPh955cvbSwx0Tz7zH+k9+PuvaND0DwYCBxYXJRsSqcNjYS1ruR+v1jaH5PnT6KF1RefFqMeeKvvSMHtyabxhazp+VR0nENNUBY4gK4M1yPxCdB+SyNX7AL+vp04Ju20Xc/hNoimFbw==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 11 May 2021 16:10:59 -0000
Received: by ary.qy (Postfix, from userid 501) id 01E00762B18; Tue, 11 May 2021 12:10:58 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id 7EA6B762AFA; Tue, 11 May 2021 12:10:58 -0400 (EDT)
Date: 11 May 2021 12:10:58 -0400
Message-ID: <c82914cb-af4-4e46-be34-b2d0dedc1be6@iecc.com>
From: "John R. Levine" <johnl@iecc.com>
To: "Ned Freed" <ned.freed@mrochek.com>, "RFC Errata System" <rfc-editor@rfc-editor.org>
Cc: scott@kitterman.com, chaosben@gmail.com, francesca.palombini@ericsson.com,  marf@ietf.org
X-X-Sender: johnl@ary.qy
In-Reply-To: <01RYWIZU1TYU0085YQ@mauve.mrochek.com>
References: <20210511145112.A5979F407E4@rfc-editor.org> <01RYWIZU1TYU0085YQ@mauve.mrochek.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/marf/Bimd9vmApBNKb73RoDBD1bXw2tc>
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: Tue, 11 May 2021 16:11:09 -0000

> 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?


>> 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


From nobody Tue May 11 20:09:45 2021
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 66BAA3A30E5 for <marf@ietfa.amsl.com>; Tue, 11 May 2021 20:09:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, 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=YFawRk0q; dkim=pass (2048-bit key) header.d=kitterman.com header.b=pggIwOt4
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 dnacxjL2hpaA for <marf@ietfa.amsl.com>; Tue, 11 May 2021 20:09:38 -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 7A0B33A30E3 for <marf@ietf.org>; Tue, 11 May 2021 20:09:38 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [64.20.48.66]) by interserver.kitterman.com (Postfix) with ESMTPS id 258BCF803B0; Tue, 11 May 2021 23:09:37 -0400 (EDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1620788976; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=Tbcu9EQyMOaqynnH1isFak/6wtxhZlhDMh7tc7D1SaA=; b=YFawRk0qovBxPi0cyrgC3sB3Wp1LcjqPWjT6RuWDyW4fnHeTh07+ZrPgQU7T7D29aBqlk IPzpwgMI5wbeOK1CQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1620788976; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type : from; bh=Tbcu9EQyMOaqynnH1isFak/6wtxhZlhDMh7tc7D1SaA=; b=pggIwOt4Olm67UZnaPnLEFLCJL/a72oJzYLrDFUZkBdn/8tWTZ2pvS55qM4kEK6QcWYBa OyCuknbn2pHioWy5hRurxMFX/FctUQ3BAH/0FNAbCFoxGeL+SV8M+q8ThBm8wKj9kFMTbB5 Zsf8ixOu11HyjPyGrvneZWZWD6B97w8HVNnwb9IozRqRhjipFLSEE6LIxNOlpkuVHZ3Vqpj rWnPd9J0EvE8dXLEMYrpYH1UDpAvmLoTyqK8au9ytzip+hasewlQ1hF6ZIlulILQFsRBG8b 9eHQB8R5OG2G6X0E/wtJsAK32yT7riUTf3/DiaGIaMKxrNKOnmhTvBYobtLg==
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 C96B5F8038B; Tue, 11 May 2021 23:09:36 -0400 (EDT)
From: Scott Kitterman <scott@kitterman.com>
To: Ned Freed <ned.freed@mrochek.com>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, superuser@gmail.com, francesca.palombini@ericsson.com, chaosben@gmail.com, marf@ietf.org
Date: Tue, 11 May 2021 23:09:36 -0400
Message-ID: <2590084.FudqU914BW@zini-1880>
In-Reply-To: <01RYWIZU1TYU0085YQ@mauve.mrochek.com>
References: <20210511145112.A5979F407E4@rfc-editor.org> <01RYWIZU1TYU0085YQ@mauve.mrochek.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/n44XKZtksF2mdH5kUBwvOcfDJFI>
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:09:44 -0000

On Tuesday, May 11, 2021 11:18:30 AM EDT Ned Freed wrote:
> This one is ... interesting, in a pedantic sort of way.
> 
> The current ABNF is clearly incorrect; the question is how best to fix it.
> 
> The simplest fix is:
> 
>   spf-rp-tag = "rp=" 1*3DIGIT
> 
> This conforms to the ABNF used for similar percentage values
> in related specifications. For example RFC 7489 defines pct as:
> 
>   dmarc-percent   = "pct" *WSP "=" *WSP
>                        1*3DIGIT
> 
> Even though the pct value is restricted in the text to the
> same 0-100 range as is allowed here.
> 
> But this allows values outside the allowed range, as well as leading zeros.
> The fix suggested in the report restricts things to the allowed range:
> 
>   spf-rp-tag = "rp=" "100" / 1*2DIGIT
> 
> But it doesn't deal with the leading zero issue. And it now disallows things
> like "001" that were allowed before, and which do specify an in-range
> value.
> 
> If you also want to eliminate leading zeros, then you need something like:
> 
>   spf-rp-tag = "rp=" ("100" / ([%x31-39] DIGIT))
> 
> Of course there are other ways to do it, but I don't think there are
> any that involve fewer terminals.
> 
> As to what implementations do, my guess is most call whatever integer parser
> they have handy, and then check to see if the result is in range. This
> probably means they are tolerant of leading zeros - although I guess it's
> faintly possible that a value with a leading zero will be interpreted in
> base 8 - and some probably allow a leading +/-.
> 
> 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.
> 
> Anyway, my recommendation is to go with 1*3DIGIT for now, although I don't
> feel strongly about it.
> 
> 				Ned

I think that's reasonable.

Scott K
> 
> > The following errata report has been submitted for RFC6652,
> > "Sender Policy Framework (SPF) Authentication Failure Reporting Using the
> > Abuse Reporting Format".
> > 
> > --------------------------------------
> > You may review the report below and at:
> > https://www.rfc-editor.org/errata/eid6579
> > 
> > --------------------------------------
> > Type: Technical
> > Reported by: Benjamin Schwarze <chaosben@gmail.com>
> > 
> > Section: 3.
> > 
> > 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





From nobody Tue May 11 20:14:19 2021
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




