🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82109

Re: Readers behaviour with newsgroups status

#82109
From: Urs Janßen
Date: Sat, 14 Nov 2009 13:51
69 lines
4197 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> When the group an alias points to does not allow postings ("X"), is it
> also properly seen?

| > LIST ACTIVE local.*
| < local.test.j 0000000000 0000000001 j
| < local.test.x 0000000000 0000000001 x
| < local.test.test 0000000000 0000000001 =local.test.n
| < local.test.n 0000000000 0000000001 n

the groups local.test.n and local.test.x will be markes with X in tin
an the user is not able to post to it, the group local.test.test will
be marked with = in tin and the user is able to post to it (but the
posting will be rejected by the server and the user get's an error).
IMHO it's out of the scope of a NRA to check if the target is
moderated or non-posting or whatever.

> Because it is useless to write there if
> postings are not allowed.

it's also useless to setup an aliasgroup where the target is no
posting. in that case one can simply remove the old group as there
will be no more (local) posts to it.

>> no (but he could start to write a posting in a different group and edit
>> the newsgroups header).
> A bit of gymnastic, then, for the user.

as I said, the flag should be correct.

> The fact is that we can have the following thing (at least with INN,
> see the access: parameter in readers.conf
>  <http://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html>):
> 
> * read access for fr.test and misc.test for all unauthenticated users;
> * read access for fr.test and read&post access for misc.test for
>   user A;
> * read&post access for fr.test and misc.test for user B.
> 
> Where fr.test is status "n" and misc.test is status "y".
> User B has the "L" (local post) access right in readers.conf.
> 
> I believe it is correct to send "y" for misc.test even for
> unauthenticated users.

the server knows what the falg should be for the given user in the
current state and should return the correct flag. if user has some
read access but some write access only after auth it's up to the
user/client to auth at the beginning. so there is no need to return
diffent flags for the same group in the same connection.

> But should we send "y" or "n" for fr.test to unauthenticated users?

when it's not clear, send 'y' and let the client handle the "posting
not allowed" return code upon post later on.

reissung LIST ACTIVE after late auth is no real option as the amount of
data which has to be reread can be huge (i.e. 50000 groups in active,
usual active entry is about 50 bytes -> retransmit more than 2MB of data
just to get some flags right).

this all wouldn't be an issue if GROUP would return the current flag
,-)

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Technical Details
Message-ID: <hdmckp$i09$1@news2.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <hdkrlm$mve$1@news.trigofacile.com> <hdm006$b65$1@news2.rz.uni-karlsruhe.de> <hdm6lp$3n4$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <hdmckp$i09$1@news2.rz.uni-karlsruhe.de>
Subject: Re: Readers behaviour with newsgroups status
Date: Sat, 14 Nov 2009 13:51:21 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <hdkrlm$mve$1@news.trigofacile.com> <hdm006$b65$1@news2.rz.uni-karlsruhe.de> <hdm6lp$3n4$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: tin.org
Lines: 69
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news2.rz.uni-karlsruhe.de 1258206681 18441 172.22.9.237 (14 Nov 2009
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Sat, 14 Nov 2009 13:51:21 +0000 (UTC)
Cancel-Lock: sha1:ysiufEXLxjQyptX3FHXaILUIq+M=
X-No-Archive: yes
X-No-HTML: yes
User-Agent: tin/1.9.5-20091023 ("Rieclachan") (UNIX) (Linux/2.6.24-24-generic
 (i686))