🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45401

Re: News routing software

#45401
From: Steve Walker
Date: Thu, 30 Mar 2000 00:00
60 lines
3865 bytes
On Thu, 30 Mar 2000 02:50:05 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

>In article <38e2872c.67348366@news.nntpserver.com>, 
>mouse@NOSPAM.nibble.net (Steve Walker) wrote:
>
>>                              The advantage of a MinQueue over a
>> traditional x second delay would be in the following scenario:
>
>    The easy way to solve this is the way Diablo does it, which is to 
>create a new queue file (or set of queue files) every five minutes, and 
>that's your level of granularity as to how much of a time-delay you can 
>give a peer.
>
>    If they want a five minute delay, then you always wait until one 
>file is completed writing before you start reading it to offer the 
>articles to your peer.  If they want a thirty minute delay, you always 
>wait until six sets of queue files have been written.  If they want an 
>hour, you wait until twelve sets have been written.

That's the same thing (almost).  You are maintaining a minimum number
of queued articles.  I'm guessing that round about way was chosen
because of the way Diablo works internally.  In my case it would be
very easy to keep a minimum queue size with just one queue file
because my queue system returns the number of items in the queue every
time an item is popped off the queue.

Thanks for the input.  I'm going to add the delay code now.  I just
wasn't sure if the method had been tried before.

>> In the feedout example it opens 4 streams to the non standard port and
>> sends all articles <150000 bytes and articles that match the listed
>> header deny patterns.  Can Diablo select articles to feed based on
>> header fields like Subject, MessageID, From, and Newsgroups?
>
>    I can't really see a reason why you'd want to select on arbitrary 
>headers.  It can select based on distribution, newsgroup(s), and article 
>size (minimum and/or maximum), and those are really the only factors 
>that I consider to be of importance.

My idea was to allow the ability and let others find uses for it.  I
can think of several uses for incoming/outgoing/spool filters like
this.  For example, what if site you feed doesn't want cancel
messages.  You could use "DenySubject cmsg cancel" just for that
outbound feed.   Another example would be what if you didn't want to
route articles from a certain adult web site spam factory and they use
different nntp account every week, but they always use the same From
field or the same domain name in the MessageID.  You could use a
global Deny rule drop any article from them.  Then you wouldn't route
the article or even store it in your spool.  It's just nice to be able
to do stuff like this.  It's one of those things I think people will
like the more they use it.

Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net



Technical Details
Message-ID: <38e44efa.118505996@news.nntpserver.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
References: <38dc7c3a$1_1@news.nntpserver.com> <Carla.Brescher@bypass.pool-88.oops.inka.de> <brad-27AD65.01113726032000@news.skynet.be> <8bolap$586$1@newssvr02.news.prodigy.com> <brad-94F99A.19563828032000@news.skynet.be> <38e9f672.1258337254@news.nntpserver.com> <brad-5F04F8.23200028032000@news.skynet.be> <38eb21d9.1269450604@news.nntpserver.com> <brad-8CC6CB.14352029032000@news.skynet.be> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <38e44efa.118505996@news.nntpserver.com>
Subject: Re: News routing software
Date: Thu, 30 Mar 2000 00:00:00 +0000
From: mouse@NOSPAM.nibble.net (Steve Walker)
References: <38dc7c3a$1_1@news.nntpserver.com> <Carla.Brescher@bypass.pool-88.oops.inka.de> <brad-27AD65.01113726032000@news.skynet.be> <8bolap$586$1@newssvr02.news.prodigy.com> <brad-94F99A.19563828032000@news.skynet.be> <38e9f672.1258337254@news.nntpserver.com> <brad-5F04F8.23200028032000@news.skynet.be> <38eb21d9.1269450604@news.nntpserver.com> <brad-8CC6CB.14352029032000@news.skynet.be> <38e2872c.67348366@news.nntpserver.com> <brad-B813AF.02500530032000@news.skynet.be>
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: 604313935
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Newsgroups: news.software.nntp