Post date: 07-Nov-2009 15:51:45
If you are behind a squid proxy that filters urls you probably need iproxy.py to browse freely.
iproxy.py is a tiny python script to bypass squid's url filtering. It has been tested on linux but should run on Windows and Mac too.
You'll need python to run the script. If you are on linux, you probably have it already. For Windows, download Python v2.6(not v3.0!) and install it from http://www.python.org
Download the script from attachments. The only thing you have to change is HTTP_PROXY and HTTP_PORT. Open the script in text editor and change these values to your requirement.
Then run the script using:
Linux:
In terminal, type:
python /path/to/iproxy.py
Windows:
Copy the script to C:\Python26
Start cmd prompt and type this:
cd C:\Python26
python.exe iproxy.py
Now change the network settings in your browser: http proxy to localhost:8000 but keep the SSL or https proxy same as the regular proxy.
You can change the port by passing it as argument in command line:
python /path/to/iproxy.py 8888
Will run the script on port 8888. Change the network settings i.e. http proxy port accordingly to 8888.
If everything works fine, you can access any url blocked by the url filter.
If no, then check for firewall settings i.e. disable firewall or allow this script through the firewall.
If it still doesn't work, just let me know ;)
Yeah, its not perfect.
If you get 404 errors or 'invalid query params' errors, its advised to check the url without the script. But its still better that getting a lot of those 'access denied' errors :)