Tuesday, February 4, 2014

Solving the wifi login annoyance (part one)

So many places in Asia force you to log into their wifi with a captive portal, including my apartment and work location. This is such an annoyance, especially since I am limited to one device at each location (Why can't both my phone and my computer have wifi?).

I found an app to log into wifi automatically, Wifi Web Login. Occasionally it refuses to work until updated, and I have to log in manually, but in general it works well. This solves the problem for the Android tablet, but I'm still looking for solutions for my Mac and iPhone.

iPhone email doesn't respect proxy settings- a security feature?

I found out today that the iPhone email client doesn't respect proxy settings (and thus doesn't connect at my home). There are some notes about this elsewhere on the internet. I didn't take any time to look into it, but after thinking about it for a while, I've concluded it must be a security feature.

Since the iPhone doesn't have an interface for configuring proxy servers (but DOES support them through PAC files), I figured that the built in apps would at least respect the proxy settings. After all, isn't this a necessary enterprise feature?

What if somebody maliciously installed a proxy on your phone? After all, it's not that hard. They could pretty easily observe your traffic, and what protocols still (in 2014) often send sensitive information unencrypted? POP, IMAP and SMTP. While any half competent organization should be using encrypted connections for the mail servers, many still don't. I figure Apple knows this, and intentionally doesn't allow Mail to work over proxies.

But what about encrypted connections? What if the proxy server maliciously sends the phone it's SSL/TLS keys rather than the mail server? It should be able to do a man-in-the-middle attack and observe your information, right? Do the encrypted mail protocols validate that the server is who it says it is, or do they only encrypt communications with it?