🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21811

Re: nnrpd auth via Radius?

#21811
From: Aidan Cully [Staff]
Date: Tue, 23 Sep 1997 00:00
51 lines
3065 bytes
jstewart@algonquin.carleton.ca (John Stewart) wrote:
> 
> In <608ta2$ehv$1@news5.ais.net> "R. Joyner" <rjoyner@ais.net> writes:
> 
> >Has anyone been successful in getting INN to talk to RADIUS for
> >username/password lookups rather than looking in nnrp.access?
> 
> That's something we'd like to do too since we are now running RADIUS servers
> to authenticate dialin users.
> 
> Since we have several username/password domains on campus and did not wish to
> have to maintain a central username/password database, we modified 
> nnrpd to be able to query different domains.  The generic authentication
> capability in nnrpd provided the basic hook for implementing this.  Since
> most news readers don't support generic authentication we modified nnrpd
> to recognize a username of the form user@domain to mean authenticate user
> "user" using generic authentication type "domain".  
> 
> When we find time the plan is modify our generic authentication programs
> to be able to communicate with a radius server.  We'll then be able to
> shutdown the primitive authentication servers that were setup in each
> domain.

We've got some local code which will either resolve a username without
using a password, or will authenticate a user using a password without
requiring that their username have any kind of @domain suffix..  What
we've done is override the format of the nnrp.access file such that if
the username field begins with a '+', the password field is interpreted
as a request to perform some kind of non-standard authentication (the
precise kind of authentication depends on the value of the password
field).  We've written a few authentication methods for use with this,
including:
PW(/path/to/passwd) which will search for a username in a password file,
DB(/path/to/passwd_database) which will perform a much more efficient
search in a passwd database, and
IDENT(/path/to/uids) which will query the ident server of the remote
host for the username.

This is part of our post-limit software for spam..  It doesn't really
apply specifically to RADIUS, but it's easily extended to use RADIUS
(and I understand one of our betas is working on that).

There's more to it than that, and you can see documentation at
http://www.panix.com/gizmo/.  It should be ready for public release in
the next month (probably sooner, since all I have to do now is make
rnews do what I want).

--aidan

Technical Details
Message-ID: <609jbp$l6p@panix4.panix.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.mbox.zip!not-for-mail
References: <608ta2$ehv$1@news5.ais.net> <609d08$op1@bertrand.ccs.carleton.ca>

Show Full Headers
Complete Article Headers
Message-ID: <609jbp$l6p@panix4.panix.com>
Subject: Re: nnrpd auth via Radius?
Date: Tue, 23 Sep 1997 00:00:00 +0000
From: aidan@panix.com (Aidan Cully [Staff])
References: <608ta2$ehv$1@news5.ais.net> <609d08$op1@bertrand.ccs.carleton.ca>
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!not-for-mail
X-Deja-AN: 274970978
Distribution: inet
Organization: Panix
Newsgroups: news.software.nntp
X-Newsposter: Pnews 4.0-test50 (13 Dec 96)