πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79399

Re: Problem with IHAVE when authenticated

#79399
From: Russ Allbery
Date: Wed, 03 Sep 2008 19:49
36 lines
2615 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> 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...

That would make it hard to handle that case, but when would that ever
happen?  It's highly unusual for capabilities to be *removed* by
authentication.  You could certainly design an INN configuration that did
this, but I don't understand why anyone would do so.

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

Here too, why would you do that?  It's certainly *possible*, but it
doesn't seem to make much sense.

> 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.)

You should not use 435 in this case if the same article would be accepted
some other way, so it would probably be 502.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87prnl9fhl.fsf@windlord.stanford.edu>
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!newsfeed.news.ucla.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
References: <g9mo4d$qpd$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87prnl9fhl.fsf@windlord.stanford.edu>
Subject: Re: Problem with IHAVE when authenticated
Date: Wed, 03 Sep 2008 12:49:42 -0700
From: Russ Allbery <rra@stanford.edu>
References: <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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 36
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.stanford.edu 1220471382 3783 171.64.19.147 (3 Sep 2008 19:49:42
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:PN6KOvflDrqR6anEbMhrZsDSQtU=