NNTP, Network News Transfer Protocol

Description Glossary RFCs Publications Obsolete RFCs

Description:

Protocol suite: TCP/IP.
Protocol type:Application layer news protocol.
Ports: 119 (TCP).
563 (TCP) over TLS.
URI:nntp:
MIME subtype:
SNMP MIBs:
Working groups: nntp, Network News Transport Protocol.
nntpext, NNTP Extensions.
Links: IANA: NNTP parameters.

RFC 977:

NNTP specifies a protocol for the distribution, inquiry, retrieval, and posting of news articles using a reliable stream-based transmission of news among the ARPA-Internet community. NNTP is designed so that news articles are stored in a central database allowing a subscriber to select only those items he wishes to read. Indexing, cross-referencing, and expiration of aged messages are also provided.


MAC header IP header TCP header NNTP packet

NNTP commands:

CommandReferences
ARTICLE RFC 977
AUTHINFO RFC 2980
CHECK RFC 2980
DATE RFC 2980
GROUP RFC 977
HELP RFC 977
IHAVE RFC 977
LAST RFC 977
LIST RFC 977, RFC 2980, RFC 6048
LISTGROUP RFC 2980
MODE READER RFC 2980
MODE STREAM RFC 2980
NEWGROUPS RFC 977
NEWNEWS RFC 977
NEXT RFC 977
POST RFC 977
QUIT RFC 977
SLAVE RFC 977
TAKETHIS RFC 2980
XGTITLE RFC 2980
XHDR RFC 2980
XINDEX RFC 2980
XOVER RFC 2980
XPAT RFC 2980
XPATH RFC 2980
XREPLIC RFC 2980
XROVER RFC 2980
XTHREAD RFC 2980

NNTP reply code categories:

CodeDescription
1yzInformative message.
2yzCommand ok.
3yzCommand ok so far, send the rest of it.
4yzCommand was correct, but couldn't be performed for some reason.
5yzCommand unimplemented, or incorrect, or a serious program error occurred.
x0zConnection, setup, and miscellaneous messages.
x1zNewsgroup selection.
x2zArticle selection.
x3zDistribution functions.
x4zPosting.
x8zNonstandard (private implementation) extensions.
x9zDebugging output.

NNTP reply codes:

CodeDescription
100Help text follows.
199Debug output.
200Server ready - posting allowed.
201Server ready - no posting allowed.
202Slave status noted.
205Closing connection - goodbye!
211n f l s group selected.
215List of newsgroups follows.
220 n <a> article retrieved - head and body follow 221 n <a> article retrieved - head follows.
222n <a> article retrieved - body follows.
223 n <a> article retrieved - request text separately 230 list of new articles by message-id follows.
231List of new newsgroups follows.
235Article transferred ok.
240Article posted ok.
335 Send article to be transferred. End with <CR-LF>.<CR-LF>.
340Send article to be posted. End with <CR-LF>.<CR-LF>.
400Service discontinued.
411No such news group.
412No newsgroup has been selected.
420No current article has been selected.
421No next article in this group.
422No previous article in this group.
423No such article number in this group.
430No such article found.
435Article not wanted - do not send it.
436Transfer failed - try again later.
437Article rejected - do not try again.
440Posting not allowed.
441Posting failed.
500Command not recognized.
501Command syntax error.
502Access restriction or permission denied.
503Program fault - command not performed.

Glossary:


RFCs:

[RFC 1036] Standard for Interchange of USENET Messages.

[RFC 2980] Common NNTP Extensions.

[RFC 3675] .sex Considered Dangerous.

[RFC 3977] Network News Transfer Protocol (NNTP).

[RFC 6048] Network News Transfer Protocol (NNTP) Additions to LIST Command.


Publications:


Obsolete RFCs:

[RFC 850] Standard for Interchange of USENET Messages.

[RFC 977] Network News Transfer Protocol. A Proposed Standard for the Stream-Based Transmission of News.

[RFC 1738] Uniform Resource Locators (URL).


Description Glossary RFCs Publications Obsolete RFCs