nntp-server-zefie
Version:
NNTP server implementation, modified for zefie_wtvp_minisrv
45 lines (43 loc) • 2.31 kB
JavaScript
;
module.exports = {
_100_HELP_FOLLOWS : '100 Help text follows',
_101_CAPABILITY_LIST : '101 Capability list:',
_111_DATE : '111',
_200_SRV_READY_RW : '200 Service available, posting allowed',
_201_SRV_READY_RO : '201 Service available, posting prohibited',
_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',
_240_ARTICLE_RECV_OK : '240 Article received OK',
_281_AUTH_ACCEPTED : '281 Authentication accepted',
_340_SEND_ARTICLE : '340 Send article to be posted',
_381_AUTH_NEED_PASS : '381 More authentication information required',
_400_TEMP_UNAVAIL : '400 Service temporarily unavailable',
_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',
_440_NO_POST_PERM : '440 Posting not permitted',
_441_POSTING_FAILED : '441 Posting failed',
_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_PERM_UNAVAIL : '502 Service permanently unavailable',
_503_NOT_SUPPORTED : '503 Feature not supported'
};