🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81167

Re: Implementation question

#81167
From: Antti-Juhani Kaijanaho
Date: Sun, 31 May 2009 20:51
34 lines
2524 bytes
Mateusz Viste kirjoitti:
> Say, that my server is holding two groups: auth.test.test and
> noauth.test.test. The first one requires authentication to read articles,
> the second not.
> 
> Now, I am posting (crossposting) an article to both of these groups, without
> being authenticated. The article's ID is <test@test123>.
> What shall be the response of the server? Should it accept the message for
> the group without required authentication, and silently drop it for the
> other one?

As Julien said, you either accept it to all, or you reject it.

Although - there is no protocol reason why you could not allow anonymous 
posting to a reading-restricted group.  It's just a bad policy, I think.

I was thinking about the same problem recently, while adding reading 
authorization support to Alue.  The simplest rule I came up with (and 
implemented) was - never allow crossposting between restricted and 
unrestricted groups.  Anything else opens lots of cans of worms.

> Anyway, let's say that the article got his way to both groups. Later, I
> would like to read this article.
> I am connecting to the server (without any authentication) and I send the
> command "ARTICLE <test@test123>". What should be the server's answer?

I'd probably add code to make such articles disappear should they be 
found in the spool :)

Is your NNTP server going to have a transit component, or is it strictly 
local groups?

-- 
Mr. Antti-Juhani Kaijanaho, Jyväskylä, Finland
Technical Details
Message-ID: <78g8u2F1mfi5aU1@mid.individual.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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <b12af6-523.ln1@mail.viste-family.net>

Show Full Headers
Complete Article Headers
Message-ID: <78g8u2F1mfi5aU1@mid.individual.net>
Subject: Re: Implementation question
Date: Sun, 31 May 2009 23:51:14 +0300
From: Antti-Juhani Kaijanaho <antti-juhani@kaijanaho.fi>
References: <b12af6-523.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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 34
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net IcbVeaDgDg/TOsnSNZS8MgFEYlq2EwqXshiCUlsOYbMBZaXv6C
Cancel-Lock: sha1:EMGUX+67z8Vj64XPcGt8eS0fndw=
User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
In-Reply-To: <b12af6-523.ln1@mail.viste-family.net>