🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44505

Re: [NNTP Draft] 4. Basic Operation

#44505
From: Andrew Gierth
Date: Sat, 26 Feb 2000 00:00
69 lines
4245 bytes
 >             NNTP operates over any reliable data stream 8-bit-wide
 >             channel. When running over TCP/IP, the official port for the
 >             NNTP service is 119. Initially, the server host starts the
 >             NNTP service by listening on a TCP port.  When a client host
 >             wishes to make use of the service, it MUST establish a TCP
 >             connection with the server host by connecting to that host on
 >             the same port on which the server is listening. This is the
 >             CONNECTION step.  When the connection is established, the NNTP
 >             server host MUST send a greeting. This is the GREETING step.
 >             The client host and server host SHOULD then exchange commands
 >             and responses (respectively) until the connection is closed or
 >             aborted. This final step is called the DISCONNECTION step.

The issue of pipelining was suggested to be added to this section by
Clive Feather; the comments on the mailing list were along the lines
of "yes, if currently deployed software handles it OK, we should
require that it work".  One client was mentioned that required it to
work.

 >             Each response MUST begin with a three-digit status indicator.
 >             These are status reports from the server and indicate the
 >             response to the last command received from the client.

 >             The first digit of the response broadly indicates the success,
 >             failure, or progress of the previous command.

 >             1xx - Informative message
 >             2xx - Command ok
 >             3xx - Command ok so far, send the rest of it.
 >             4xx - Command was correct, but couldn't be performed for some
 >                reason.
 >             5xx - Command unimplemented, or incorrect, or a serious
 >                program error occurred.
 >             The next digit in the code indicates the function response
 >             category.

 >             x0x - Connection, setup, and miscellaneous messages
 >             x1x - Newsgroup selection
 >             x2x - Article selection
 >             x3x - Distribution functions
 >             x4x - Posting
 >             x8x - Nonstandard (private implementation) extensions
 >             x9x - Debugging output

The x8x entry here is the sticking point for progressing the AUTHINFO
extensions.

Are there any known cases of x9x codes actually being used for
debugging or any other purpose?

 >             The status indicator pattern x9x is provided for debugging.
 >             Since much debugging output may be classed as "informative
 >             messages", it MUST be the case that responses 190 through 199
 >             WILL be used for various debugging outputs.  There is no
 >             requirement in this specification for debugging output.
 >             However, if such is provided over the connected stream, it
 >             MUST use these response codes.  If appropriate to a specific
 >             implementation, other x9x codes MAY be used for debugging.
 >             (For example, response code 290 could be used to acknowledge a
 >             remote debugging request.)

This wording makes it completely unclear what the client should actually
_do_ with a 19x response.

-- 
Andrew.

Technical Details
Message-ID: <87putjbmbd.fsf@erlenstar.demon.co.uk>
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!not-for-mail
References: <87u2ivd36l.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <87putjbmbd.fsf@erlenstar.demon.co.uk>
Subject: Re: [NNTP Draft] 4. Basic Operation
Date: Sat, 26 Feb 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <87u2ivd36l.fsf@erlenstar.demon.co.uk>
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!not-for-mail
X-Deja-AN: 590410623
X-Mayan-Date: Long count = 12.19.6.17.16; tzolkin = 13 Cib; haab = 4 Kayab
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha