Quote:
Originally Posted by TheInsaneManiac
Another update for you all. I am now finalizing the post to thread, it appeared that I could not port it from the 3.8 version I was using so I am researching more into that so I can release both 4.0 and 3.8 together.
https://www.torproject.org/projects/tordnsel.html.en
I use the information provided by tor
Code:
function IsTorExitPoint()
{
if (gethostbyname(ReverseIPOctets($_SERVER['REMOTE_ADDR']).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2")
{
return true;
}
else
{
return false;
}
}
Then the whitelist is just comparing IPs
Code:
(!in_array($_SERVER['REMOTE_ADDR'], $whitelists))
|
Any new updates for pro version if so can you email them