🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53240

Re: INN 2.3.x scalability: Problem?

#53240
From: Russ Allbery
Date: Wed, 11 Jul 2001 15:24
62 lines
3141 bytes
Graeme Mathieson <graeme+usenet@mathie.cx> writes:
> Russ Allbery <rra@stanford.edu> writes:

>> It would make it hard to do wildcard catch-all stanzas,

> My thought was something along the lines of:

> access "default" {
>         users: *
>         newsgroups: *,!priva.*,!privb.*
> }

> access "priva" {
>         users: alice, bob
>         newsgroups: priva.*
> }

> access "privb" {
>         users: bob, carol
>         newsgroups: privb.*
> }

Right, and the difficulty comes if you want to set up an access stanza for
everyone who isn't alice, bob, or carol, like providing the basic set of
world-readable groups... hm.  Although I guess that would only be a
problem if you had someone you specifically wanted to give *less*
privileges to than the general set of people.

Hm.

Yeah, you could probably rework things this way and still get all the
functionality of the current method, I think.

> When combining access for particular users, it would concantenate the
> newsgroups lines for the appropriate stanzas, for example, for bob it
> would wind up with:

> newsgroups: *,!priva.*,!*.privb.*,priva.*,privb.*

> I am hoping that INN already has code to factor a newsgroup pattern like
> that into something sensible -- I figured that the code for parsing the
> newsfeeds file would do something similar, though I've no idea because
> I've never looked hard enough.

No, the newsfeeds code just does the stupid simple thing and applies all
the wildmats in order.  But wildmat is reasonably fast, so that doesn't
really lose much.

> That's the simple part.  I imagine It gets more interesting if you want
> to be able to specify different access persmissions (read/post) for
> different hierarchies.

Yeah, you'd have to merge that somehow.

It's a very interesting idea.  I'll ponder.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl4rsj5vzy.fsf@windlord.stanford.edu>
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!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <9dc3cc73.0107110121.2388b9d3@posting.google.com> <ylzoabahvv.fsf@windlord.stanford.edu> <87bsmrsli5.fsf@homer.mathie.cx> <yllmlv8x0d.fsf@windlord.stanford.edu> <873d83se5s.fsf@homer.mathie.cx>

Show Full Headers
Complete Article Headers
Message-ID: <yl4rsj5vzy.fsf@windlord.stanford.edu>
Subject: Re: INN 2.3.x scalability: Problem?
Date: Wed, 11 Jul 2001 15:24:49 +0000
From: Russ Allbery <rra@stanford.edu>
References: <9dc3cc73.0107110121.2388b9d3@posting.google.com> <ylzoabahvv.fsf@windlord.stanford.edu> <87bsmrsli5.fsf@homer.mathie.cx> <yllmlv8x0d.fsf@windlord.stanford.edu> <873d83se5s.fsf@homer.mathie.cx>
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!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 61
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 994865090 28715 171.64.13.23 (11 Jul 2001 15:24:50 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)