🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by David Tomalin Thu, 20 Aug 1998 00:00
BOFH nnrp patch
#30648
Author: David Tomalin
Date: Thu, 20 Aug 1998 00:00
22 lines
1471 bytes
I am trying to intergrate some anti-spam measures into a new services,
but unfortunately as yet the measures taken do not seem to be too
succesfull, I am running inn 1.7.2 with the nnrpd bofh patch on a Ultra
1 running Solaris 2.5.1. 

So far I have tried bannning greater than 10 posts using the same header
info or more than ten with the same body, unfortunately when I  call the
$body variable defined by the bofh patch it pulls through an empty line,
this means once one person has sent more than ten messages all his
following posts are denied.

What I need is a method for checksuming the body of each message,
storing that into an array and then denying propogation to each message
if repetaed more than x times, incidentally I cannot do this through the
filter_innd.pl because the nnrpd forward the articles via a central
server.

Any suggestions would be greatly appreciated.

DT

Re: BOFH nnrp patch
#30617
Author: Andrew Gierth
Date: Thu, 20 Aug 1998 00:00
19 lines
1482 bytes
>>>>> "David" == David Tomalin <david.tomalin@virgin.net> writes:

 David> What I need is a method for checksuming the body of each
 David> message, storing that into an array and then denying
 David> propogation to each message if repetaed more than x times,
 David> incidentally I cannot do this through the filter_innd.pl
 David> because the nnrpd forward the articles via a central server.

Why can't you do this with a filter on the central server?

Trying to do EMP detection in nnrpd requires that you use an external
database (since otherwise it can be defeated just by dropping the
session). In general, trying to load database modules from INN's perl
hooks has been reported as troublesome in the past.

-- 
Andrew.

Re: BOFH nnrp patch
#30620
Author: Barry Bierbauch
Date: Thu, 20 Aug 1998 00:00
30 lines
2333 bytes
On Thu, 20 Aug 1998, David Tomalin wrote:

> The central server is running pretty much at full capacity dealing with
> 9Gb of incoming articles per day, if I increase the work done by each
> article accept by passing it through filter_innd.pl then I will probably
> push my central server to far and experience severe performance
> problems.

I doubt it.  If you're running at full capacity, it's almost certain that
your bottleneck is your spool, while your CPU is sitting idle much of the
time, particularly if you aren't being hit by a hundred parallel incoming
feeds.  I could be wrong, but you'll have to prove it...

If you add an innd filter, it won't do anything to your spool performance,
except improve it if you start dropping a significant amount of the feed,
and the hit on your CPU won't be too bad.

I'll gladly use an innd filter rather than an nnrpd filter, because the
innd filter saves the information about the local posts between sessions,
and it's trivial to special-case it for local posts.  Probably if one
wanted to be really bastardly, for our lusers who post the same thing once
per day to half a dozen groups, one could save a very long-lasting
database of these local posts to ensure that local lusers don't exceed a
BI of 2 over a 90 day period.


Barry bouwsma, department of Censorship


Re: BOFH nnrp patch
#30621
Author: David Tomalin
Date: Thu, 20 Aug 1998 00:00
37 lines
2139 bytes
Andrew Gierth wrote:
> 
> >>>>> "David" == David Tomalin <david.tomalin@virgin.net> writes:
> 
>  David> What I need is a method for checksuming the body of each
>  David> message, storing that into an array and then denying
>  David> propogation to each message if repetaed more than x times,
>  David> incidentally I cannot do this through the filter_innd.pl
>  David> because the nnrpd forward the articles via a central server.
> 
> Why can't you do this with a filter on the central server?
> 
> Trying to do EMP detection in nnrpd requires that you use an external
> database (since otherwise it can be defeated just by dropping the
> session). In general, trying to load database modules from INN's perl
> hooks has been reported as troublesome in the past.
> 
> --
> Andrew.

The central server is running pretty much at full capacity dealing with
9Gb of incoming articles per day, if I increase the work done by each
article accept by passing it through filter_innd.pl then I will probably
push my central server to far and experience severe performance
problems.

If I could ensure that only certain connections were passed through the
filter_innd.pl then I would happily implement innd filtering but
unfortunately I cannot see a way of doing that,...!

Then again if this method cannot do what I need then any other methods
of reducing spam being propogated would make my life so much easier, and
generally make the world a better place :)

DT

Re: BOFH nnrp patch
#30625
Author: Kenneth Herron
Date: Thu, 20 Aug 1998 00:00
25 lines
1844 bytes
In article <35DC4656.1B7DF266@virgin.net>,
David Tomalin  <david.tomalin@virgin.net> wrote:
|The central server is running pretty much at full capacity dealing with
|9Gb of incoming articles per day, if I increase the work done by each
|article accept by passing it through filter_innd.pl then I will probably
|push my central server to far and experience severe performance
|problems.

You should try it.  News servers are generally I/O bound.  A filter
lets you trade some CPU time (which you probably have to spare) to save
I/O by avoiding having to write upwards of 100k articles to disk per day.

The server I used to run is using a pretty heavy-duty filter, and 
according to the monitoring, it's only using about 4% of INN's
non-idle time.  I never could see a difference in system load with
the filter active or disabled, but some people have posted reports of
a net drop in system load.
-- 
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/>

Re: BOFH nnrp patch
#30640
Author: bill davidsen
Date: Thu, 20 Aug 1998 00:00
21 lines
1866 bytes
In article <Pine.BSF.3.96.980820185647.2706A-100000@coredump.int.tele.dk>,
Barry Bierbauch  <ag786@yfn.ysu.edu> wrote:

| I'll gladly use an innd filter rather than an nnrpd filter, because the
| innd filter saves the information about the local posts between sessions,
| and it's trivial to special-case it for local posts.  Probably if one
| wanted to be really bastardly, for our lusers who post the same thing once
| per day to half a dozen groups, one could save a very long-lasting
| database of these local posts to ensure that local lusers don't exceed a
| BI of 2 over a 90 day period.

I do... my database include a "last hit" field, and the entries are only
purged after the entry has gone some (specified) time without a hit, or
when I purge all hits for that user.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  I never said I didn't want to offend anyone, I said I didn't want to
offend anyone unintentionally.


Re: BOFH nnrp patch
#30641
Author: Timothy J. Miller
Date: Thu, 20 Aug 1998 00:00
16 lines
1349 bytes
David Tomalin <david.tomalin@virgin.net> writes:

> The central server is running pretty much at full capacity dealing with
> 9Gb of incoming articles per day, if I increase the work done by each
> article accept by passing it through filter_innd.pl then I will probably
> push my central server to far and experience severe performance
> problems.

	Actually, you'll likely *reduce* the workload.  Give it a try.

-- 
Cerebus <tmill06@ibm.net>
"Although UNIX is more reliable, NT may become more reliable with time"
      -- Ron Redman, deputy technical director of the Fleet Introduction

Re: BOFH nnrp patch
#30668
Author: Jeremy
Date: Fri, 21 Aug 1998 00:00
18 lines
1430 bytes
David Tomalin <david.tomalin@virgin.net> wrote:

> The central server is running pretty much at full capacity dealing with
> 9Gb of incoming articles per day, if I increase the work done by each
> article accept by passing it through filter_innd.pl then I will probably
> push my central server to far and experience severe performance
> problems.

Exactly the opposite, more likely.  If your central server is handling
full feeds, and that's where you're also sending local posts, and you're
*not* running a filter, you'll probably be pleasantly surprised if you
install one. :)

-- 
Jeremy  |  jeremy@exit109.com
Cleanfeed spam filter - http://www.exit109.com/~jeremy/news/cleanfeed.html

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