πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81160

Re: Implementation question

#81160
From: Mateusz Viste
Date: Sun, 31 May 2009 17:33
77 lines
3765 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 31 May 2009 14:15, Julien Γ‰LIE wrote:
> I assume you mean that you are authorized to *post* to noauth.test.test
> and not auth.test.test. (?)

Yes, of course :)

> No!  On no account should you do that.  You have to reject the post.
> You should not modify the Newsgroups: header.  And you should not just
> post it to one of the two groups.
> The user has to check himself what's wrong (maybe he forgot to
> authenticate and he will, so you should not silently drop his articles --
> the user has to know what happens to his article).

Okay, that's what I though as well. But wasn't sure wheter it's really "how
big players do" :-)

> As you could have seen it in noauth.test.test, you can display it.
> ARTICLE will show it.
> 
> STAT <test@test123>
> 223 0 <test@test123> status
> 
> In case you had not access to noauth.test.test, it would have been
> different:
> 
> STAT <test@test123>
> 480 Read access denied for this article

'kay. So the rule would be "we allow to retrieve the article without
authentication if it has been posted to at least one group which doesn't
require authentication". Seems logic to me :)

> Oh, another thing for your implementation.  For this second test, I had:
> (...)
> Note that the initial greeting is 200 with the comment "no posting"
> whereas it was 200 with the comment "posting ok" the first time.
> So the initial greeting is *not* as simple as:
> 
> IF WriteAccess = 1 THEN
>     PRINT "200 " + Banner + CRLF; ' Write access ok
>   ELSE
>     PRINT "201 " + Banner + CRLF; ' Write access not ok
> END IF
> 
> We have put in INN the 200 answer for
> (the user can post)
>   OR
> [(the user can authenticate) AND (one authentication block for him will
> allow postings)].

Ah, then I do not understand there...

My WriteAccess variable takes "1" if the whole server is not in read-only
mode.

Are you saying that I should use a greeting with 201 when the server is not
write-protected, but no group allows posting?

Best regards,
Mateusz Viste
- -- 
You'll find my public OpenPGP key at
http://www.viste-family.net/mateusz/pub_key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQEcBAEBAgAGBQJKIr9TAAoJEC30Ty9xnkvbYYQH+wb2PMaBBwawvrO3ZaclCNuM
Cbpi3Mtrqm1eQIDPtOmDlJPHtf/IWD7Zgl7wErd09uMiLTLChEx21QrEPfjFEpyk
R67V6atC0cqP+9s/skl+GvSeSvRL93gWUwWaoxdhEEIa+LJlxUXTVXsxzZTBZOQs
PFeA+2FYtXz+UoVXZbfCCv9g8gIh8zwSFn0YLYMn3ZMA0cJCImQ9+1owp6EZhYcc
z6XNiYLU+31/6uvaycJZrFHZBXiljWb6FoeAfeHPWhIRylT4VkucsmzY6x+iJ15K
lk+NnMpNA05pTFPINkMf5TgzfSezGEyYkTQo6DIh6rJEFn5sj5H+TKePII1zNuE=
=XYMC
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <mjraf6-sp4.ln1@mail.viste-family.net>
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!de-l.enfer-du-nord.net!gegeweb.org!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp2-2.free.fr!not-for-mail
References: <b12af6-523.ln1@mail.viste-family.net> <gvtsdb$a4$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <mjraf6-sp4.ln1@mail.viste-family.net>
Subject: Re: Implementation question
Date: Sun, 31 May 2009 19:33:02 +0200
From: Mateusz Viste <mateusz@NoSpamForMe.invalid>
References: <b12af6-523.ln1@mail.viste-family.net> <gvtsdb$a4$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!de-l.enfer-du-nord.net!gegeweb.org!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp2-2.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
Lines: 77
Organization: Guest of ProXad - France
NNTP-Posting-Date: 31 May 2009 19:35:03 MEST
NNTP-Posting-Host: 82.225.72.113
X-Trace: 1243791303 news-2.free.fr 14520 82.225.72.113:40169
X-Complaints-To: abuse@proxad.net