Projects / junkfilter / Comments

Comments for junkfilter

31 Aug 2001 19:58 locutuz

Re: Home built skripty to help w/ cpu load w/ junkfilter
correction on 2nd url. perl script is at

http://loculogic.locu.net/mass_spam/ltgt.txt

31 Aug 2001 19:57 locutuz

Home built skripty to help w/ cpu load w/ junkfilter
I've implemented junkfilter on a system-wide basis with apx 10k users. On a 1ghz system load typically is around 2.00. However; during spikes of incoming spam it can max out the cpu entirely. To conquor this I made a quick little script in shell code (yes.. i dont know how to program.. if anyone wants to convert this to perl that would be great).

Anyhow, the script watches the junkfilter.log file, and based on threshold values set in vars at top of script and upon threshold limit it will add them to sendmail's access deny file for a specified amount of time, and expire upon another variable entry.

So, if spammer sends more than 10 messages in a 60 second interval, it will add them to the deny list and they wont be able to send any more messages. Works well for me and completely eliminates my load spikes that junkfilter has when receiving hundreds of spams/minute.

The script is at:
http://loculogic.locu.net/mass_spam/block_mass_spam.txt

Also required is small perl script at:
http://loculogic.locu.net/mass_spam/gtlt.pl

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.