🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41673

Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help

#41673
From: Forrest J. Cavalier III
Date: Fri, 19 Nov 1999 00:00
95 lines
5030 bytes
In article <8127rg$4dn$1@newssvr02.news.prodigy.com>, davidsen@tmr.com wrote...
>
>In article <f7UY3.1851$q6.130762@news1.epix.net>,
>Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote:
>
>| ...All you need is better feed software. Any interested in a
>| http://www.cosource.com/ project?  Something that would keep
>| track of what was in the active files for all your downstream
>| peers?
>
>  Does this offer more than the old dynafeed? That just let me set what
>I wanted to be fed, and it was adequate to the task.

dynafeed needed a method external to NNTP to transfer those
newsrcs from peers to feeders, if I'm not mistaken.  And it was
actual feed software: obtaining articles in the spool, etc.

The first advantage of using list active is that it is already
supported by NNTP.  So even if the downstream news server does
not have FTP, or HTTP, then you still can get an active file from
that server (or some server.)

Actually, when I said "better feed software", I really meant better
feeding decisions in INN.  (You could do something similar
with feed software, too if you didn't have INN, for example),
but doing it inside INN saves work.)

It may come as a surprise to those unfamiliar with the
internals of INN, that the newsgroup patterns in newsfeeds are
not processed on each article.  Instead, an array of all newsgroups
in the active file is created, and the newsgroup patterns are
processed to mark each newsgroup in that array with a flag for
each downstream site.  This is all done during a reload newsfeeds.
So when an article comes in, the newsgroup is looked up in the array,
and the feed decision is based on the flag.  This is much, much faster
than pattern matching.  (But the disadvantage (or advantage) is that
you don't know what to do with a newsgroup which is not already in
the active file.  INN drops those articles.)

Of course, you don't want downstream sites to be able to receive
local-only groups, so you will want to use the downstream active
only to further restrict propagation, instead of augment it.

Instead of obtaining the downstream active into INN, it makes
more sense to just specify the location of a copy of the
downstream active file, in addition to what is in newsfeeds.
Then obtain and store the downstream's active file however and
how often is convenient.  (cron job actsync, uucp, whatever.)
You could even actsync to a completely different server, which
is useful in the case of Diablo downstream peers.


OUTLINE PROPOSAL
----------------
Modify INN to take newsgroup patterns in newsfeeds(5) entries
of the forms:
        &filepath
and
        !&filepath
and
        @&filepath

which is the path to an active file (obtained through actsync,
fgrep active, or other method.)  For any newsgroup present in
	the file preceded by !&, mark the newsgroup as unwanted
        the file preceded by @&, mark the newsgroup as poison
        the file preceded by simply &, mark the newsgroup as wanted.

Other newsfeed newsgroup pattern matching would continue as before,
so it would be possible to have an entry like:

        fred:!*,&fred.active,!local*\
                                   :Tm:mailer!


(I haven't looked at the newsfeeds parsing code recently, so some
adjustment to this syntax might be needed.)

-----------------------------------------------------------------

If there is any interest in this, then I'll propose a
http://www.cosource.com project to do it, and you can contribute
whatever you feel appropriate.  I figure $2000 is the right ballpark
for what it would take to write, test, and debug, this modification for INN, 
but I'd have to look at the newsfeeds parsing code some more to pin
down that figure.  So it could be more or less.

My services are also available as a consultant.

Forrest J. Cavalier III, Mib Software, INN customization and consulting
http://www.mibsoftware.com/
Voice: 570-992-8824


Technical Details
Message-ID: <ylcZ3.1914$q6.145981@news1.epix.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!not-for-mail
References: <WvZS3.44836$7I4.808092@news5.giganews.com> <MdzX3.285$q6.60839@news1.epix.net> <7T57Q36mw-B@khms.westfalen.de> <f7UY3.1851$q6.130762@news1.epix.net> <8127rg$4dn$1@newssvr02.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylcZ3.1914$q6.145981@news1.epix.net>
Subject: Re: As News Groups Crumble, What Will The New Rules Be? (was Re: Help
Date: Fri, 19 Nov 1999 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <WvZS3.44836$7I4.808092@news5.giganews.com> <MdzX3.285$q6.60839@news1.epix.net> <7T57Q36mw-B@khms.westfalen.de> <f7UY3.1851$q6.130762@news1.epix.net> <8127rg$4dn$1@newssvr02.news.prodigy.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!not-for-mail
X-Deja-AN: 550533966
Content-Type: Text/Plain; charset=US-ASCII
X-Complaints-To: abuse@epix.net
X-Trace: news1.epix.net 943018462 209.74.53.76 (Fri, 19 Nov 1999 08:34:22 EST)
Organization: Mib Software
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 19 Nov 1999 08:34:22 EST
Newsgroups: news.admin.net-abuse.usenet,news.software.nntp