X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fproxyscan.phh;fp=web%2FObj%2Fproxyscan.phh;h=0000000000000000000000000000000000000000;hb=c7ea164705798e0487508067997fb06420c9ef0c;hp=0124db7d4218a10205db6adc2fa1d314121d6e1a;hpb=4fb28f6e2ee61a3079bdf1e84c8195630106cca4;p=brisk.git diff --git a/web/Obj/proxyscan.phh b/web/Obj/proxyscan.phh deleted file mode 100644 index 0124db7..0000000 --- a/web/Obj/proxyscan.phh +++ /dev/null @@ -1,81 +0,0 @@ -"; - if ($resolved != $rblhost) { - return TRUE; - } - } - } - return FALSE; - } - - /** - * BOOL $proxy = detect( $addr ) - * Start detection and return TRUE if a proxy server is detected... - */ - function detect($addr){ - GLOBAL $G_proxy_white_list; - - foreach($G_proxy_white_list as $authproxy) { - if ($addr == $authproxy) - return (FALSE); - } - - if ($this->exists_in_rbl($addr) == TRUE) - return (TRUE); - - //nope, no proxy was logged... - return FALSE; - } -} - -//init class -function is_proxy($addr) -{ - $proxy = new proxy_detector(); - - //start detect - return ($proxy->detect($addr)); -} - -?>