
From ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org  Thu Oct 15 13:34:12 2009
Return-Path: <ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org>
X-Original-To: ietfarch-nntpext-archive@core3.amsl.com
Delivered-To: ietfarch-nntpext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 946A73A657C for <ietfarch-nntpext-archive@core3.amsl.com>; Thu, 15 Oct 2009 13:34:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.102
X-Spam-Level: 
X-Spam-Status: No, score=0.102 tagged_above=-999 required=5 tests=[BAYES_50=0.001, GB_I_LETTER=-2, J_CHICKENPOX_65=0.6, J_CHICKENPOX_74=0.6, J_CHICKENPOX_83=0.6, MIME_8BIT_HEADER=0.3, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lukXNg+ixHHe for <ietfarch-nntpext-archive@core3.amsl.com>; Thu, 15 Oct 2009 13:34:11 -0700 (PDT)
Received: from hope.eyrie.org (hope.eyrie.org [166.84.7.155]) by core3.amsl.com (Postfix) with ESMTP id 785213A65A6 for <nntpext-archive@ietf.org>; Thu, 15 Oct 2009 13:34:08 -0700 (PDT)
Received: from hope.eyrie.org (localhost [127.0.0.1]) by hope.eyrie.org (Postfix) with ESMTP id 7F1A167E29 for <nntpext-archive@ietf.org>; Thu, 15 Oct 2009 13:34:11 -0700 (PDT)
X-Original-To: ietf-nntp@lists.eyrie.org
Delivered-To: ietf-nntp@lists.eyrie.org
Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [91.121.27.225]) by hope.eyrie.org (Postfix) with SMTP id 2496067E20 for <ietf-nntp@lists.eyrie.org>; Thu, 15 Oct 2009 13:34:09 -0700 (PDT)
Received: (qmail 30786 invoked by uid 503); 15 Oct 2009 20:34:09 -0000
Received: from 42.mail-out.ovh.net (213.251.189.42) by 26.mail-out.ovh.net with SMTP; 15 Oct 2009 20:34:09 -0000
Received: (qmail 4831 invoked by uid 503); 15 Oct 2009 20:34:38 -0000
Received: from b7.ovh.net (HELO mail415.ha.ovh.net) (213.186.33.57) by 42.mail-out.ovh.net with SMTP; 15 Oct 2009 20:34:38 -0000
Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 15 Oct 2009 20:34:17 -0000
Received: from aaubervilliers-151-1-19-158.w83-114.abo.wanadoo.fr (HELO Iulius) (julien%trigofacile.com@83.114.138.158) by ns0.ovh.net with SMTP; 15 Oct 2009 20:34:14 -0000
Message-ID: <138FDC5905CE47C7B91905444FD54489@Iulius>
From: =?ISO-8859-15?Q?Julien_=C9LIE?= <julien@trigofacile.com>
To: <ietf-nntp@lists.eyrie.org>
Date: Thu, 15 Oct 2009 22:34:05 +0200
Organization: TrigoFACILE -- http://www.trigofacile.com/
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Ovh-Tracer-Id: 9747478444129648007
X-Ovh-Remote: 83.114.138.158 (aaubervilliers-151-1-19-158.w83-114.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: DONE|U 0.5/N
Subject: [NNTP] Additions to the LIST capability
X-BeenThere: ietf-nntp@lists.eyrie.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: NNTP protocol discussion <ietf-nntp.lists.eyrie.org>
List-Unsubscribe: <http://lists.eyrie.org/mailman/options/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=unsubscribe>
List-Archive: <http://lists.eyrie.org/pipermail/ietf-nntp>
List-Post: <mailto:ietf-nntp@lists.eyrie.org>
List-Help: <mailto:ietf-nntp-request@lists.eyrie.org?subject=help>
List-Subscribe: <http://lists.eyrie.org/mailman/listinfo/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=subscribe>
Sender: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org
Errors-To: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org

Hi,

I think it would be useful to document a few additions to the LIST capability:

 - LIST ACTIVE -> field status "j", "x" and "=news.group";
 - LIST DISTRIBUTIONS;
 - LIST MODERATORS;
 - LIST MOTD;
 - LIST SUBSCRIPTIONS.

I've begun to write an Internet-Draft and would like to have a few comments
on it.  Feel free to point out lame wording and any issue you see.

** First of all, do you see other keywords we should add to LIST?  Is it OK
to put everything in the same I.-D. ?



Abstract

   This document defines a set of enhancements to the Network News
   Transfer Protocol (NNTP) that allows a client to request extended
   information maintained by NNTP servers as for local use and
   distribution policy.  These enhancements are made as new keywords to
   the existing LIST capability described in RFC 3977.

   This memo updates and formalizes the LIST DISTRIBUTIONS and LIST
   SUBSCRIPTIONS commands specified in RFC 2980.  It also adds the LIST
   MODERATORS and LIST MOTD commands, and specifies additional values
   returned by the existing LIST ACTIVE command for the status of a
   newsgroup.


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.1.  Conventions Used in This Document  . . . . . . . . . . . .  4
   2.  Additions to the LIST Extension  . . . . . . . . . . . . . . .  5
     2.1.  Advertising the New LIST Commands  . . . . . . . . . . . .  5
     2.2.  Additions to the LIST ACTIVE Command . . . . . . . . . . .  5
       2.2.1.  Usage  . . . . . . . . . . . . . . . . . . . . . . . .  5
       2.2.2.  Description  . . . . . . . . . . . . . . . . . . . . .  5
       2.2.3.  Examples . . . . . . . . . . . . . . . . . . . . . . .  5
     2.3.  LIST DISTRIBUTIONS Command . . . . . . . . . . . . . . . .  5
       2.3.1.  Usage  . . . . . . . . . . . . . . . . . . . . . . . .  5
       2.3.2.  Description  . . . . . . . . . . . . . . . . . . . . .  5
       2.3.3.  Examples . . . . . . . . . . . . . . . . . . . . . . .  5
     2.4.  LIST MODERATORS Command  . . . . . . . . . . . . . . . . .  5
       2.4.1.  Usage  . . . . . . . . . . . . . . . . . . . . . . . .  5
       2.4.2.  Description  . . . . . . . . . . . . . . . . . . . . .  5
       2.4.3.  Examples . . . . . . . . . . . . . . . . . . . . . . .  5
     2.5.  LIST MOTD Command  . . . . . . . . . . . . . . . . . . . .  5
       2.5.1.  Usage  . . . . . . . . . . . . . . . . . . . . . . . .  5
       2.5.2.  Description  . . . . . . . . . . . . . . . . . . . . .  5
       2.5.3.  Examples . . . . . . . . . . . . . . . . . . . . . . .  5
     2.6.  LIST SUBSCRIPTIONS Command . . . . . . . . . . . . . . . .  5
       2.6.1.  Usage  . . . . . . . . . . . . . . . . . . . . . . . .  5
       2.6.2.  Description  . . . . . . . . . . . . . . . . . . . . .  5
       2.6.3.  Examples . . . . . . . . . . . . . . . . . . . . . . .  6
   3.  Augmented BNF Syntax for the New LIST Commands . . . . . . . .  7
     3.1.  Commands . . . . . . . . . . . . . . . . . . . . . . . . .  7
     3.2.  Responses  . . . . . . . . . . . . . . . . . . . . . . . .  7
   4.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  8
   5.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .  9
   6.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
     6.1.  Normative References . . . . . . . . . . . . . . . . . . . 10
     6.2.  Informative References . . . . . . . . . . . . . . . . . . 10
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 11
   Intellectual Property and Copyright Statements . . . . . . . . . . 12



** Does it look good?
Any comment about the use of "LIST Extension" and "LIST Command"?
"This" with a capital letter and "the" with a small letter?

** Should a "Security Considerations" section be added?  (E-mail issues
with LIST MODERATORS?  Another thing?)




1.  Introduction

   The NNTP specification [RFC3977] defines the LIST capability and a
   few keywords which can be used with that command:  ACTIVE,
   ACTIVE.TIMES, DISTRIB.PATS, HEADERS, NEWSGROUPS and OVERVIEW.FMT.  As
   other widely used keywords exist, they are formalized in this
   document.

   The DISTRIBUTIONS and SUBSCRIPTIONS keywords have originally been
   documented in [RFC2980].  The LIST DISTRIBUTIONS command is sent by a
   news client to obtain a list of relevant distributions known by a
   news server along with their descriptions.  The LIST SUBSCRIPTIONS
   command is sent by a news client when first connecting to a news
   server so as to obtain a list of recommended newsgroups available on
   it.  Both of these commands are intended to be used in place of
   hard-coding news clients to use specific distributions or look for
   specific default newsgroups.

   The MOTD keyword has originally been documented in
   [I-D.draft-hernacki-nntplist] (which also defines the SUBSCRIPTIONS
   keyword).  The LIST MOTD command is sent by a news client to obtain a
   "message of the day" containing useful information regarding the
   current state of a news server.

   The MODERATORS keyword was not documented before.  The LIST
   MODERATORS command is sent by a news client to obtain a list of
   associations between moderated newsgroups and their submission
   address.

   The ACTIVE keyword has already been documented in [RFC3977] but the
   meaning of only three status fields in response to the LIST ACTIVE
   command has been specified:  "y", "n" and "m".  This memo defines
   three other widespread values for the status field:  "j", "x" and "="
   followed by the name of a newsgroup.



** Any comment?  Is is enough for an introduction?

-- 
Julien ÉLIE

« Argumentum baculinum. » (Sganarelle) 


From ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org  Thu Oct 15 13:50:36 2009
Return-Path: <ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org>
X-Original-To: ietfarch-nntpext-archive@core3.amsl.com
Delivered-To: ietfarch-nntpext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6D39128C171 for <ietfarch-nntpext-archive@core3.amsl.com>; Thu, 15 Oct 2009 13:50:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.201
X-Spam-Level: 
X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_50=0.001, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WWM-ceNpb95x for <ietfarch-nntpext-archive@core3.amsl.com>; Thu, 15 Oct 2009 13:50:35 -0700 (PDT)
Received: from hope.eyrie.org (hope.eyrie.org [166.84.7.155]) by core3.amsl.com (Postfix) with ESMTP id 6D1BB28C175 for <nntpext-archive@ietf.org>; Thu, 15 Oct 2009 13:50:35 -0700 (PDT)
Received: from hope.eyrie.org (localhost [127.0.0.1]) by hope.eyrie.org (Postfix) with ESMTP id 02D1B67E2B for <nntpext-archive@ietf.org>; Thu, 15 Oct 2009 13:50:39 -0700 (PDT)
X-Original-To: ietf-nntp@lists.eyrie.org
Delivered-To: ietf-nntp@lists.eyrie.org
Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [91.121.27.225]) by hope.eyrie.org (Postfix) with SMTP id 5F3F367E22 for <ietf-nntp@lists.eyrie.org>; Thu, 15 Oct 2009 13:50:37 -0700 (PDT)
Received: (qmail 2118 invoked by uid 503); 15 Oct 2009 20:50:36 -0000
Received: from 42.mail-out.ovh.net (213.251.189.42) by 26.mail-out.ovh.net with SMTP; 15 Oct 2009 20:50:36 -0000
Received: (qmail 19510 invoked by uid 503); 15 Oct 2009 20:51:05 -0000
Received: from b7.ovh.net (HELO mail415.ha.ovh.net) (213.186.33.57) by 42.mail-out.ovh.net with SMTP; 15 Oct 2009 20:51:05 -0000
Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 15 Oct 2009 20:50:44 -0000
Received: from aaubervilliers-151-1-19-158.w83-114.abo.wanadoo.fr (HELO Iulius) (julien%trigofacile.com@83.114.138.158) by ns0.ovh.net with SMTP; 15 Oct 2009 20:50:42 -0000
Message-ID: <04A4212AECA04200BCE13BA5E605886B@Iulius>
From: =?ISO-8859-15?Q?Julien_=C9LIE?= <julien@trigofacile.com>
To: <ietf-nntp@lists.eyrie.org>
References: <138FDC5905CE47C7B91905444FD54489@Iulius>
In-Reply-To: <138FDC5905CE47C7B91905444FD54489@Iulius>
Date: Thu, 15 Oct 2009 22:50:32 +0200
Organization: TrigoFACILE -- http://www.trigofacile.com/
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Ovh-Tracer-Id: 10025575720522481031
X-Ovh-Remote: 83.114.138.158 (aaubervilliers-151-1-19-158.w83-114.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: DONE|U 0.5/N
Subject: Re: [NNTP] BNF for the additions to the LIST capability
X-BeenThere: ietf-nntp@lists.eyrie.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: NNTP protocol discussion <ietf-nntp.lists.eyrie.org>
List-Unsubscribe: <http://lists.eyrie.org/mailman/options/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=unsubscribe>
List-Archive: <http://lists.eyrie.org/pipermail/ietf-nntp>
List-Post: <mailto:ietf-nntp@lists.eyrie.org>
List-Help: <mailto:ietf-nntp-request@lists.eyrie.org?subject=help>
List-Subscribe: <http://lists.eyrie.org/mailman/listinfo/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=subscribe>
Sender: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org
Errors-To: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org

> I think it would be useful to document a few additions to the LIST capability:
>
> - LIST ACTIVE -> field status "j", "x" and "=news.group";
> - LIST DISTRIBUTIONS;
> - LIST MODERATORS;
> - LIST MOTD;
> - LIST SUBSCRIPTIONS.

Here is a proposal for the grammar.


3.  Augmented BNF Syntax for the New LIST Commands

   This section describes the formal syntax of the new LIST commands
   defined in this document using [RFC5234].  It extends the syntax in
   Section 9 of [RFC3977], and non-terminals not defined in this
   document are defined there.  The [RFC3977] ABNF should be imported
   first before attempting to validate these rules.

3.1.  Commands

   This syntax extends the non-terminal <list-arguments> which
   represents the keywords for the LIST command.

      list-arguments =/ "DISTRIBUTIONS" / "MODERATORS" /
              "MOTD" / "SUBSCRIPTIONS"

3.2.  Responses

   This syntax extends the non-terminals <newsgroup-status> and <list-
   content> which respectively represent the status field returned by
   the LIST ACTIVE command and the response contents for the LIST
   command.

      ; active
      newsgroup-status =/ %x6A / %x78 /   ; case-sensitive "j" and "x"
              newsgroup-alias
      newsgroup-alias =  "=" newsgroup-name

      ; distributions
      list-content =/ list-distributions-content
      list-distributions-content =
            *(distribution WS distribution-description CRLF)
      distribution-description = S-TEXT

      ; moderators
      list-content =/ list-moderators-content
      list-moderators-content =
            *(wildmat ":" moderators-address CRLF)
      moderators-address = S-TEXT

      ; motd
      list-content =/ list-motd-content
      list-motd-content = *(*U-CHAR CRLF)

      ; subscriptions
      list-content =/ list-subscriptions-content
      list-subscriptions-content = *(newsgroup-name CRLF)




** Is it OK?
Especially S-TEXT for distribution-description and moderators-address (?)

** Should other things be defined in that section?
Especially capability entries (?)  I see that RFC 3977 has
  list-capability = "LIST" 1*(WS keyword)
and defines nowhere an exhaustive list of such keywords, contrary to
  list-arguments = keyword [WS token]
  list-content = body
which are both extended with the exhaustive list of keywords and
responses.
That's why I think a capability section is not necessary, but I may be wrong.

** Should a capability be added to specify that the additions to the LIST ACTIVE
command are properly taken into account? ("j", "x" and "=news.group")
As a matter of fact, I do not see how to distinguish a news server which uses "j"
as a private value (allowed by RFC 3977) and a news server which uses "j" with
the meaning defined in an extension...

-- 
Julien ÉLIE

« L'art de la médecine consiste à distraire le malade
  pendant que la nature le guérit. » (Voltaire) 


From ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org  Tue Oct 20 14:31:14 2009
Return-Path: <ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org>
X-Original-To: ietfarch-nntpext-archive@core3.amsl.com
Delivered-To: ietfarch-nntpext-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C34EA28C107 for <ietfarch-nntpext-archive@core3.amsl.com>; Tue, 20 Oct 2009 14:31:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.655
X-Spam-Level: 
X-Spam-Status: No, score=-1.655 tagged_above=-999 required=5 tests=[AWL=0.644, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hD0SdFQVR3Hl for <ietfarch-nntpext-archive@core3.amsl.com>; Tue, 20 Oct 2009 14:31:13 -0700 (PDT)
Received: from hope.eyrie.org (hope.eyrie.org [166.84.7.155]) by core3.amsl.com (Postfix) with ESMTP id 12B803A6816 for <nntpext-archive@ietf.org>; Tue, 20 Oct 2009 14:31:09 -0700 (PDT)
Received: from hope.eyrie.org (localhost [127.0.0.1]) by hope.eyrie.org (Postfix) with ESMTP id 67B4667E27 for <nntpext-archive@ietf.org>; Tue, 20 Oct 2009 14:31:17 -0700 (PDT)
X-Original-To: ietf-nntp@lists.eyrie.org
Delivered-To: ietf-nntp@lists.eyrie.org
Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by hope.eyrie.org (Postfix) with SMTP id 17CDB67E14 for <ietf-nntp@lists.eyrie.org>; Tue, 20 Oct 2009 14:31:15 -0700 (PDT)
Received: (qmail 2294 invoked by uid 503); 20 Oct 2009 21:31:15 -0000
Received: from b9.ovh.net (HELO mail626.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 20 Oct 2009 21:31:15 -0000
Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 20 Oct 2009 21:31:50 -0000
Received: from aaubervilliers-151-1-27-37.w83-112.abo.wanadoo.fr (HELO Iulius) (julien%trigofacile.com@83.112.18.37) by ns0.ovh.net with SMTP; 20 Oct 2009 21:31:49 -0000
Message-ID: <618B7D23E3D64F1586C3F2DEF787AF5A@Iulius>
From: =?iso-8859-1?Q?Julien_=C9LIE?= <julien@trigofacile.com>
To: <ietf-nntp@lists.eyrie.org>
References: <2B10F280133C44FB9A3DE39FE65FFB83@Iulius> <20090418090854.GU1489@davros.org>
In-Reply-To: <20090418090854.GU1489@davros.org>
Date: Tue, 20 Oct 2009 23:31:04 +0200
Organization: TrigoFACILE -- http://www.trigofacile.com/
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Ovh-Tracer-Id: 3189955911517601159
X-Ovh-Remote: 83.112.18.37 (aaubervilliers-151-1-27-37.w83-112.abo.wanadoo.fr)
X-Ovh-Local: 213.186.33.20 (ns0.ovh.net)
X-Spam-Check: DONE|U 0.5/N
Cc: "Clive D.W. Feather" <clive@davros.org>
Subject: Re: [NNTP] Issue with IHAVE/CHECK/TAKETHIS in RFC
X-BeenThere: ietf-nntp@lists.eyrie.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: NNTP protocol discussion <ietf-nntp.lists.eyrie.org>
List-Unsubscribe: <http://lists.eyrie.org/mailman/options/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=unsubscribe>
List-Archive: <http://lists.eyrie.org/pipermail/ietf-nntp>
List-Post: <mailto:ietf-nntp@lists.eyrie.org>
List-Help: <mailto:ietf-nntp-request@lists.eyrie.org?subject=help>
List-Subscribe: <http://lists.eyrie.org/mailman/listinfo/ietf-nntp>, <mailto:ietf-nntp-request@lists.eyrie.org?subject=subscribe>
Sender: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org
Errors-To: ietf-nntp-bounces+nntpext-archive=ietf.org@lists.eyrie.org

Hi Clive,

>> I believe there is a major issue with the handling of the 501 answer code.
>>
>> According to RFC 3977, the following schema is correct:
>>
>>  [S] IHAVE <a b c
>>  [C] 501 Bad Message-ID
>
> Correct.

We both agree that 501 is the code RFC 3977 reckons to be sent.



>> Thus, implementing RFC 3977 breaks current implementations.
>
> I disagree. If you look at RFC 977, section 2.4.3, you will see the same
> rule: a syntax error in *any* command results in a 501.

RFCs 977 and 2980 are wrong in lots of places.



>> As for IHAVE, the only possible answer here is 435; on no account
>> should 501 be sent.
>
> I disagree. 435 means "not wanted", not "invalid syntax".

I understand that 435 means "not wanted".  However, news servers have
*always* been written and are *still* written to use "not wanted"
for IHAVE/CHECK/TAKETHIS commands when something is wrong.

That *essential* fact is not mentioned in RFCs 3977 and 4644.


Why new news servers cannot use 501?  Well, if they try, they will
see within a few days that they do not receive any new articles
from lots of other news servers.

(I was proposed <4ac9a2d6$0$21410$afc38c87@> on October, 5th 2009
-- which is a bad message-ID.)



Besides, where is it specified in RFC 4644 that, for CHECK/TAKETHIS,
the wrong argument provided is to be returned after 501?

We properly have:

[C] CHECK <abc@test>
[S] 238 <abc@test>

But never is it said:

[C] CHECK bad mid
[S] 501 bad mid


Maybe it is worthless but it is not consistent to have the provided
argument in CHECK/TAKETHIS for only a subset of answers, especially
when pipelining is used and some news servers expect the provided
argument to be present in the answer...

      [C] CHECK <i.am.an.article.you.will.want@example.com>
      [C] CHECK i am a nasty article
      [C] CHECK <i.am.an.article.you.defer@example.com>
      [S] 238 <i.am.an.article.you.will.want@example.com>
      [S] 501 Invalid syntax
      [S] 431 <i.am.an.article.you.defer@example.com>

is not cool.



>> It appears that a few commands require that no check is done on their
>> syntax, and it is not mentioned in RFC 3977.
>
> Nor is it mentioned in RFC 977, nor was it *EVER* mentioned in many years
> of discussion leading up to 3977.
>
>
>>> Do you have an idea of what it is possible to do as for that issue?
>
> Not easily. You need to decide if you want to work with broken software.

So, if I understand well, we need to decide if we want to work with INN,
Diablo and Dnews? :)


INN 1 (yes, version 1 -- and the same is in version 2):
-------------------------------------------------------

200 feed-A.news.volia.net InterNetNews server INN 1.7.2 (FAST switching patch) ready
IHAVE test
435 test Bad Message-ID

Diablo:
-------

200 news1.greatnowhere.com NNTP Service Ready (DIABLO 5.0-REL)
IHAVE test
435 test Bad Message-ID

DNEWS:
------

200 mendel.ac-versailles.fr DNEWS Version  5.7e1,, S0, posting OK
IHAVE test
435 article not wanted - Missing opening angle bracket
CHECK test
438 test article not wanted - Missing opening angle bracket




Well, in practice, what should we do now?
It is patent that we cannot implement RFC 3977/4644 as-is for IHAVE/CHECK/TAKETHIS
*without actually breaking article propagation*.  Articles are stuck forever in
the queue for INN and Diablo if 501 is returned; no new articles are propagated.


I believe:
 * that behaviour should be said (erratum? new RFC?) because it is currently
   breaking Usenet;
 * current software should be patched to properly understand 501 and other codes
   that can possibly be sent, so that they do not block upon receiving these
   unexpected codes;
 * in several years, we may consider sending 501 and other error codes.

Or another possibility is to send 501 and other error codes only if the client
has previously sent CAPABILITIES in the session.  We could then be "confident"
that it knows how to deal with 501 and other error codes.


What's the best move you see?
Something must be decided and done; otherwise RFC 3977/4644 are breaking
existing widely-spread NNTP implementations.

-- 
Julien ÉLIE

« Memoriam quoque ipsam cum uoce perdidissemus,
  si tam in nostra potestate esset obliuisci quam tacere. »
  (Tacite, _Vie d'Agricola_) 

