Article View: news.software.nntp
Article #72088Re: Can I prevent the authentication dialog?
From: Earl Dukerschein
Date: Fri, 29 Jul 2005 14:55
Date: Fri, 29 Jul 2005 14:55
36 lines
2925 bytes
2925 bytes
Jeffrey M. Vinocur wrote: > In article <dcbg8s$jco$1@news.doit.wisc.edu>, > Earl Dukerschein <earl.dukerschein@doit.wisc.edu> wrote: > >>For the folks still using port 119 without SSL, I can make >>authentication (inititated from the client side) fail by not having any >>"auth: <program path>" line in my auth groups. Eventually the user >>will ask for help, but the user id and password will >>still go over the network a few times. >> >>For port 119, can I set up the News server to stop the authentication >>dialog at least before the password is sent? > > > Unfortunately, no. (I understand your thinking, though.) > > The client can send the username at any time, which is how > "always use authentication" works. At present, nnrpd always > responds affirmatively to this, so the client is free to send the > password. I don't know what real world clients would do if they > received an error of some kind at that stage, but at least in > theory they might realize to not send the password. > > Adding the code to make nnrpd automatically decide whether to > error is a little complicated. But if you're up for compiling > and keeping around a patched version of nnrpd, you could pretty > easily make one that -always- refused authentication, install > that in the usual place for INN to launch it for port 119 > connections, and have inetd spawn the unmodified nnrpd for secure > connections. > > If this approach interests you, I could probably provide a patch. > > That sounds like a good solution. I have no control over the clients that may be used, so it seems like more risk than its worth. Thanks!
Technical Details
Message-ID:
<42EA4357.3070202@doit.wisc.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.doit.wisc.edu!not-for-mailReferences:
<dcbg8s$jco$1@news.doit.wisc.edu> <dcbooa$phg$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <42EA4357.3070202@doit.wisc.edu> Subject: Re: Can I prevent the authentication dialog? Date: Fri, 29 Jul 2005 09:55:19 -0500 From: Earl Dukerschein <earl.dukerschein@doit.wisc.edu> References: <dcbg8s$jco$1@news.doit.wisc.edu> <dcbooa$phg$1@puck.litech.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.doit.wisc.edu!not-for-mail Newsgroups: news.software.nntp Organization: University of Wisconsin, Madison Lines: 36 NNTP-Posting-Host: dyn-5-216.doit.wisc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.doit.wisc.edu 1122648919 21383 128.104.5.216 (29 Jul 2005 X-Complaints-To: abuse@doit.wisc.edu NNTP-Posting-Date: Fri, 29 Jul 2005 14:55:19 +0000 (UTC) To: jeff@litech.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; X-Accept-Language: en-us, en In-Reply-To: <dcbooa$phg$1@puck.litech.org>