develooper Front page | perl.qpsmtpd | Postings from July 2011

thoughts about a new module called check_spammer_connect

Thread Next
From:
Aleksandar Lazic
Date:
July 26, 2011 14:33
Subject:
thoughts about a new module called check_spammer_connect
Message ID:
20110726213306.GA7266@none.at
Dear list members,

I thought about a module which learns from the plugin dnsbl.

Maybe we call it check_known_dnsbl_spammer ;-) and use the module

http://search.cpan.org/~robm/Cache-FastMmap-1.39/lib/Cache/FastMmap.pm

Thoughts:

When the dnsbl returns a IP as Spammer
add the ip into Cache::FastMmap->set(...)

at the hook_connect the module checks if the IP is in the
Cache::FastMmap then deny.

The livetime in the cache should be configurable, imho.

What are you thinking about this idea?
Maybe someone have already done this?

BR
Aleks

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About