Article View: news.software.nntp
Article #79481Re: Unreadable newsgroup after AUTHINFO
From: D. Stussy
Date: Sun, 28 Sep 2008 02:51
Date: Sun, 28 Sep 2008 02:51
78 lines
4428 bytes
4428 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:gbm0ip$2l8$1@news.trigofacile.com... > 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 :) There is ONE and only one situation where I can think of that this could be a benefit, but I don't think anyone realisitically does it: To permit a local group for those having authentication problems to get help. Obviously, once a user has logged in, there's no point to having access to such a group. I would expect only the administrators to have access to such while logged in. OK, so maybe that configuration in itself is lame, but not impossible. > > 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. An alternative is to reset to the condition where no group has been specified during the session. > >> 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. OK, but once a user does authenticate, hasn't his state changed? > > 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.] Then perhaps the reader program is poorly designed? It made an assumption that is generally true but need not be universally true.
Technical Details
Message-ID:
<gbmrfe$ajs$1@snarked.org>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!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mailReferences:
<gbl0bf$nd$1@news.trigofacile.com> <87ej35whl6.fsf@windlord.stanford.edu> <gbm0ip$2l8$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <gbmrfe$ajs$1@snarked.org> Subject: Re: Unreadable newsgroup after AUTHINFO Date: Sat, 27 Sep 2008 19:51:19 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gbl0bf$nd$1@news.trigofacile.com> <87ej35whl6.fsf@windlord.stanford.edu> <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.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 78 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-52-187.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1222570286 10876 71.118.52.187 (28 Sep 2008 02:51:26 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Sun, 28 Sep 2008 02:51:26 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478