🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28571

Re: Filtering language?

#28571
From: Kenneth Herron
Date: Fri, 29 May 1998 00:00
70 lines
4143 bytes
In article <6klmt2$akk$1@news.gv.tsc.tdk.com>,
Don Lewis <gdonl@tsc.tdk.com> wrote:
|In article <6kibii$kbe$1@news.campus.mci.net>,
|Kenneth Herron <kherron@campus.mci.net> wrote:
|
|>On another tack, I wedged a perl interpreter into innfeed a couple of
|>months ago.  It reads full headers on stdin (instead of just filename &
|>ID) and calls a perl function once for each article with the headers &
|>list of sites.  The function returns the list of sites that should
|>actually get the article.
|
|I think putting the filter in innd would be better for a few reasons.
|The first is that innd already has the headers.  The second is that
|feeding lots of data across a pipe is a pain because you can only
|write it in 4K max chunks, and with enough incoming feeds innd's scheduler
|has trouble writing to the pipe often enough to keep unwritten data
|from building up in its buffers.  The final reason is that this feature
|would be handy for feeding other things in addtion to innfeed.

Innfeed is talking to the remote server, an advantage that innd doesn't
have.  I can see the wisdom of moving the actual filtering back to
innd, but that will mean having a communications channel from innfeed
back to innd, and the innd process would become at least partly
responsible for managing the filter information.

|>My current perl script interprets rejections such as 'Unwanted
|>newsgroup "alt.basketweaving.underwater"' (there are similar messages
|>for distribution & path) and filters out further articles for that
|>group to that site.
|
|...how would you know if your peer removed
|one of these restrictions? 

My script removes each restriction after it triggers some number of
times, a thousand I think.  The next article for that group (etc.)
could of course re-install the same restriction.

|Attempting to adjust the feed for Newsgroup
|rejections is even trickier.  If you are feeding a site that only
|carries "comp.*" and uses this as their newsfeed subscription, and
|you send them an article that was crossposted to
|"alt.whatever,comp.bogusgroup", the rejection message will complain
|about alt.whatever, so it does not do any good to remove alt.whatever
|from their subscription list, since it's not there to begin with.  On
|the other hand, you don't want to mark alt.whatever as poison, since
|that would eliminate articles posted to "alt.whatever,comp.realgroup".

The script I'm using knows how newsfeeds work.  Crossposted articles
are only filtered out if all groups involved are being filtered.  If
comp.bogusgroup has significant traffic, sooner or later the remote end
will probably name it in a rejection.

Another possibility would be for the script to keep the group list for
each article passing through.  If the article was rejected with a
bad-newsgroup error you'd know that none of the groups were wanted (and
similarly for distribution, I think).

But the real answer is for the rejection messages to be better, and/or
to field something like Brian Court's proposal.  I'm more or less stuck
at the proof-of-concept phase because there just isn't a lot you can do
with the information currently available.
-- 
Kenneth Herron -- kherron@campus.mci.net
"When Microsoft first took control of the Funk & Wagnalls Encyclopedia
product, there was a flattering biography of Bill Gates.  But it said he
was known as a tough competitor.  Now it says that he's known for his
charitable contributions." -- Gary Reback, <http://www.ljx.com/reback/>

Technical Details
Message-ID: <6kmkdn$fs2$1@news.campus.mci.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: <6ki6p0$ieo$1@news-02.meganews.com> <6kibii$kbe$1@news.campus.mci.net> <6klmt2$akk$1@news.gv.tsc.tdk.com>

Show Full Headers
Complete Article Headers
Message-ID: <6kmkdn$fs2$1@news.campus.mci.net>
Subject: Re: Filtering language?
Date: Fri, 29 May 1998 00:00:00 +0000
From: kherron@campus.mci.net (Kenneth Herron)
References: <6ki6p0$ieo$1@news-02.meganews.com> <6kibii$kbe$1@news.campus.mci.net> <6klmt2$akk$1@news.gv.tsc.tdk.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: 357668890
Organization: CampusMCI
Newsgroups: news.software.nntp