🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24785

Re: Cleanfeed/nnrp?

#24785
From: brian moore
Date: Fri, 02 Jan 1998 00:00
55 lines
3143 bytes
In article <68jkr4$cb5$1@valkyrie.onramp.net>,
	mwilson@flash.net (Mike Wilson) writes:
> brian moore <bem@news.cmc.net> wrote:
>> In article <68jd9q$8jj$1@valkyrie.onramp.net>,
>> 	mwilson@flash.net (Mike Wilson) writes:
>>> Is there a clean feed simular to Cleanfeed that works with
>>> inn1.7.2insync1.1d?
> 
>> Doesn't the real cleanfeed work?  It works on 1.7insync (after a couple
>> minor hacks that have since been added to the insync code).
> 
> Sorry, I thought the subject would explain more than it did. What I meant to
> say was is there a cleanfeed for NNRPD that works like
> CleanFeed/filter_innd.pl?

Ah, well, not sure if you want to do that... There is a problem with
trying that sort of scanning with nnrpd.  Suppose you set the threshold to
5 posts.  A trivial way around that is:

open socket; inject 5 posts to nnprd; close socket; repeat.

Each nnrpd will need to know what the others are doing and keep file locks
and generally be a huge pain in the butt.

But... if you run cleanfeed in innd, it will nail the stuff posted with
nnrpd: since nnrpd doesn't really know how to post, it just tells innd
to do it.  So you don't need anything THAT clever.

If you're feeling adventerous:

1) Set up a cron job to rnews -U every few minutes.
2) There are hacks on I think Clayton's page or perhaps Joe Greco's to
   have nnrpd just put the articles in /var/spool/news/in.coming.  Set it
   to always do that.  This is pretty cool in that users can even post
   while inn is renumbering or otherwise not responding.  It's on my
   list of things to do (as well as move innd to another port and fork
   nnrpd out of inetd).

Now, when a naughty spammer posts, their articles will get processed
by cleanfeed (in innd) which will discard them, but meanwhile nnrpd
lied and said they were ok.

Would be a shame to have a spammer waste hours injecting into a black
hole, eh?  Since cleanfeed autodetects new spams, it's fine to leave it
running all the time just in case.  It'll slow down your outgoing local
posts a bit (depending on how often you cron the rnews) but it will also
make for a faster 'feel' for the user since nnrpd won't have to wait to
get inn's attention.  It'll make posting FEEL fast. :)

-- 
Brian Moore                      Kill A Spammer For Jesus
Sysadmin, C/Perl Hacker

Technical Details
Message-ID: <68jo25$svd$1@news.cmc.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: <68jd9q$8jj$1@valkyrie.OnRamp.Net> <68jjnp$sea$1@news.cmc.net> <68jkr4$cb5$1@valkyrie.OnRamp.Net>

Show Full Headers
Complete Article Headers
Message-ID: <68jo25$svd$1@news.cmc.net>
Subject: Re: Cleanfeed/nnrp?
Date: Fri, 02 Jan 1998 00:00:00 +0000
From: bem@news.cmc.net (brian moore)
References: <68jd9q$8jj$1@valkyrie.OnRamp.Net> <68jjnp$sea$1@news.cmc.net> <68jkr4$cb5$1@valkyrie.OnRamp.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
X-Deja-AN: 312231075
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@cmc.net
X-Trace: news.cmc.net 883778437 29677 (None) 206.102.31.253
Organization: Chambers Multimedia Connection
Mime-Version: 1.0
Reply-To: bem@news.cmc.net
Newsgroups: news.software.nntp