Article View: news.software.nntp
Article #49878Re: INN and SSL
From: Russ Allbery
Date: Tue, 16 Jan 2001 10:00
Date: Tue, 16 Jan 2001 10:00
44 lines
2623 bytes
2623 bytes
Jeffrey M Vinocur <jeff@litech.org> writes: > We'd like to support both SSL-encrypted and unencrypted reader > authentication. First off, is there any thorough documentation on > perlauth? In particular, is there any way to find out from the perl > environment whether the client has connected with SSL? I'm fairly sure there isn't currently, but it should be simple enough to add another key to %attributes for this information (and I'd happily accept such a patch). > If the user is connecting with SSL, authenticate in the usual fashion (a > call to `ckpasswd -s` would do here). If the connection is unencrypted, > after `authinfo user` we want to cause most newsreaders not to attempt > to send the password (by returning an error code -- which would be > appropriate?). Try 502. > Except, however, if the user is listed in a separate database of > cleartext passwords, in which case he should be allowed to continue > authentication against that database. One of the things you'll run into here is that currently the authentication hooks don't do a callback between the USER and the PASS lines, only when the complete authentication information has been received. > The goal is to deal with the situation where security-naive users type > their password at any box that asks them for a password. (Users > generally have only one password, never sent in the clear.) Yup, sounds familiar. > Thoughts? This will require significant modification of the actual inn > code, it seems...but perhaps we can get a decent approximation with less > effort (staying within the extension mechanisms already provided). It shouldn't actually require very much if you want to use the Perl authentication hooks. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<yln1crddfo.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<940pc1$os$1@marduk.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <yln1crddfo.fsf@windlord.stanford.edu> Subject: Re: INN and SSL Date: Tue, 16 Jan 2001 10:00:27 +0000 From: Russ Allbery <rra@stanford.edu> References: <940pc1$os$1@marduk.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 43 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)