🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jason Lavoie Thu, 17 Oct 1996 00:00
nnrpd passwd lookups
#11741
Author: Jason Lavoie
Date: Thu, 17 Oct 1996 00:00
19 lines
1094 bytes
I'm about to hack nnrpd to do password lookups (from a standard unix
/etc/passwd style file) for read authentication.  The existing 
functionality of nnrp.access isn't flexible enough.

I'm also considering tracking connections to limit users to a set
number of simultaneous sessions.

Has anyone already done either of these?
Any helpful pointers or suggestions are welcome.

-j

-- 
"What is the sound of Perl?  Is it not the sound of a        | Jason Lavoie
 wall that people have stopped banging their heads against?" | jason@mint.net
     --Larry Wall in <1992Aug26.184221.29627@netlabs.com>    |

Re: nnrpd passwd lookups
#11719
Author: Clayton O'Neill
Date: Thu, 17 Oct 1996 00:00
26 lines
1641 bytes
On 17 Oct 1996 18:52:39 GMT, Jason Lavoie <jason@oasys.net> wrote:
>I'm about to hack nnrpd to do password lookups (from a standard unix
>/etc/passwd style file) for read authentication.  The existing 
>functionality of nnrp.access isn't flexible enough.

This code is already in INN 1.5b1, but I don't believe it's documented.  I
have code for doing lookups into a bsd style dbm database also.

>I'm also considering tracking connections to limit users to a set
>number of simultaneous sessions.

I've thought about this problem, and I've decided not to solve it on the
news server.  I'm intending to push NNTP authentication requests off to the
RADIUS auth servers here and solve the simultaneous login problem in one
place instead of w/every service we offer.

>Has anyone already done either of these?
>Any helpful pointers or suggestions are welcome.

Take a look at the 1.5b1 code.  Keep in mind that if you have a OS that
doesn't put the password file in a dbm file then you're going to regret
doing a getpwent a lot if you get a lot of users in that password file.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads