Hi everybody, finally I found a way to make Privoxy filter/block HTTPS request using ProxHTTPSProxy from Proxomitron forum: http://prxbx.com/forums/showthread.php?tid=1618&page=15 . But I packed ProxHTTPSProxy.py with Python version that I've removed some unused component to reduce its file size.
Credits:
Here is my step by step and download link:
First download ProxHTTPSProxy from this link: https://www.dropbox.com/s/z43qciz8svak1py/PrivHTTPSProxy.rar?dl=0
If you are using Privoxy originally download from Privoxy.org then add those filter to your user.filter:
CLIENT-HEADER-TAGGER: tagger4https
s@Tagged: Proxomitron FrontProxy@$0@i
And add those filter to user.action:
{+client-header-tagger{tagger4https}}
/
{+forward-override{forward 127.0.0.1:8081}}
TAG:.*?Proxomitron
Extract PrivHTTPSProxy.rar and then Import CA.crt to your browser (Firefox, IE, Opera, Chrome...), remember that if you are using Firefox like me you must tick all three "Trust this CA.." before you click "OK" because if not you cannot load any HTTPS site. This may apply to other browser too but I only use Firefox.
Change proxy setting of your browser HTTPS Proxy to 127.0.0.1 port 8079 and you are done, just start ProxHTTPSProxy.exe and happy surfing HTTPS sites. Your Privoxy now can filter HTTPS website, check it yourself!
Here is step by step using picture: http://imgur.com/5t7yscG,JN9z63H,JtuwYMx,XNtA8z5,ePLqWex
Thank Privoxy's author for making a very useful and fast ad filtering software, now you can focus to other feature because HTTPS filtering ability is posible with ProxHTTPSProxy.
Pastebin tutorial (edit if needed): http://pastebin.com/kXD1Dfp1
Just a small note, a better way to redirect https to http, here is my filter: http://pastebin.com/WaWZDJW9
Example with Youtube HTTPS to HTTP.
Sorry, I do not understand the purpose of this additional filter. Pls, can you explain it?
Thx...
:D Very thanks Cattleya
I just want to share a thread that extend Privoxy power to maximum: http://vn-sharing.net/forum/showthread.php?t=2045
English translated version through Google Translate: http://translate.google.com/translate?sl=vi&tl=en&u=http%3A%2F%2Fvn-sharing.net%2Fforum%2Fshowthread.php%3Ft%3D2045
Anybody got it working under Linux?
It will work if you setup Python the right way, just install urllib3, colorama and pyOpenSSL though pip install
You should install urllib3 1.9.1 only because new version will have problem with headers so ProxHTTPSProxy will fail to load https sites.
pip install urllib3==1.9.1
pip install colorama
pip install pyOpenSSL
and Setup tagger like my #1
Import cert to your browser the right way
And take my package above, run ProxHTTPSProxy.py
Thanks to Cattleya and GunGunGun's posts, I managed to configure ProxHTTPSProxy on OS X. I confirm it works well. Below is a summary of the steps. OS X users, think about installing Homebrew first, but make sure you do the following steps after installing Homebrew…
sudo chown -R whoami /usr/local(if necessary, replacewhoamiby its content…)brew doctorbrew updatePreparing for ProxHTTPSProxy:
brew install python3 --with-brewed-opensslpip3 install coloramapip3 install urllib3==1.9.1pip3 install pyOpenSSLAdd ProxHTTPSProxy's “CA.crt” to the Client's store of trusted certificate authorities.
Set HTTPS Proxy to
127.0.0.1:8079instead of127.0.0.1:8118Add these lines to
user.filterfile:CLIENT-HEADER-TAGGER: tagger4httpss@Tagged: Proxomitron FrontProxy@$0@iAdd these lines to
user.actionfile:{+client-header-tagger{tagger4https}}/{+forward-override{forward 127.0.0.1:8081}}TAG:.*?ProxomitronLaunch ProxHTTPSProxy:
python3.4 ProxHTTPSProxy.pyUpdating to the latest version of ProxHTTPSProxy: ProxHTTPSProxyMII v1.3a
First, obtain both archive: ProxHTTPSProxyMII_py 1.3.zip (www.prxbx.com) and ProxHTTPSProxyMII_py 1.3a.zip (www.prxbx.com)
Copy the content of
ProxHTTPSProxyMII_py 1.3afolder over its corresponding—existing—Python scripts inProxHTTPSProxyMII_py 1.3folder.Uninstall previous version of
urllib3:pip3 uninstall urllib3Install
urllib3/1.10.2:pip3 install urllib3==1.10.2Replace previous
s@Tagged: Proxomitron FrontProxy@$0@i(cf.user.filter) by new one:s@^.*Tagged:.*ProxHTTPSProxyMII.*FrontProxy.*@$0@iReplace previous
TAG:.*?Proxomitron(cf.user.action) by new one:TAG:.*?ProxHTTPSProxyMIIYou're done!
A brand-new Privoxy forum can be found at PrxBx
I'm one of the contributor under pseudo Faxopita. I will continue to add new topics around Privoxy. On this forum, I will share and invite others to share their configurations. This forum can be a much much greater way to advertise Privoxy and possibly drive (more) funding—hopefully—to the Privoxy developers.
If you're reading this and are a skilful Privoxy users, please contribute and share your experience as well. Make this forum big and contribute to making Privoxy more prominent.
Thanks for all your great and potential support.
Korda, Faxopita
Hi Faxopita, I'm cattleyavns in Prxbx forum.
I'm supporting Privoxy in a forum of my country, at that place I share already a huge number of filter
And I would like to share my filter in Prxbx forum in the future because I love Privoxy and want to help user understanding how to use Privoxy.
If you have an email, please consider adding my email so we can keep contacting: cattleyavns gmail dot com (because spam bot will collect email and keep spamming so I have to protect my email)
Cattleya