Article View: news.software.nntp
Article #79480Re: Unreadable newsgroup after AUTHINFO
From: Julien ÉLIE
Date: Sat, 27 Sep 2008 19:12
Date: Sat, 27 Sep 2008 19:12
62 lines
3680 bytes
3680 bytes
Hi Russ, > Well, first off, this is a very silly configuration. Why would one ever > have authentication *remove* capabilities? There's no security benefit; > the user could just continue without authenticating. I totally agree :) > I vote for 502 on the whole bunch of them, without changing anything about > the article pointer. In other words, fail the command before we do > anything. If they can't access the group, we shouldn't leak information > about the group (even in this very implausible setup). All right. It is the easiest to do. Yet, I had to add a variable to specify after a successful AUTHINFO USER/PASS (and deprecated GENERIC) that the current newsgroup is not readable (if permissions tell so, including dynamic Python access group), until a successful GROUP/LISTGROUP changes to another group. >> NEXT >> If the currently selected newsgroup is valid, the current article >> number MUST be set to the next article in that newsgroup (that is, >> the lowest existing article number greater than the current article >> number). > > You only have to follow MUST here if the command is run at all. Denying > the command due to authentication means that you fail earlier than any of > the requirements of the command. Ok. >> The best would have been to reset the NNTP protocol after successful >> AUTHINFO commands > > You don't want to do this because you want to preserve the historic > behavior of being able to authenticate at the moment you get your 480 > response without losing state. No problem. It is true that AUTHINFO SASL is not defined in RFC 2980 so it does not trigger off the same implementation problem as AUTHINFO USER/PASS. > Consider, for example, a configuration > where reading doesn't require authentication and posting does. Many > clients then won't authenticate until they try to post and get a 480 > response, and if we kicked them out of their current group at that point, > it may confuse their newsreader. Let's see what will happen when they receive 483 after AUTHINFO USER :-) [If the news server complies with the SHOULD telling that. Not done for INN 2.5, unless authenticators are only in blocks with require_ssl: parameters.] -- Julien ÉLIE « Je n'aime pas faire du char-stop ! » (Astérix)
Technical Details
Message-ID:
<gbm0ip$2l8$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!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<gbl0bf$nd$1@news.trigofacile.com> <87ej35whl6.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <gbm0ip$2l8$1@news.trigofacile.com> Subject: Re: Unreadable newsgroup after AUTHINFO Date: Sat, 27 Sep 2008 21:12:22 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gbl0bf$nd$1@news.trigofacile.com> <87ej35whl6.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.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 62 NNTP-Posting-Host: aaubervilliers-151-1-58-236.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1222542745 2728 83.112.31.236 (27 Sep 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sat, 27 Sep 2008 19:12:25 +0000 (UTC) In-Reply-To: <87ej35whl6.fsf@windlord.stanford.edu> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049