Article View: news.software.nntp
Article #51358Re: I can make passwords, now...
From: Jeffrey M. Vinocur
Date: Wed, 21 Mar 2001 04:59
Date: Wed, 21 Mar 2001 04:59
80 lines
4086 bytes
4086 bytes
In article <m3zoefrbbe.fsf@pyrophore.ogoense.net>,
Rebecca Ore <rebecca@ogoense.net> wrote:
>
>I want to have things set up so they can scale sensibly. I don't have
>people with shell accounts on the news machine so I could possibly get
>away with that, which might make debugging easier.
Shell shouldn't matter -- unlike the system passwd file, the news
user databases need not (and should not) be world readable.
I have no idea how many users you'd need before text databases
would slow you down significantly.
>> instead you have identities with enough information in them[2],
>> then you can throw them all in the same password database, have
>> static IPs assign the appropriate identity, and then give access
>> based only on having things match the users: field of different
>> blocks.
>
>Um, but then they'd have to use user names and passwords, wouldn't
>they?
No. You would have an auth block like
auth "joe" {
hosts: "joe.example.com
default: "joe@fullaccess"
}
so any connection from that IP would be tagged as
"joe@fullaccess" and then you could optionally put an entry for
"joe@fullaccess" in the password database as well. Then in the
access blocks, you would have one for "users: *@fullaccess".
>I want to be able to develop a system that let me wholesale private
>groups with very limited access along side text Usenet.
The real question is whether there will be many private
hierarchies and if so if the readerships are mostly disjoint. If
so, then you would have one password file and one access block in
readers.conf for each hierarchy, which isn't too bad.
>There's *no* connection between coming in from a shell account inside
>ogoense.net and coming in from outside and the groups I'm making
>accessible to each reader.
The identities used for authenticating to news do not need to
corresponding to anything in the real world (unless you have
nnrpdauthsender turned on in inn.conf, in which case they will
show up in posts). So you can assign them any way you want.
>I was hoping not to have to make the dedicated line people have to
>have a user name and password,
That's not hard for a relatively small number, you just give each
an auth block (see example above).
>I really want to check where people
>are coming from in almost all cases so that if a password was
>compromised, the person who is listed as coming in from aol (example)
>can't start coming in from netcom (example) without any problems at
>all.
*blink* I think that's kinda silly, to be honest. But if you
really want to, then you need to sit down and roll your own with
perlhooks. Make up some kind of variation on passwd files, say,
with additional fields for remote addresses and groups-to-be
read, and a bit of Perl to talk to nnrpd about the contents of
the file.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<999cfa$a4m$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!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<m33dcdyrvf.fsf@pyrophore.ogoense.net> <m3vgp5crub.fsf@pyrophore.ogoense.net> <99978j$p5e$2@marduk.litech.org> <m3zoefrbbe.fsf@pyrophore.ogoense.net>Show Full Headers
Complete Article Headers
Message-ID: <999cfa$a4m$1@marduk.litech.org> Subject: Re: I can make passwords, now... Date: Wed, 21 Mar 2001 04:59:22 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <m33dcdyrvf.fsf@pyrophore.ogoense.net> <m3vgp5crub.fsf@pyrophore.ogoense.net> <99978j$p5e$2@marduk.litech.org> <m3zoefrbbe.fsf@pyrophore.ogoense.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!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: 79 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 985150762 10390 128.84.154.54 (21 Mar 2001 04:59:22 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Wed, 21 Mar 2001 04:59:22 +0000 (UTC) X-Newsreader: trn 4.0-test75 (Feb 13, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)