Proxy server in Python that can handle HTTP/HTTPS requests , Caching, Websites and IP blocking. It also provides logging for debugging purpose.
The code does not uses any external networking module. It is written usinig the 'socket' moduls which comes pre-installed with python.
After Downloading/Cloning the repo, you will need to configure the proxy settings in your web browser and you are good to go.
For Firefox:
- Goto Options
- Type
proxy
in the search bar and click onSettings..
for theNetwork Proxy
tab - Select
Manual Proxy Configuration
and enterlocalhost
in HTTP Proxy and enter8080
for the Port. - Check
Use this proxy server for all protocols
For Chrome:
- Goto Settings
- Click on
Show advanced settings...
- Click on
Change proxy settings...
- On the Internet Properties window, click on the
LAN settings
button - In the LAN Settings, uncheck the box that says
Automatically detect settings.
And then, in the Proxy Server section, click the checkbox to enableUse a proxy server for your LAN...
- Enter
localhost
in HTTP Proxy and enter8080
for the Port. Click OK.
For Internet Explorer:
- Download Chrome or Firefox.
- Never use Internet Explorer again.
- Python 3.6
- Socket
Caching works fine for HTTPS but can not render HTTP pages properly.
- Fork it
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
Muhammad Ali Zia
This project is licensed under the MIT License.