🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65312

Re: ietf-nntp Server "modes" and response codes

#65312
From: Jeffrey M. Vinocur
Date: Thu, 15 May 2003 22:07
24 lines
1895 bytes
In article <yl65oc2bq1.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>In news.software.nntp, Ken Murchison <ken@oceana.com> writes:
>
>> What is the expected/common response code to a command that isn't
>> allowed in a given mode? [...]
>
>> It looks like INN uses 500 in most cases, and 480 when it applies.
>
>I believe 502 is the correct error code.  The occurrences of 500 are an
>accident of implementation in INN that should be corrected.  The uses of
>480 are a flat-out bug in most cases [...]

BTW, note that the way INN distinguishes between innd and nnrpd
is purely an implementation choice, and MODE READER purely an
artifact of that; nothing prohibits the server from accepting
POST before MODE READER, or IHAVE afterwards (in fact, nnrpd now
accepts IHAVE if readers.conf says to).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ba132g$qgc$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <3EC3E065.9010000@oceana.com> <yl65oc2bq1.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ba132g$qgc$1@puck.litech.org>
Subject: Re: ietf-nntp Server "modes" and response codes
Date: Thu, 15 May 2003 22:07:12 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3EC3E065.9010000@oceana.com> <yl65oc2bq1.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 23
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1053036432 27148 66.218.0.75 (15 May 2003 22:07:12 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 15 May 2003 22:07:12 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)