Proxy all HTTPS website through lantern
Iranian authorities like to attack people via MITM and for example in the last 2 weeks ago they replace the new one gmail's ssl with old one for some ISP in Iran. if we can add option in the Lantern setting and when user check that option all website with https load through the lantern, it's going to perfect.
Interesting idea, especially if Lantern also did its own certificate pinning like Google Chrome does. Would require #1201 (ditching PAC files). Also, a bit at odds with Lantern's proxied sites list rationale, just like "proxy all traffic" is (why not just add those specific sites to your proxied sites list?). According to EFF we're moving closer to an all-HTTPS web, at which point this reduces to "proxy all traffic", resulting in slower access for sites that don't need proxying, and less cover traffic for sites that do.
In the meantime, users in Iran should be using Chrome or another browser that implements certificate pinning. According to https://wiki.mozilla.org/Security/Features/CA_pinning_functionality Firefox still doesn't yet unfortunately.
The problem of proxy all traffic is some websites like ( Bank,government,news agency...) in Iran even they are using ssl you can't access to those website from outside Iran. actually they created a Intranet inside Iran and because of that I think maybe we have a problem about that.
I think there was a misunderstanding. I was proposing continuing to just use the proxied sites list instead of proxy all (or just HTTPS) traffic.
Aaah, ok. sorry now i got it.
If the reason to do this was to defeat MITM attacks, I'm going to close this for now in preference to just using the proxied sites list as well as a browser that implements certificate pinning like Chrome. We can reopen if there are other reasons to do this though.