🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Mike Wilson Fri, 02 Jan 1998 00:00
Cleanfeed/nnrp?
#24755
Author: Mike Wilson
Date: Fri, 02 Jan 1998 00:00
10 lines
709 bytes
Is there a clean feed simular to Cleanfeed that works with
inn1.7.2insync1.1d?

-- 
---
Mike Wilson 				http://www.drwho.org
					http://vweb02.onramp.net/~mikew

Re: Cleanfeed/nnrp?
#24757
Author: brian moore
Date: Fri, 02 Jan 1998 00:00
14 lines
1121 bytes
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).

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

Re: Cleanfeed/nnrp?
#24759
Author: Jeremy
Date: Fri, 02 Jan 1998 00:00
32 lines
1866 bytes
brian moore <bem@news.cmc.net> wrote:

> 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.

Eh... not *that* bad.  A while back I made a half-working prototype of a
local spam detection/blocking thing for filter_nnrpd.pl that stored state
information.  But I was thwarted by the lack of dynamic loading.

Now, assuming the dynamic loading patch fixes nnrpd as well, I've been
meaning to get back to that.

> 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.

The thing about that is that it's not as effective, and it doesn't let
anyone know there's a problem.  An nnrpd filter should alert the admin
when someone is being bad.

-- 
Jeremy  |  jeremy@exit109.com
"Never tell me the odds."  --Han Solo

Re: Cleanfeed/nnrp?
#24768
Author: Jeremy
Date: Fri, 02 Jan 1998 00:00
13 lines
858 bytes
Mike Wilson <mwilson@flash.net> wrote:

> Is there a clean feed simular to Cleanfeed that works with
> inn1.7.2insync1.1d?

Clean Feed was born to run with 1.7.2+insync1.1d.  Or vice versa.

-- 
Jeremy  |  jeremy@exit109.com
"Bunch of savages in this town!"  --Dante ("Clerks")

Re: Cleanfeed/nnrp?
#24777
Author: Jeff Garzik
Date: Fri, 02 Jan 1998 00:00
18 lines
1327 bytes
(posted 'n mailed)

Mike Wilson wrote:
> 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?

All local nnrpd posts are sent to innd localhost.

I never bothered with nnrpd filtering, because the innd filter took care
of it all.
-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
Spinne USENET News Service	        Fast and efficient news feeds
http://www.spinne.com/usenet/	           News tuning and consulting

Re: Cleanfeed/nnrp?
#24780
Author: Andrew
Date: Fri, 02 Jan 1998 00:00
14 lines
1076 bytes
Mike Wilson <mwilson@flash.net> wrote:
> Is there a clean feed simular to Cleanfeed that works with
> inn1.7.2insync1.1d?

Clean Feed will work unmodified with insync-1.1d.  Just don't install the
source patches (they're already there) and you should be good to go.

-- 
Andrew O. Smith - <aos@insync.net> | "Especially if your kids enjoy
Sysadmin, Insync Internet Services |  jokes about hashish and sexy,
Houston, Texas, USA                |  sexy dancers."   --Mr. Laupin

Re: Cleanfeed/nnrp?
#24785
Author: 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

Re: Cleanfeed/nnrp?
#24787
Author: Mike Wilson
Date: Fri, 02 Jan 1998 00:00
20 lines
1231 bytes
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?

-- 
---
Mike Wilson 				http://www.drwho.org
					http://vweb02.onramp.net/~mikew

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads