Re: [Gen-art] draft-baeuerle-netnews-cancel-lock-06 and RFCs 5536 & 5322

Pete Resnick <presnick@qti.qualcomm.com> Tue, 19 September 2017 18:41 UTC

Return-Path: <presnick@qti.qualcomm.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29BE7134349; Tue, 19 Sep 2017 11:41:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=qti.qualcomm.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 J7aR_7BOcg-s; Tue, 19 Sep 2017 11:41:38 -0700 (PDT)
Received: from sabertooth01.qualcomm.com (sabertooth01.qualcomm.com [65.197.215.72]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 345BE134350; Tue, 19 Sep 2017 11:41:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1505846498; x=1537382498; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=h+3nHlwjwWaEqLNz/iBwPWJBmX51mjtsih18Ra0DArY=; b=K7ByXZ4ugNXi6QqdcmwBidbd/L0agpmey+IVdpCdSxFOGFpCgQC0Y4GH DFNt6+SRELptCt8uCdmhpfr1fsjeU11RhJEXV4sefPC34LwkGHrLs0Sfb 3jVjQZh9JTQmGYvqAUoMayPQ6WsHEWwwaAUjjQ4viAkuW3lR+gBfFk9Cr A=;
X-IronPort-AV: E=Sophos;i="5.42,418,1500966000"; d="scan'208,217";a="115130684"
Received: from unknown (HELO Ironmsg04-L.qualcomm.com) ([10.53.140.111]) by sabertooth01.qualcomm.com with ESMTP; 19 Sep 2017 11:41:37 -0700
X-IronPort-AV: E=McAfee;i="5900,7806,8659"; a="1425740628"
X-MGA-submission: MDEZwbQ3YSs6HY7gUoMeVtPpLjjbibwQBxKsF85yyyuRav4Up+jelfTJtWxczeEmP24nIs0YzpXiewaZsHxPsjHpGVBeF+TBWjuCB/yDyq8KxSQa/hP8d6NPulQqrl5f/aeGUAZsxrOvV8MSMRlKvGDZ
Received: from nasanexm01f.na.qualcomm.com ([10.85.0.32]) by Ironmsg04-L.qualcomm.com with ESMTP/TLS/AES256-SHA; 19 Sep 2017 11:41:37 -0700
Received: from [10.110.24.18] (10.80.80.8) by NASANEXM01F.na.qualcomm.com (10.85.0.32) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 19 Sep 2017 11:41:36 -0700
From: Pete Resnick <presnick@qti.qualcomm.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>
CC: Paul Kyzivat <pkyzivat@alum.mit.edu>, draft-baeuerle-netnews-cancel-lock.all@ietf.org, General Area Review Team <gen-art@ietf.org>
Date: Tue, 19 Sep 2017 13:41:35 -0500
Message-ID: <D0DEE08D-531E-4CD5-8C65-52B008B7CB02@qti.qualcomm.com>
In-Reply-To: <1505831034.2210395.1111181888.051F2D85@webmail.messagingengine.com>
References: <9be2e7af-b99d-4f86-6552-bfada936600d@alum.mit.edu> <20170707174750.487009ed@WStation4> <7452e826-62e9-0d6e-32b5-dcdefcb4c2ea@alum.mit.edu> <20170711203934.458e3b62@WStation4> <37001dcd-6551-78b4-18e7-75fbebaff761@alum.mit.edu> <0147f247-2763-8017-f123-5cdd6ceb06b3@alum.mit.edu> <1505814165.1516258.1110891352.7E7D795F@webmail.messagingengine.com> <38d90b33-4edf-8bba-9bfe-9b5f5a0890d3@alum.mit.edu> <1505831034.2210395.1111181888.051F2D85@webmail.messagingengine.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_MailMate_38D57B4E-4690-47F5-A1D0-BECA94C1C233_="
X-Mailer: MailMate (1.9.7r5412)
X-Originating-IP: [10.80.80.8]
X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To NASANEXM01F.na.qualcomm.com (10.85.0.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/jgBiSPIATc66ZVOQKa7w0OzMgW0>
Subject: Re: [Gen-art] draft-baeuerle-netnews-cancel-lock-06 and RFCs 5536 & 5322
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Sep 2017 18:41:40 -0000

On 19 Sep 2017, at 9:23, Alexey Melnikov wrote:

>>>      optional-field  =/ *( approved /
>>>                            archive /
>>>                            control /
>>>                            distribution /
>>>                            expires /
>>>                            followup-to /
>>>                            injection-date /
>>>                            injection-info /
>>>                            lines /
>>>                            newsgroups /
>>>                            organization /
>>>                            path /
>>>                            summary /
>>>                            supersedes /
>>>                            user-agent /
>>>                            xref )
>>
>> I see one issue with the above. <optional-field> appears *twice* in 
>> the
>> definition of <fields> in 5322. I don't understand what the intent 
>> was
>> there - whether it was a mistake or was trying to express something 
>> that
>> I am missing.
>
> I believe it was entirely intentional. The first instance allows to 
> add
> new trace header fields (which should be kept together in groups), the
> second allows adding other types of header fields.

Correct, that was the intention. In 5322, optional-field is a catchall 
for any new header field, so you need one for new trace fields and one 
for other fields. Otherwise, there's no way to put a new field between 
two trace fields. This was a fix in 5322 from 2822.

>> This really needs some further discussion. (E.g., should
>> the valid values for <optional-field> as used with trace be distinct
>> from those in its later appearance?
>
> Yes. It would have been better to have 2 separate productions, like
> trace-optional-field and other-optional-field, but what Pete did seems
> to be Ok.

Yes, that might have been nice, but putting extensibility syntax 
throughout the grammar starts to get ugly. (Imagine 
resent-optional-field, originator-optional-field, etc.) I think just one 
is fine.

>> This needs to be thrashed out with
>> mail experts before this fix is finalized. I don't know what forum is
>> appropriate for that.
>
> I am not sure. Pete?

Probably ietf-822, but (a) I personally haven't read the list in a very 
long time, and (b) I don't think there's anything terribly controversial 
about the change.

>> Ignoring that, I agree this change to 5536 would achieve the goal
>> without requiring a change in 5322, which is progress. However I 
>> think a
>> tweak to the above would be be a bit cleaner:
>>
>>      optional-field  =/    approved /
>>                            archive /
>>                            control /
>>                            distribution /
>>                            expires /
>>                            followup-to /
>>                            injection-date /
>>                            injection-info /
>>                            lines /
>>                            newsgroups /
>>                            organization /
>>                            path /
>>                            summary /
>>                            supersedes /
>>                            user-agent /
>>                            xref
>>
>> This is definitely a better fix than I was suggesting. (Thank you 
>> Pete!)
>
> Good.

You're very welcome. I am equally fine with Alexey and Julien's version:

      optional-field  = <see RFC 5322 Section 3.6.8>

      news-fields     =     approved /
                            archive /
                            control /
                            distribution /
                            expires /
                            followup-to /
                            injection-date /
                            injection-info /
                            lines /
                            newsgroups /
                            organization /
                            path /
                            summary /
                            supersedes /
                            user-agent /
                            xref

      optional-field  /=    newsfields


pr
-- 
Pete Resnick <http://www.qualcomm.com/~presnick/>
Qualcomm Technologies, Inc. - +1 (858)651-4478