Advertisement

Tutorials

Home News blq: A Perl Script that Checks ...

News by CGIDir


blq: A Perl Script that Checks Whether Your IP is Blacklisted

 

CGIDir
Friday, April 28, 2006; 07:26 AM

Some organizations, such as the MAPS RBL and MAPS DUL, publish lists that identify potential sources of spam and email abuse. The blq utility is a Perl script that queries one or more of these lists to determine if a particular host is listed.  It is of use to system administrators, as well as people who maintain their own servers.

blq is developer by Unicom Systems Development, a provider of technology consulting and contract development services.  The program is available at http://www.unicom.com/sw/blq/ .

To use blq, just supply the names of the RBLs and the IPs you'd like to check: blq rbl ipaddress . You'll either get an "OK" or "BLOCKED" message, depending on whether the IP is on the blacklist or not. Run blq without any arguments to see the list of RBLs that it supports. You can also add RBLs to the script if your favorite RBL isn't represented.

Advertisement

Partners

Related Resources

Other Resources

image arrow