Location: PHPKode > scripts > WereProxy > wereproxy/super/blockedips.php
<?php
/*
	Copyright 2010 Ping Shin Ching (hide@address.com)

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

		http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
	
	Project Mugatiya: mugatiya.wordpress.com
 */


/*
 * IPs to be blocked by the proxy.
 * I have scripts filling in this section, hence the funny 
 * markings *a* *b* etc
 */

$blocked_ips=array(
/*a*/
"127.0.0.1"=>100,
/*a*/

/*b*/
/*b*/

"0.0.0.0"=>0 //dummy required, because of tralling comma.
);


/*
 * These sites will be allowed regardless of if you are restricted.
 * Also these sites are not 'processed' by the proxy.
 * 0 Black listed
 * 1 White listed
 */
$walledgarden =array(

	/*Whitelist proxy checking services*/
	"ip-adress.com"		=> 1,
	"myiptest.com"		=> 1,
	"botmasternet.com"	=> 1,
	//"proxy"				=> 1,
	"proxies"			=> 1,
	"watermarker.com"	=> 1,


	/*Blacklist all affiliate services*/
	"doubleclick.net"	=> 0,
	"googlesyndication.com" => 0,
	"yieldmanager.com"	=> 0,
	"ypn-js.overture.com" => 0,
	"reachjunction.com"	=> 0,
	"quantserve.com"	=> 0,
	"reduxmedia.com"	=> 0,
	"adbrite.com"		=> 0,


	/*other*/
	//"codediaries.com" => 1
);			

	
/*
 * Blocked Sites.
 * These sites will be blocked!!! Eff U Google
 * 0 Black listed
 * 1 White listed
 */			
$walledurls =array(

	/*Whitelist recaptcha */	
	"google.com/recaptcha" => 1
	
);			
?>
Return current item: WereProxy