Check IP range for DNSBL listing

R

RR

I'm looking for a Perl script that will easily check ranges of IP
addresses that make it into DNSBLs, such as sbl-xbl.spamhaus.org and
bl.spamcop.net

I found RBLcheck and ARBLcheck

http://freshmeat.net/projects/rblcheck.pl/
http://www.unixwiz.net/tools/arblcheck.html

But unfortunately those don't allow me to put in ranges of IPs

Ideally, I'd like for these scripts to email me when there's a
violation. Any links to decent Perl mail scripts would be greatly
appreciated. Thus far, I've found

http://willmaster.com/possibilities/archives/wmp20020709001.shtml
http://willmaster.com/possibilities/archives/wmp20020716001.shtml
http://perl.about.com/od/email/a/perlemailsub.htm
 
P

Peter J. Holzer

I'm looking for a Perl script that will easily check ranges of IP
addresses that make it into DNSBLs, such as sbl-xbl.spamhaus.org and
bl.spamcop.net

I found RBLcheck and ARBLcheck

http://freshmeat.net/projects/rblcheck.pl/
http://www.unixwiz.net/tools/arblcheck.html

But unfortunately those don't allow me to put in ranges of IPs

Then change them to take a range of IP addresses and query each address
in the range. If you run into problems, feel free to ask questions. But
keep in mind that this is a discussion group for programmers, so while
you will almost certainly receive helpful (though not always polite)
comments on any code you have written, you probably won't get much help
if you are looking for ready-made solutions.

One other thing to consider: Some RBLs may consider it abuse if you
frequently check a large number of IP addresses. Some offer to send you
a notification if they list one of your addresses. Check the web sites
of the RBLs first!

hp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,653
Latest member
YvonneJif

Latest Threads

Top