









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] An antispam script
I don't have a need to try this, but enjoyed just reading through it.
It's a nice example of perl scripting, and I'm saving it for future
reference.
Somthing I'm still not real clear about: the use of 'my' versus the use
of 'our' at the top-level or scope of a given package, where only one
package is involved. Is there a reason why you sometimes use one or the
other?
thanks,
Ed
On Mon, 2004-11-08 at 18:45, Kevin Rosenberg wrote:
> As seen with the recent the delay in NMLUG posts, I've been working on
> slowing down the spam attacks on my mail server. To offset the
> disconcertment experienced by some NMLUG posters by the posting delay,
> I offer my latest antispam script attached to this message.
>
> This script monitors so-called attacks known as equivalently as
> Rumplestiltskin, dictionary, email address harvesting, and RCPT
> probes. When it detects such an attack from an IP address, it blocks
> that IP address from sending further email.
>
> Since starting that script 3 days ago, I've blocked 28,000 IP
> addresses which were using dictionary attacks on my mail server. I run
> the script out of a cron job once a minute. On my mailserver the
> script only takes 0.2sec to execute.
>
> Enjoy!
|
|