Blocking Bad Counties with an INCENTIVE
I know many of you proxy owners block "bad" counties by means of GeoIP and .htaccess.
More precisely, they often forward proxy visitors to another site, e.g. Google.
Those which have not a good site for forwarding "bad traffic" can relay them to my special proxy Wonder Proxy.
I would thank you by sending your proxy (*) to my proxy mailing list which has about 2400 subscribers.
(*) Your proxy must be functional, easy to navigate, Spam free and without pop-ups or full page ads, but I reserve the right to refuse any proxy from being sent out to my quality mailing list. I further expect that you relay your "bad traffic" for one month at the least.
Here is the code fragment you might need to ammend your GeoIP rules in masterGeoIP.php:
include('<your path to geoip.inc>'); //this file must exist in your directory
$gi = geoip_open('<your path to GeoIP.dat>',GEOIP_STANDARD);
// get the ip of the visitor
$addr = getenv('REMOTE_ADDR');
// translate his ip to a country code
$country = geoip_country_code_by_addr($gi, $addr);
// close the geo database
$badcountry = array('CN','KW','RU','IR','NG','PK','TR','SA');
// redirect them if they suck
header('Location: http://hitwonder.info/'); //enter a url or page on your site