nntp-server
Version:
NNTP server implementation.
39 lines (37 loc) • 1.95 kB
JavaScript
module.exports = {
_100_HELP_FOLLOWS : '100 Help text follows',
_101_CAPABILITY_LIST : '101 Capability list:',
_111_DATE : '111',
_201_SRV_READY_RO : '201 Server ready - No posting allowed',
_205_QUIT : '205 Closing connection - Goodbye',
_211_GRP_SELECTED : '211',
_215_INFO_FOLLOWS : '215 Information follows',
_220_ARTICLE_FOLLOWS : '220',
_221_HEAD_FOLLOWS : '221',
_222_BODY_FOLLOWS : '222',
_223_ARTICLE_EXISTS : '223',
_224_OVERVIEW_INFO : '224 Overview information follows',
_225_HEADERS_FOLLOW : '225 Headers follow',
_230_NEWNEWS_FOLLOW : '230 List of new articles follows',
_231_GRP_FOLLOWS : '231 List of new newsgroups follows',
_281_AUTH_ACCEPTED : '281 Authentication accepted',
_381_AUTH_NEED_PASS : '381 More authentication information required',
_403_FUCKUP : '403 Internal fault',
_411_GRP_NOT_FOUND : '411 No such newsgroup',
_412_GRP_NOT_SLCTD : '412 No newsgroup has been selected',
_420_ARTICLE_NOT_SLCTD : '420 Current article number is invalid',
_421_NO_NEXT_ARTICLE : '421 No next article to retrieve',
_422_NO_LAST_ARTICLE : '422 No previous article to retrieve',
_423_NO_ARTICLE_BY_NUM : '423 No such article number in this group',
_430_NO_ARTICLE_BY_ID : '430 No such article found',
_480_AUTH_REQUIRED : '480 Authentication required',
_481_AUTH_REJECTED : '481 Authentication rejected',
_483_NOT_SECURE : '483 Secure connection required',
_481_AUTH_BLACKLIST : '481 Authentication rejected (too many attempts)',
_482_AUTH_OUT_OF_SEQ : '482 Authentication commands issued out of sequence',
_500_CMD_UNKNOWN : '500 Command not recognized',
_501_SYNTAX_ERROR : '501 Command syntax error',
_502_CMD_UNAVAILABLE : '502 Command unavailable',
_503_NOT_SUPPORTED : '503 Feature not supported'
};
;