🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79311

Questions about MODE

#79311
From: Julien ÉLIE
Date: Sat, 23 Aug 2008 12:20
44 lines
2598 bytes
Hi,

I wonder why there is only "MODE READER" and not a "MODE" command.
Because "MODE TRANSIT" could have also been specified (why not be symmetric?).


According to RFC 3977:

   Note that where a command has
   variants depending on a second keyword (e.g., LIST ACTIVE and LIST
   NEWSGROUPS), 501 MUST be used when the base command is implemented
   but the requested variant is not, and 500 MUST be used only when the
   base command itself is not implemented.


Is it mentioned that "MODE" is a base command in the RFC?
According to what I understand, "MODE READER" is the base command.

So "MODE" and "MODE BADMODE" must return 500, mustn't they?  (And not 501.)



The extension "STREAMING" (available with "MODE STREAM") states that 401
must not be returned for commands called while not in streaming mode.
But I do not find the information for "MODE READER".  So, what must be done?

    POST <test@test>
    401 MODE-READER

or

    POST <test@test>
    500 Unknown command

or something else (503 Feature not supported)?
I believe 502 must not be answered right now.

-- 
Julien ÉLIE

« -- Ordre est donné d'enquêter dans tout le secteur, afin d'identifier
  et de confondre les légions à la solde de Pompée !
  -- S'ils n'ont pas de signes distinctifs, ça ne sera pas facile mon général ! » (Astérix) 
Technical Details
Message-ID: <g8ovaf$155$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!talisker.lacave.net!lacave.net!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <g8ovaf$155$1@news.trigofacile.com>
Subject: Questions about MODE
Date: Sat, 23 Aug 2008 14:20:30 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!talisker.lacave.net!lacave.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 44
NNTP-Posting-Host: aaubervilliers-151-1-21-55.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="ISO-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1219494032 1189 83.114.140.55 (23 Aug 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 23 Aug 2008 12:20:32 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049