🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by kmlim Sat, 27 Dec 1997 00:00
Tcl & Perl filtering
#24624
Author: kmlim
Date: Sat, 27 Dec 1997 00:00
7 lines
626 bytes
Do  you guys knows what does that means  for INN1.7.

--kmlim


Re: Tcl & Perl filtering
#24613
Author: brian moore
Date: Sat, 27 Dec 1997 00:00
29 lines
1683 bytes
In article <34A4A4BE.3C56367D@mimos.my>,
	kmlim <kmlim@mimos.my> writes:
> Do  you guys knows what does that means  for INN1.7.
> 
> --kmlim

Well, I haven't used the Tcl hooks (never did like Tcl), the Perl hooks are
WAY COOL.  Build your INN with them, then go to:

    http://www.exit109.com/~jeremy/news/antispam.html

And download the current version of Cleanfeed.

Basically, you get to build into your news server some of the things being
detected as spam:  this saves you a pile of disk writes (why write the
spam out, put it in the overview and then delete it 2 seconds later when
the cancel shows up) and improves the speed of your news server greatly,
especially if you have alt* and is nearly a requirement with alt.sex.*
and alt.binaries.*.

And, yep, right now, I'm dropping about 6 spams a second on the floor.
I love weekends.  Really.

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

Re: Tcl & Perl filtering
#24614
Author: Brian Edmonds
Date: Sat, 27 Dec 1997 00:00
21 lines
2337 bytes
Jeremy  <jeremy@exit109.com> writes:
> But until filtering reaches some critical mass, all that really ends
> up happening is that your downstream site gets a spam a few minutes
> later from another feed, and then gets the cancel after that from the
> same feed, rather than just getting the cancel from you and refusing
> the spam when the other feed offers it.

Sounds like a good incentive for said downstream site to install
filters.  And/or look to switch upstream sites for ones that filter.

What exactly is the problem with this?  As long as I don't see the spam,
and my neighbours don't get it from me, I'm happy.  Selfish maybe, but
get enough people with the same attitude, and spam stops propagating.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: Tcl & Perl filtering
#24616
Author: Jeremy
Date: Sat, 27 Dec 1997 00:00
41 lines
2187 bytes
CyberPromo Danmark  <ag786@yfn.ysu.edu> wrote:

>     Two whole seconds?  You're slipping.  The Cabal is Not Amused.

I was just allowing for the slower ones, is all.

Dec 27 12:49:32 news1 innd: rejecting[perl] <34a52df3.24583975@news.sprint.ca>
  437 EMP rejected (md5)
Dec 27 12:49:32 news1 innd: rejecting[perl]
  <cancel.34a52df3.24583975@news.sprint.ca> 437 Cancel for rejected article

How's that?

>     Hmmm, you don't think an alternate history file format with more
> tagbits helped you out, do you?

Oh, it did, and I love it, but it wasn't as big a win as dropping nearly
two hundred thousand cancels. :)

> Anyway, if the transit sites do this, they save significant amounts of
> their bandwidth and put less strain on the sites they feed doing
> unnecessary history lookups or writes.

But until filtering reaches some critical mass, all that really ends up
happening is that your downstream site gets a spam a few minutes later
from another feed, and then gets the cancel after that from the same
feed, rather than just getting the cancel from you and refusing the spam
when the other feed offers it.

>     Sounds like you're begging me to adjust my feed to you now that you
> should be able to keep up, so you get less spam faster.  Consider it done.

Hey, hit me with as much as I can keep up with.  That's what the server
is there for, after all.

-- 
Jeremy  |  jeremy@exit109.com
"Everything you think you know is wrong."  --Jack Chalker

Re: Tcl & Perl filtering
#24619
Author: Wolfgang Rupprecht
Date: Sat, 27 Dec 1997 00:00
30 lines
1840 bytes

bem@news.cmc.net (brian moore) writes:
>     http://www.exit109.com/~jeremy/news/antispam.html
> And download the current version of Cleanfeed.
>...
> And, yep, right now, I'm dropping about 6 spams a second on the floor.
> I love weekends.  Really.

;-)

For a bit more fun crank up the limits a bit and really watch the
fireworks.  I'm currently seeing about a 15% rejection rate.  The
stuff that gets through is all nice readable news.  These settings
make reading news fun again.

$maxgroups = 4;		        # maximum number of groups in a crosspost
$maxfollowups = 2;		# followups less than this is ok
$maxmultiposts = 5;		# start rejecting after this many copies
$tjfmaxgroups = 2;		# max xposts in test, forsale, jobs groups
$block_binaries = 1;		# set to 1 to block misplaced binaries
$block_mime_html = 1;           # set to 1 to block MIME encapsulated HTML
$block_html = 1;		# set to 1 to block HTML and multipart/alternative

With these settings the crossposts filter is often the biggest crap
filter.  The "EMP rejected ph/l" usually runs a close second.

-wolfgang

Re: Tcl & Perl filtering
#24620
Author: Jeremy
Date: Sat, 27 Dec 1997 00:00
18 lines
1212 bytes
Stephen R. van den Berg <srb@zeus.fw.cuci.nl> wrote:

> Wolfgang Rupprecht  <wolfgang@dailyplanet.wsrcc.com> wrote:
> >$maxgroups = 4;		        # maximum number of groups in a crosspost
> 
> Won't this impact FAQ crosspostings?

Not if they set followups; the other setting allows crossposts as
long as followups are set to below that number.  Most FAQs have
followups set to one group or to "poster" and thus will be allowed
through.

-- 
Jeremy  |  jeremy@exit109.com
The customer is always right, until he tries to say something.

Re: Tcl & Perl filtering
#24623
Author: CyberPromo Danmark
Date: Sat, 27 Dec 1997 00:00
67 lines
4622 bytes
On 27 Dec 1997, Jeremy wrote:

> >   this saves you a pile of disk writes (why write the
> > spam out, put it in the overview and then delete it 2 seconds later when
> > the cancel shows up) and improves the speed of your news server greatly,
> 
> Two seconds is about right -- I've now got my filter remembering the last
> hour's worth of rejections, and rejecting cancels for those articles, and
> I'm seeing that a spam will be rejected, and then the cancel will often
> arrive and be rejected a second or two later.

    Two whole seconds?  You're slipping.  The Cabal is Not Amused.

Dec 27 05:01:24.949 + sgi.com <#RABvvnE9GA.250@uppssnewspub04.moswest.msn.net> 1018 ...
Dec 27 05:01:25.156 + sgi.com <cancel.#RABvvnE9GA.250@uppssnewspub04.moswest.msn.net> 1632 ...
Dec 27 05:01:27.274 j logbridge.uoregon.edu <01bd127c$251dda40$c3048ed1@winston> 16914 ...
Dec 27 05:01:27.650 j logbridge.uoregon.edu <cancel.01bd127c$251dda40$c3048ed1@winston> 1097 ...
Dec 27 05:02:04.823 + newshub.nntp.mr.net <34a47cd2.0@metro.goldwyyn.au> 865 ...
Dec 27 05:02:04.983 + cpk-news-hub1.bbnplanet.com <cancel.34a47cd2.0@metro.goldwyyn.au> 1741 ...
Dec 27 05:02:30.432 + snipp.uninett.no <cancel.34a47cec.0@metro.goldwyyn.au> 2064 ...
Dec 27 05:02:31.317 + news-xfer.netaxs.com <34a47cec.0@metro.goldwyyn.au> 1436 ...
Dec 27 05:03:32.078 + marley.vszbr.cz <ulC7ivnE9GA.284@uppssnewspub04.moswest.msn.net> 932 ...
Dec 27 05:03:33.607 + cpk-news-hub1.bbnplanet.com <cancel.ulC7ivnE9GA.284@uppssnewspub04.moswest.msn.net> 1586 PITH! ...
Dec 27 05:05:01.173 + news.edu.sollentuna.se <551583845995.9516991325@xxxyes.com> 1087 ...
Dec 27 05:05:01.173 + snipp.uninett.no <cancel.551583845995.9516991325@xxxyes.com> 1617 ...
Dec 27 17:40:46.232 + europa.clark.net <cancel.271297223148@internetmail.com> 1689 ...
Dec 27 17:40:46.395 + cpk-news-hub1.bbnplanet.com <271297223148@internetmail.com> 754 ...
Dec 27 17:39:25.498 + marley.vszbr.cz <cancel.34a5299c.3761849@news.fibr.net> 1557 ...
Dec 27 17:39:25.700 + news-xfer.netaxs.com <34a5299c.3761849@news.fibr.net> 1214 ...

    Now that's what I call service.  Getting the cancels out before the
articles they cancel part of the time, and typically within half a second
or less the rest of the time.  I eyeballed some of the cancels to see how
much delay there was from alleged posting time to Cosmo Activity time.
Looks like Cosmo needs a faster incoming feed, maybe.

    The discouraging thing is to see that between 05.00 and 05.05 this
morning, I saw only a handful of message IDs which were not part of the
ongoing battle of news.von.mute.de or me.com or xxxyes.com or pals vs. the
Defenders of Justice.  Sometimes I ask myself why I'm bothering.  Then
they cut down my bandwidth, and, well, my average latency from time of
posting to time of arrival has dropped from <2 to 3 seconds for 10% of the
articles, and 50% of them get here in 5 minutes now instead of 0.5
minutes, and, well, it just isn't the same anymore... <sniff>


> A transit site probably shouldn't do this, but for me it's been the single
> largest performance win since I started filtering.  I've got *idle* time
> now!

    Hmmm, you don't think an alternate history file format with more
tagbits helped you out, do you?  Anyway, if the transit sites do this,
they save significant amounts of their bandwidth and put less strain on
the sites they feed doing unnecessary history lookups or writes.  Around
here, it's the wasted bandwidth that's a bigger concern, so I'd rather not
see the junk sent in the first place, since we're paying to refuse it.

    Sounds like you're begging me to adjust my feed to you now that you
should be able to keep up, so you get less spam faster.  Consider it done.


Barry Bouwsma, Tele Danmark Internet Department of Bitbucketed Bandwidth
we aim to please, or something


rejecting cancels for rejects (was Tcl & Perl filtering)
#24625
Author: Brian Edmonds
Date: Sat, 27 Dec 1997 00:00
21 lines
2126 bytes
Jeremy  <jeremy@exit109.com> writes:
> I've now got my filter remembering the last hour's worth of
> rejections, and rejecting cancels for those articles

Oh, good idea!  I've added it to my filter, and you're right, it works
like a charm.  Now not only am I dropping uunet injected phone spam left
and right, I'm not carrying the cancels for them either. :)

> A transit site probably shouldn't do this

OTOH, I see no reason to propagate cancels for articles I didn't
propagate.  Let the sites that don't filter in the first place waste
their time on them.

-- 
 o         Brian Edmonds <bedmonds@cs.ubc.ca>, Team Jubal Mech Labs
 \\_/\_,   Moderator: rec.arts.anime.creative, rec.music.info/reviews
(*)   (*)  Are you tired of spam?  Visit http://www.spam.abuse.net/spam/

Re: Tcl & Perl filtering
#24626
Author: Stephen R. van den Berg
Date: Sat, 27 Dec 1997 00:00
13 lines
948 bytes
Wolfgang Rupprecht  <wolfgang@dailyplanet.wsrcc.com> wrote:
>$maxgroups = 4;		        # maximum number of groups in a crosspost

Won't this impact FAQ crosspostings?

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

This sentance contains threee errors.

Re: Tcl & Perl filtering
#24627
Author: Jeremy
Date: Sat, 27 Dec 1997 00:00
29 lines
1760 bytes
brian moore <bem@news.cmc.net> wrote:

> Basically, you get to build into your news server some of the things being
> detected as spam:  this saves you a pile of disk writes (why write the
> spam out, put it in the overview and then delete it 2 seconds later when
> the cancel shows up) and improves the speed of your news server greatly,

Two seconds is about right -- I've now got my filter remembering the last
hour's worth of rejections, and rejecting cancels for those articles, and
I'm seeing that a spam will be rejected, and then the cancel will often
arrive and be rejected a second or two later.

A transit site probably shouldn't do this, but for me it's been the single
largest performance win since I started filtering.  I've got *idle* time
now!

> And, yep, right now, I'm dropping about 6 spams a second on the floor.
> I love weekends.  Really.

Yesterday's report shows 471015 rejections.  200819 by MD5 checksum,
190545 cancels for already-rejected articles, and the rest random garbage.

-- 
Jeremy  |  jeremy@exit109.com
Is your ISP providing a *clean* Usenet feed?
http://www.exit109.com/~jeremy/news/antispam.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