Article View: news.software.nntp
Article #66861Re: New NNTP draft -- Sections 1-3
From: Dirk Nimmich
Date: Sat, 18 Oct 2003 23:10
Date: Sat, 18 Oct 2003 23:10
55 lines
3947 bytes
3947 bytes
[All this is only indirectly related to the current draft. Yes, Russ, I read your comment about authentication.] Clive D. W. Feather wrote: > In article <slrnbp2c8b.2sl5.andrew+nonews@trinity.supernews.net>, > Andrew - Supernews <andrew+nonews@supernews.com> writes >>Currently I believe we only return 502 in the initial banner or in >>response to a failed authentication; in both cases we close the >>connection (with FIN). Since authentication is an extension this >>does not strictly speaking conflict. > > That would depend on the specification of the authentication > extension you use. The correct action would be, in my opinion, to > respond 480 to everything until the authentication is retried > successfully. In my opinion the server should fall back to the state "not authenticated yet" or close the connection. The first reason to do so is that you can still be able to access the commands that would have been available if you hadn't authenticated yet. For example, this allows the reader to access a support newsgroup even if the credentials were wrong. If you were stuck in an authentication loop, you could only abort manually. The second reason is that (from a client's perspective) you don't know if the server expects an authentication beforehand or not. Some servers provide restricted access to (a minor set of) newsgroups without authentication and full access to more or other newsgroups. Because all commands work without ever encountering a 480 response, the client would never send any authentication information. To work around this problem, the client can provide this information without being asked. Some clients do this by default if credentials are available; they would also be stuck in your loop if the server rejects them. Way back in the 90s, for a while it was impossible to read on the Microsoft Server with tin, because the server implemented exactly what you suggested above and tin automatically tried to authenticate using authinfo generic and authinfo original. However, the only method the server accepted at that time was NTLM. Users were even unable to read the public newsgroups for which you don't need any authentication. We fixed that problem by changing the default behaviour and adding a command line switch to tin. Another problem in this field (but not related to that "state problem") is that the client cannot distinguish between different authentication methods because they are all initiated by 480. Tin can use both generic and original authinfo, but it can't tell which one to use just from the response. So it tries both, first generic and then original authinfo. I hope the LIST EXTENSIONS command will eventually fix the later two problems.
Technical Details
Message-ID:
<bmsh91$8p4$06$1@news.t-online.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<87fzhryxdc.fsf@windlord.stanford.edu> <slrnbp2c8b.2sl5.andrew+nonews@trinity.supernews.net> <uTJ89aeAzZk$EwQE@romana.davros.org>Show Full Headers
Complete Article Headers
Message-ID: <bmsh91$8p4$06$1@news.t-online.com> Subject: Re: New NNTP draft -- Sections 1-3 Date: Sun, 19 Oct 2003 01:10:25 +0200 From: Dirk Nimmich <nimmich@muenster.de> References: <87fzhryxdc.fsf@windlord.stanford.edu> <slrnbp2c8b.2sl5.andrew+nonews@trinity.supernews.net> <uTJ89aeAzZk$EwQE@romana.davros.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 55 Sender: Dirk Nimmich <dirk@roxel.fqdn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1066518625 06 8996 FNXyVk6TSzAQ89 031018 23:10:25 X-Complaints-To: usenet-abuse@t-online.de X-ID: V9nmeZZlQe01hlkldvVQO1ie0-EKrrRN6QS7kjwiszO0nMAyZgMx4t