[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] timeout connecting to (null) + Segmentation

On Wed, Jan 30, 2002 at 02:10:47PM +0100, Ralf Wildenhues wrote:
> post to newsgroups the server hasn't ever heard of.  Right now leafnode
> does not give the right status of read-only groups with the NEWGROUPS
> command (cf. nntpd.c donewgroups()).  IMHO it should give y or n (RFC977
> does not tell about moderated groups), so a trivial fix could be

RFC 2980 allows other responses than 'y' or 'n':

4.1 The Response to the LIST command

RFC 977 says that the fourth field of the "list of valid
newsgroups associated information" returned must be "either 'y'
or 'n' indicating whether posting to this newsgroup is allowed
('y') or prohibited ('n').  Most implementations simply output
the exact contents of the transport system's active newsgroup
list.  For more implementations, the fourth field usually has
more values that 'y' or 'n'.

The soon to be RFC nntpext draft explicitly mentions 'm':

9.4 The LIST Keyword 

9.4.1 LIST 

LIST [ACTIVE [wildmat]] 

The response to the LIST keyword with no parameters returns a
list of valid newsgroups and associated information.  Each
newsgroup is sent as a line of text in the following format: 

	       group first last status 

where <group> is the name of the newsgroup, <last> is the number
of the last known article currently in that newsgroup, <first> is
the number of the first article currently in the newsgroup, and
<status> indicates the current status of the group on this
server. Typically, the <status> will be consist of the US-ASCII
character 'y' where posting is permitted, 'n' where posting is
not permitted and 'm' where postings will be forwarded to the
newsgroup moderator by the news server. Other status strings may
exist. The definition of these other values and the circumstances
under which they are returned is covered in other specifications. 


       ---===  Encrypted mail welcome. Key-ID: 1024D/2B693EBF  ===---
Fortune cookie of the day:
	I'm not a nerd -- I'm "socially challenged".

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list