🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79394

Syntax or permissions first?

#79394
From: Julien ÉLIE
Date: Mon, 01 Sep 2008 20:45
37 lines
1884 bytes
Hi,

I wonder which one between the syntax of a whole command or the permissions to use
the base command comes first.

If I cannot use BODY (no read access):

CAPABILITIES
VERSION 2
READER
AUTHINFO
..

I believe READER is advertised even though read access is forbidden right now.
Is it right?

Then:

BODY with three arguments
501 Syntax error

or

BODY with three arguments
480 Authentication required

?

That is to say, is the base command checked for permissions to use it before
trying to understand what the client wants?
I think so (thus 501) but better be sure.

-- 
Julien ÉLIE

« Un clavier azerty en vaut deux. » 
Technical Details
Message-ID: <g9hkag$i39$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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <g9hkag$i39$1@news.trigofacile.com>
Subject: Syntax or permissions first?
Date: Mon, 1 Sep 2008 22:45:37 +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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 37
NNTP-Posting-Host: aaubervilliers-151-1-49-24.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 1220301968 18537 83.114.131.24 (1 Sep 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Mon, 1 Sep 2008 20:46:08 +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