🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53226

INN 2.3.x scalability: Problem?

#53226
From: Bill Allison
Date: Wed, 11 Jul 2001 09:21
100 lines
3693 bytes
Hi

Server: Intel / Suse 7.0 / INN 2.3.2 Intranet only (no in or out feeds)

Readers: NT4.0 / OE4.x and 5.x

I've just installed as above and used pullnews to migrate postings
from an old server (Netscape Collabra / HP-UX). This was my first
experience of INN (apart from a brief flirtation with 2.2.2) and 
of compiling anything on Linux so sure, I had to do a bit of 
browsing in here to offset my inexperience, but really it went 
like a dream. IMHO the quality of the product and the documentation
is impressive. However...

Problem:

It's with scalability in terms of controlling access via readers.conf
to different combinations of restricted access newsgroups for groups
of users. As set up below it does exactly what I need, but the number
of access stanzas in readers.conf is the factorial of the number of 
restricted access newsgroups (assuming that all combinations are 
required). So when my company asks for another secured newsgroup, the
number of access stanzas will rise to 24 (then 120 then 720 then
5760...) making readers.conf too difficult to maintain manually (and
what about performance?).

Below is my newsgroup hierarchy, and my readers.conf. I've shortened 
newsgroup names for brevity and clarity. Likely, as a newbie, I've 
created this problem by adopting a wrong approach here, or perhaps 
this *is* a limitation with INN "out of the box". If the latter I do
have an idea for a simple change to the way INN uses readers.conf 
which might resolve this issue without drawback but being a newbie 
I'll wait to see what response this post brings before making a fool
of myself :)

HIERARCHY (Those in upper-case are restricted access)
---------
b,
b.d, 
b.w, 
b.g, 
b.e, 
b.h,
b.o,
b.u, 
b.p, B.P.T,
b.s, B.S.L,
b.i, b.i.c, b.i.t, B.I.N

readers.conf
------------
auth "everyone" {
    hosts: "*"
    auth: "ckpasswd -s"
}

access "everyone" {
    users: "*"
    newsgroups: "*, !b.p.t, !b.s.l, !b.i.n
    access: "Read Post" }

access "t_l_n" {
    users: "aabill, paulba, simon, news"
    newsgroups: "*"
    access: "Read Post"
}

access "t_n" {
    users: "brianw, david, davidc, gary, simona, susannah"
    newsgroups: "*, !b.s.l"
    access: "Read Post"
}

access "t_l" {
    users: "scott, tom, philh"
    newsgroups: "*, !b.i.n"
    access: "Read Post"
}

access "t" {
    users: "alexb, davyd, derek, johnl, peter, steve"
    newsgroups: "*, !b.s.l, !b.i.n"
    access: "Read Post"
}

access "l" {
    users: "alanw, gilmour, siobhan, huw, duncan, andrewm, kevin, phils, robing"
    newsgroups: "*, !b.p.t, !b.i.n"
    access: "Read Post"
}

access "n" {
    users: "aadav, alison, ann, elaine, fiona, greville, jan, maggie"
    newsgroups: "*, !b.p.t, !b.s.l"
    access: "Read Post"
}

TIA
Bill Allison
Technical Details
Message-ID: <9dc3cc73.0107110121.2388b9d3@posting.google.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!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9dc3cc73.0107110121.2388b9d3@posting.google.com>
Subject: INN 2.3.x scalability: Problem?
Date: Wed, 11 Jul 2001 09:21:24 +0000
From: bill.allison@bsw.co.uk (Bill Allison)
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!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 99
NNTP-Posting-Host: 194.247.74.42
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 994843284 22748 127.0.0.1 (11 Jul 2001 09:21:24 GMT)
X-Complaints-To: groups-support@google.com
NNTP-Posting-Date: 11 Jul 2001 09:21:24 GMT