Project Mugatiya

January 17, 2011 Leave a comment

This blog has moved to

http://projectmugatiya.blogspot.com

 

Thanks for your patience

Categories: Uncategorized

Configuring Mugatiya

December 7, 2010 Leave a comment

Once you have Mugatiya up and running there are few basic options you can configure. Don’t forget that the source code is freely available for you to go crazy!

 

Turing Test

To configure the Turing Test or the reCaptcha, involves the files below.

  • super
    • host.php
    • supercaptcha.php

By default the turing test is turned on. It is specified on line 36, and looks like below
define(‘TURINGTEST’, true);

True turns it on and false turns the test off.

Lines 36 and 42 in the supercaptcha.php file contain the private and public keys for the captcha. You may wish to change these or you can continue to use them.  If you don’t change them, then someone could break this captcha because the private key is visible.

 

White Listing / Black Listing

The white/black listing is contained in the blockedips.php file

  • super
    • blockedips.php

At line 45 in this file there is an host array and at line 77 there is another array. The first array matches the host and the second array matches the url.

$walledgarden =array(
/*Whitelist proxy checking services*/
“ip-adress.com” => 1,

/*Blacklist all affiliate services*/
“doubleclick.net” => 0,
);

For example, this would mean that any request with the host matching “ip-address.com” will be allowed through without the Turing Test even if it’s turned on. But anything matching “doubleclick.net” will be blocked regardless of the Turing Test.

Blocking affiliates, preserves bandwidth but also protects the websites a user is visiting. If you didn’t block them a user could go and click on those sites and it would be declared click-fraud because of the single source (your prox) ip.

Categories: Uncategorized

Installing Mugatiya

December 7, 2010 Leave a comment

Installing mugatiya is very easy. First you have to download the latest source code from google’s project hosting.

Once you unzip the file you find a directory structure given below.

  • mugatiya
    • super
    • .htaccess
    • README.txt

The super directory contains all the php scripts. Copy the ‘super’ directory and the .htaccess file to your Apache root directory. If you are using a VPS/VDS the this usually looks like “/var/www/html” in an standard Apache installation on linux. In a shared hosting platform, it would be the topmost directory in your file manager.

Now you have to enter the super directory and edit the file called host.php

  • super
    • host.php

In line 24 of this file you will find the line below (see file).
$myhost = “http://127.0.0.1:8080/super”;

Now change “http://127.0.0.1:8080/super” to whatever you have on your server. If it’s shared hosting and your domain name is www.mydom.com,  then this should read

$myhost = “http://www.mydom.com/super”;

 

Then your proxy ip will be www.mydomain.com and your port will be 80

 

For shared hosting providers such as godaddy etc, once you change or upload the .htaccess file, it may take quite a long time before it starts working.

 

For VPS/VDS you have to make sure that the httpd.conf file allows “Override All” in the DocumenRoot directory for the .htaccess file to work. Alternatively, you can copy the lines in the .htaccess file and insert them under your DocumentRoot in the httpd.conf file. This latter solution is probably the better solution.

Don’t forget to restart your Apache Server if you make changes to the httpd.conf file.

Categories: Uncategorized

Open Source Php Ip:Port Proxy

November 14, 2010 Leave a comment

This is an open source php based ip:port proxy emulator. It runs inside an Apache web server, but behaves like an IP:Port proxy- sometimes called elite and open proxies.  It will run on shared hosting and doesn’t require a database. The demo has an add pane where you can display advertisements. This can be easily removed.

Some of the features

  • Will run on shared hosting or VPS.
  • Built-in Turing test (reCaptcha) – can be switched off
  • Blacklist and Whitelist client ip’s, hosts and urls.
  • Written in simple easy to understand Php. A novice can modify it.
  • Has content filtering if required.
  • Display adds on an IP:Port proxy!

For about $6 a month on a shared hosting platform you can now host an IP:Port proxy. To access blocked sites, for SEO work or hiding/changing your IP, and IP:Port proxy gives you unrivaled performance over web proxies.

Mugatiya means mongoose in Sinhalese.

Categories: Uncategorized

Uploaded Mugatiya

November 12, 2010 Leave a comment

Finally, had the time to clean up most of the code and check it into google’s code hosting. I’ve zipped up a working copy and stuck it in there too. I need to start on the documentation right now. All the links on the right should be working now.

Categories: Uncategorized

Almost ready

October 31, 2010 Leave a comment

Just cleaning up the code, adding the Apache license information etc. Trying to set up googlecode where the project will be hosted.  The links to googlecode are on the right, but they is nothing in there at the moment. Thank you for your patience.

Also note that this is an IP:Port based proxy. I have a demo running at the address:port below

209.97.203.60:8080

Categories: Uncategorized
Follow

Get every new post delivered to your Inbox.