🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79398

Problem with IHAVE when authenticated

#79398
From: Julien ÉLIE
Date: Wed, 03 Sep 2008 19:21
34 lines
2524 bytes
Hi,

In RFC 3977, I read:

   Except as an effect of the MODE READER command (Section 5.3) on a
   mode-switching server, once a server advertises either or both of the
   IHAVE or READER capabilities, it MUST continue to advertise them for
   the entire session.

There is a problem if IHAVE is by default authorized but not allowed in
the rights the user is granted after authentication with AUTHINFO USER...

I think this paragraph is strange. I know that news clients should not
use IHAVE (contrary to news servers) but even with that, it is strange
not to allow IHAVE to disappear after AUTHINFO.  Nothing is specified
in RFC 4643 (AUTHINFO) as for the possibility to drop IHAVE after
having successfully authenticated.

The problem with AUTHINFO also occurs with IHAVE with a transit server:
once authenticated, we could allow only streaming!


In order to comply with the protocol, I understand that in the described
case, we have to advertise the IHAVE capability but reject every article
posted with IHAVE.
Do we have to use 435 (unwanted article) or 502?  (Though 502 seems weird.)

Still, it does not thrill me to implement such a behaviour.

-- 
Julien ÉLIE

« Vtilitas publica praeferenda est priuatorum contractibus. »
Technical Details
Message-ID: <g9mo4d$qpd$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <g9mo4d$qpd$1@news.trigofacile.com>
Subject: Problem with IHAVE when authenticated
Date: Wed, 3 Sep 2008 21:21:40 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 34
NNTP-Posting-Host: aaubervilliers-151-1-49-24.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1220469710 27437 83.114.131.24 (3 Sep 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 3 Sep 2008 19:21:50 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049