It's me :)Thireus' Website
linkedin | CV | PGP key | about | search | register | --:--:--
Take the blue pill!
User:  Pass: 
PAC + SSH tunneling + iPhone = Success ^^ PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Thireus   
Saturday, 20 March 2010 20:24

Finally my iPhone can use a local Socks Proxy + Firewall that uses an ssh tunnel between it and my server.

As everything is directly redirected to the tunnel, any iPhone ad-blocker/firewall does not work anymore, such as FirewallIP or Adbl0ck. So I have created a PAC* file that filters most of the iPhone ads (all ads from TapTap Revenge 3 for example and for the other apps I'm using), there's no more ads in my apps and when I'm surfing with Safari, so I'm quite happy.

Ads form Taptap blocked:

http://thireus.dareyourmind.net/Taptap_no_ads.PNG

Admob blocked:

http://thireus.dareyourmind.net/SB_settings_no_ads.PNG

 

What's great with this system, is that if I don't want to use the tunnel over 3G, my basic PAC firewall is still working (because the firewall is set locally), and ads are even more filtered (because my ad-killer apps are now working)!

But... Now I want to do something better... You probably have noticed the blue "[?]" icon for SBSettings. I just want to filter from the server any ads directly from the source. I mean, deleting every blocks that contain an ad, so what I'll receive on my iPhone is a clean HTML source without any ad blocks.

This can be done with Privoxy or Polipo, using the best ad-list killer ever --> easylist (Use Easylist with a proxy like Polipo, bfilter or Privoxy?). These tools also provide some optimisations for you such as cached data.

So... Privoxy + PAC + SSH tunneling + iPhone = ad killer + network booster + security ?

We'll see that next time Smile

* Example of PAC Firewall: http://www.securemecca.com/pac.html

PS: I'm not gonna post my personal PAC file right now, nor my scripts that automatically connect you to my server. But soon Wink


Only registered users can write comments!
Comments

Last Updated on Friday, 02 April 2010 18:16