🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49870

INN and SSL

#49870
From: Jeffrey M. Vinocur
Date: Tue, 16 Jan 2001 06:22
42 lines
2772 bytes
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?


Ideally, here are the semantics we want.  Yes, we expect to hack
on nnrpd to get this, but we'd like general input...

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?).  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.

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.)  Certainly the client can do whatever it wants, but
hopefully most will refuse to send the password in the
circumstances described above.  The point of the separate
database is so that more advanced users (those who can deal with
separate passwords and not sending the wrong one in the clear)
can function without interference.  (For example, some might not
want to use SSL because they are connecting over a link, such as
an encrypted VPN, which is already secure.)


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).



-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <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-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.ems.psu.edu!news.litech.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <940pc1$os$1@marduk.litech.org>
Subject: INN and SSL
Date: Tue, 16 Jan 2001 06:22:57 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
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-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 41
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 979626177 796 128.84.154.54 (16 Jan 2001 06:22:57 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 16 Jan 2001 06:22:57 +0000 (UTC)
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: jeff@litech.org (Jeffrey M. Vinocur)