Hello dude, my faucet was removed from his rotator. I do not understand why.
I just write an email.
My faucet is: http://freebtsocean.com/
Sorry, yesterday I responded to over 120 messages.
For some reason the anti-proxy code blocks also non-proxies that have open ports.
http://getipintel.net/ actually tracks IPs with multiple open ports.
Just think about simple IM like Skype opens 2 ports (one of them is port 80) if you have 3 PCs at home = 4 open ports by Skype. If you add one or two torrent clients and a VNC = 8 open ports in total. And you are already in the 0.99+ club.
For now I would suggest using
$banOnProability=0.99999;
instead of
$banOnProability=0.99;
I tested with free proxy list and it still works for 95%+ of the addresses.
Also find a way to cache the IPs since getipintel.net allows up to 1000 requests/day.
//if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
//die("It would apprear you're using a proxy, so please, go f* yourself!");
function checkProxy($ip){
/*
/// Uncomment to allow bit.makejar.com autochecker
if ($ip=='188.166.12.134') {
return false;
}
//
*/
$contactEmail="EMAIL";
$timeout=3;
// $banOnProability=0.99;
$banOnProability=0.99999;// <---------------------------------------------------
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_URL, "http://check.getipintel.net/check.php?ip=$ip");
$response=curl_exec($ch);
curl_close($ch);
if ($response > $banOnProability) {
return true;
} else {
if ($response < 0 || strcmp($response, "") == 0 ) {
//The server returned an error, you might want to do something
//like write to a log file or email yourself
//This could be true due to an invalid input or you've exceeded
//the number of allowed queries. Figure out why this is happening
//because you aren't protected by the system anymore
//Leaving this section blank is dangerous because you assume
//that you're still protected, which is incorrect
//and you might think GetIPIntel isn't accurate anymore
//which is also incorrect.
//failure to implement error handling is bad for the both of us
}
return false;
}
}
$ip=$_SERVER['REMOTE_ADDR'];
if (checkProxy($ip)) {
echo "It would apprear you're using a proxy, so please, go f* yourself!
";
}
?>