🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Schroeder, AJ Wed, 15 Nov 2006 16:00
cleanfeed.local for corporate newsserver?
#74517
Author: Schroeder, AJ
Date: Wed, 15 Nov 2006 16:00
25 lines
2181 bytes
Hello group,

It has been brought to my attention that my company is cracking down on 
"business inappropriate" material. It has been a policy for quite sometime 
that no profanity, pornography, and otherwise offensive material is not 
allowed on our systems, but there as been a rash of it lately.

Of course, I want to be proactive about it and not get into trouble or 
worse, get the news server shutdown. I keep pretty tight control of the 
groups that are carried on the server, but I still do see some messages that 
contain inappropiate material.

I installed cleanfeed with the default cleanfeed.local (I know, dumb idea) 
It is filtering spam, but I would like it to filter messages that contain 
profanities, is this within the scope of cleanfeed? If so, would I bring my 
server to its knees by scanning each and every message that comes in?

Also, if cleanfeed can do what I am asking, does anyone have any examples? I 
am really not a perl guru at all, I play around with PHP and bash scripts.

Thanks in advance,

AJ Schroeder 

Re: cleanfeed.local for corporate newsserver?
#74525
Author: Jeffrey M. Vinocur
Date: Thu, 16 Nov 2006 03:28
28 lines
1911 bytes
In article <ejfdji$872$1@sxnews1.qg.com>, Schroeder, AJ <aj1@qg.com> wrote:
>
>It is filtering spam, but I would like it to filter messages that contain 
>profanities, is this within the scope of cleanfeed?

Probably, at least inasmuch as you can set forth rules that
describe the messages you want filtered.


>If so, would I bring my 
>server to its knees by scanning each and every message that comes in?

Depends how much traffic is coming through your server, I
suppose.


>Also, if cleanfeed can do what I am asking, does anyone have any examples?

Well, if you look through your cleanfeed.local for the
local_filter_last function, and see how $hdr{__BODY__} is used
there, you should get a little bit of an idea.  You simply match
$hdr{__BODY__} against whatever patterns you want, and return
reject(...).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: cleanfeed.local for corporate newsserver?
#74526
Author: Schroeder, AJ
Date: Fri, 17 Nov 2006 17:23
41 lines
2507 bytes
Jeffrey M. Vinocur wrote:
> In article <ejfdji$872$1@sxnews1.qg.com>, Schroeder, AJ <aj1@qg.com>
> wrote:
>>
>> It is filtering spam, but I would like it to filter messages that
>> contain profanities, is this within the scope of cleanfeed?
>
> Probably, at least inasmuch as you can set forth rules that
> describe the messages you want filtered.
>
>
>> If so, would I bring my
>> server to its knees by scanning each and every message that comes in?
>
> Depends how much traffic is coming through your server, I
> suppose.
>

There is enough traffic, but it's not like I am giganews.com or anything. :)

>
>> Also, if cleanfeed can do what I am asking, does anyone have any
>> examples?
>
> Well, if you look through your cleanfeed.local for the
> local_filter_last function, and see how $hdr{__BODY__} is used
> there, you should get a little bit of an idea.  You simply match
> $hdr{__BODY__} against whatever patterns you want, and return
> reject(...).

I went through and put a filter in there for some key words, it didn't seem 
too hard. I am just not familiar with inner workings of cleanfeed.

That filter has increased the CPU usage of the box to about 50-60 percent on 
one CPU, there are 3 others that are left for the system.

Thank you for the help,

AJ Schroeder 

Re: cleanfeed.local for corporate newsserver?
#74527
Author: Bert Hyman
Date: Fri, 17 Nov 2006 17:39
37 lines
2636 bytes
aj1@qg.com (Schroeder, AJ) wrote in news:ejfdji$872$1@sxnews1.qg.com:

> I installed cleanfeed with the default cleanfeed.local (I know,
> dumb idea) It is filtering spam, but I would like it to filter
> messages that contain profanities, is this within the scope of
> cleanfeed? If so, would I bring my server to its knees by scanning
> each and every message that comes in? 

I run a news server where I work and find CleanFeed to be a great
help. Reading the code will give you more insight about how to either
configure the existing filters or add some of your own. I don't find
it to be particularly resource hungry. 

But, the biggest thing I did to protect myself from corporate wrath
was to simply tailor my feed. 

First, no binaries. Period.
Second, only a select set of alt.* groups.
Third, no groups with the string "sex" anywhere in their name.
I don't honor newgroup, rmgroup or cancel, and only add or remove
groups by hand. 

I also always have a window open doing a "tail -f" on the news.notice
file and have an MRTG-based rate monitor. If I start seing anything
strange, I don't hesitate to filter out individual IP addresses or
entire sites. 

With that limit, I take the "Big 8" (is it really 8 these days?), all
the microsoft.* groups, a big set of aus.*, de,*, fr.*, it.*, nz.*
and uk.* (we're one of those nasty multi-nationals) and a handful of
regional groups, about 8500 groups total. I end up recieving about
110K articles per day. 

It all runs on a single P-II 400 machine running FreeBSD.

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
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