Thread View: news.software.nntp
3 messages
3 total messages
Started by Jeff
Sun, 28 Oct 2001 16:42
Error Code
Author: Jeff
Date: Sun, 28 Oct 2001 16:42
Date: Sun, 28 Oct 2001 16:42
4 lines
1414 bytes
1414 bytes
502 What is it?
Re: Error Code
Author: Jeffrey M. Vinocur
Date: Sun, 28 Oct 2001 16:46
Date: Sun, 28 Oct 2001 16:46
12 lines
1180 bytes
1180 bytes
In article <mAWC7.52519$W87.3046995@bin4.nnrp.aus1.giganews.com>, Jeff <jafisher@sciwireless.net> wrote: >502 What is it? Authentication failed, I think. -- Jeffrey M. Vinocur jeff@litech.org
Re: Error Code
Author: Paul Tomblin
Date: Sun, 28 Oct 2001 17:20
Date: Sun, 28 Oct 2001 17:20
152 lines
6342 bytes
6342 bytes
In a previous article, "Jeff" <jafisher@sciwireless.net> said:
>502 What is it?
From my inn 2.2.2 source directory:
include/nntp.h
/* $Revision: 1.2 $
**
** Here be a set of NNTP response codes as defined in RFC977 and elsewhere.
** The reponse codes are three digits, RFI, defined like this:
** R, Response:
** 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.
** F, Function:
** x0x Connection, setup, and miscellaneous messages
** x1x Newsgroup selection
** x2x Article selection
** x3x Distribution functions
** x4x Posting
** x8x Nonstandard extensions (AUTHINFO, XGTITLE)
** x9x Debugging output
** I, Information:
** No defined semantics
*/
#define NNTP_HELPOK_VAL 100
#define NNTP_BAD_COMMAND_VAL 500
#define NNTP_BAD_COMMAND "500 Syntax error or bad command"
#define NNTP_TEMPERR_VAL 503
#define NNTP_ACCESS "502 Permission denied"
#define NNTP_ACCESS_VAL 502
#define NNTP_GOODBYE_ACK "205 ."
#define NNTP_GOODBYE_ACK_VAL 205
#define NNTP_GOODBYE "400"
#define NNTP_GOODBYE_VAL 400
#define NNTP_HAVEIT "435 Duplicate"
#define NNTP_HAVEIT_BADID "435 Bad Message-ID"
#define NNTP_HAVEIT_VAL 435
#define NNTP_LIST_FOLLOWS "215"
#define NNTP_LIST_FOLLOWS_VAL 215
#define NNTP_HELP_FOLLOWS "100 Legal commands"
#define NNTP_HELP_FOLLOWS_VAL 100
#define NNTP_NOTHING_FOLLOWS_VAL 223
#define NNTP_ARTICLE_FOLLOWS "220"
#define NNTP_ARTICLE_FOLLOWS_VAL 220
#define NNTP_NEWGROUPS_FOLLOWS_VAL 231
#define NNTP_HEAD_FOLLOWS "221"
#define NNTP_HEAD_FOLLOWS_VAL 221
#define NNTP_BODY_FOLLOWS_VAL 222
#define NNTP_OVERVIEW_FOLLOWS_VAL 224
#define NNTP_DATE_FOLLOWS_VAL 111
#define NNTP_POSTOK "200"
#define NNTP_POSTOK_VAL 200
#define NNTP_START_POST_VAL 340
#define NNTP_NOPOSTOK_VAL 201
#define NNTP_SLAVEOK_VAL 202
#define NNTP_REJECTIT_VAL 437
#define NNTP_REJECTIT_EMPTY "437 Empty article"
#define NNTP_DONTHAVEIT "430"
#define NNTP_DONTHAVEIT_VAL 430
#define NNTP_RESENDIT_LATER "436 Retry later"
#define NNTP_RESENDIT_VAL 436
#define NNTP_POSTEDOK "240 Article posted"
#define NNTP_POSTEDOK_VAL 240
#define NNTP_POSTFAIL_VAL 441
#define NNTP_GROUPOK_VAL 211
#define NNTP_SENDIT "335"
#define NNTP_SENDIT_VAL 335
#define NNTP_SYNTAX_USE "501 Bad command use"
#define NNTP_SYNTAX_VAL 501
#define NNTP_TOOKIT "235"
#define NNTP_TOOKIT_VAL 235
#define NNTP_NOTINGROUP "412 Not in a newsgroup"
#define NNTP_NOTINGROUP_VAL 412
#define NNTP_NOSUCHGROUP "411 No such group"
#define NNTP_NOSUCHGROUP_VAL 411
#define NNTP_NEWNEWSOK "230 New news follows"
#define NNTP_NOARTINGRP "423 Bad article number"
#define NNTP_NOARTINGRP_VAL 423
#define NNTP_NOCURRART "420 No current article"
#define NNTP_NOCURRART_VAL 420
#define NNTP_NONEXT_VAL 421
#define NNTP_NOPREV_VAL 422
#define NNTP_CANTPOST "440 Posting not allowed"
#define NNTP_CANTPOST_VAL 440
#define NNTP_SERVER_TOOBUSY "504 Server overloaded, try later"
#define NNTP_SERVER_TOOBUSY_VAL 504
#define NNTP_TOO_MANY_CONNECTS "505 Connection rejected, you're making too many connects per minute"
#define NNTP_TOO_MANY_CONNECTS_VAL 505
/* new entries for the "streaming" protocol */
/* response to "mode stream" else 500 if stream not supported */
#define NNTP_OK_STREAM_VAL 203 /* Streaming supported */
/* response to "check <id>". Must include ID of article.
** Example: "431 <1234@host.domain>"
*/
#define NNTP_OK_SENDID_VAL 238 /* I want article <id> */
#define NNTP_RESENDID_VAL 431 /* try <id> again later */
#define NNTP_ERR_GOTID_VAL 438 /* Got <id>, don't send */
/* responses to "takethis <id>. Must include ID of article */
#define NNTP_OK_RECID_VAL 239 /* Article <id> received OK */
#define NNTP_ERR_FAILID_VAL 439 /* Transfer of <id> failed */
/* End of new entries for the "streaming" protocol */
/*
** The first character of an NNTP reply can be used as a category class.
*/
#define NNTP_CLASS_OK '2'
#define NNTP_CLASS_ERROR '4'
#define NNTP_CLASS_FATAL '5'
/*
** Authentication commands from the RFC update (not official).
*/
#define NNTP_AUTH_NEEDED "480"
#define NNTP_AUTH_NEEDED_VAL 480
#define NNTP_AUTH_BAD "481"
#define NNTP_AUTH_NEXT "381"
#define NNTP_AUTH_NEXT_VAL 381
#define NNTP_AUTH_OK "281"
#define NNTP_AUTH_OK_VAL 281
#define NNTP_AUTH_REJECT_VAL 482
/*
** XGTITLE, from ANU news.
*/
#define NNTP_XGTITLE_BAD 481 /* Yes, 481. */
#define NNTP_XGTITLE_OK 282
#define NNTP_OK_XBATCHED_VAL 239 /* Batch transferred successfully */
#define NNTP_OK_XBATCHED "239"
#define NNTP_CONT_XBATCH_VAL 339 /* Continue to send batch */
#define NNTP_CONT_XBATCH "339"
/* and one more meaning for the 436 code NNTP_RESENDIT_VAL */
#define NNTP_RESENDIT_XBATCHERR "436 xbatch failed: "
/* and one more meaning for the 501 code NNTP_SYNTAX_USE */
#define NNTP_XBATCH_BADSIZE "501 Invalid or missing size for xbatch"
#define NNTP_STRLEN 512
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
---------------- hit any user to continue ----------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads