🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74171

Re: Multiple access authentication

#74171
From: Jeffrey M. Vinocur
Date: Sun, 03 Sep 2006 00:20
111 lines
4924 bytes
In article <j2oKg.11946$mY1.3564@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Jeffrey M. Vinocur wrote:
>
>>In article <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net>,
>>John F. Morse <xanadu.bbs@invalid.net> wrote:
>>  
>>>Jeffrey M. Vinocur wrote:
>>>    
>>Okay, about how many users is this?
>
>40.

Oh, you can probably fit that.  If not, you can bump the
hardcoded limit up a little bit without too much trouble.


>local.announce 0000000014 0000000011 m
>local.info 0000000000 0000000001 m
>local.test 0000000120 0000000110 y

Exactly.


>local.announce:newsmaster@my.net
>local.info:newsmaster@my.net

You actually could just do local.*, I believe.  The file will be
ignored for the unmoderated groups.


>The "newsmaster" address does not really have an account on my local 
>mail server. However it is routed to an existing mail account by the 
>server's router. Many "throwaway" accounts are routed to only a few real 
>accounts, so I don't need to check but a few mailboxes.

That's fine -- it's only there as a backup anyway; you just
configure your newsreader to add the Approved header when you
want to post to those groups (and make sure you're in a special
access block in readers.conf with "access: RPA"), and you'll
never see email to those groups.  Well, unless one of your users
tries to post there.


>I'll need to examine this and see if I can figure it out and make the 
>changes. I was working on Cleanfeed but got sidetracked with Suck.

For the sake of avoid needless work, I'd leave the -C for now,
use `ctlinnd cancel` when you need it, and come back to this
issue if you find it's happening enough that you'd like a more
fine-grained control over who can send cancel messages.


>At nearly 62, I am beginning to wonder if I can still learn like I did 
>30 years ago, 

You're doing pretty well so far!

We get people in here trying to learn how to use INN all the
time, and I think half of them give up after the first day.


>>You can't use multiple users: lines per block or duplicate the
>>block entirely, as far as I know.

Wait!  I completely take this back!

I got confused with the previous conversation about whether you
could have multiple auth blocks using different password files.

You -absolutely- can split a long list of users: across multiple
access blocks.  Just put them right next to each other, and make
them identical other than the users: line, and it will do exactly
what you want.  That's much easier than recompiling, if you bump
into the size limit.


>I see what you mean. I had thought someone would only need to see the 
>name in the From: field to forge access, but I forgot about the password 
>would still be required.
>
>I don't want to change the user's names though. They are their real 
>names, or they chose them and probably have reasons for those handles.

Oh sure, that's definitely an inelegant solution.  I just wanted
to offer it since it would be very easy to implement.

And honestly, you could be pretty subtle about it -- leave all
the existing people exactly as they are (with no "@" sign at
all), and start giving out new addresses that simply all have the
domain name of your server at the end.  I do something very
similar, actually:

    access "nonlitech" {
        users: "*"
        newsgroups: ...
    }

    access "litech" {
        users: "*@litech.org"
        newsgroups: ...
    }

and so I can segregate which groups are visible to people that
have @litech.org on the end of their usernames from everybody
else.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <edd74q$rh6$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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
References: <UEZJg.6067$mY1.3609@bgtnsc05-news.ops.worldnet.att.net> <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net> <edcplt$i89$1@puck.litech.org> <j2oKg.11946$mY1.3564@bgtnsc05-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <edd74q$rh6$1@puck.litech.org>
Subject: Re: Multiple access authentication
Date: Sun, 03 Sep 2006 00:20:42 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <UEZJg.6067$mY1.3609@bgtnsc05-news.ops.worldnet.att.net> <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net> <edcplt$i89$1@puck.litech.org> <j2oKg.11946$mY1.3564@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 111
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1157242842 28198 66.218.0.75 (3 Sep 2006 00:20:42 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 3 Sep 2006 00:20:42 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)