Lurker News
I'm writing this to report the serious troubles we have regarding accessing Internet in Iran at the moment. Since Thursday Iranian government has shutted down the https protocol which has caused almost all google services (gmail, and google.com itself) to become inaccessible. Almost all websites that reply on Google APIs (like wolfram alpha) won't work. Accessing to any website that replies on https (just imaging how many websites use this protocol, from Arch Wiki to bank websites). Also accessing many proxies is also impossible. There are almost no official reports on this and with many websites and my email accounts restricted I can just confirm this based on my own and friends experience. I have just found one report here:

http://kabirnews.com/iran-shut-down-gmail-google-yahoo-and-sites-using-https-protocol/202/
The reason for this horrible shutdown is that the Iranian regime celebrates 1979 Islamic revolution tomorrow.
I just wanted to let you guys know about this. If you have any solution regarding bypassing this restriction please help!

Comments (146) 39 threads

Show all comments

Showing thread 27 of 39

rd1084 replies#
Does anyone know how they "shut down https"?
gsa1 reply#
Probably means port 443 is blocked.
Wilya#
I guess they block all SSL connections, or all least all those targetting unknown (non governement-approved) hosts.
emilsedgh5 replies#
They drop all encrypted connections. This means no https, no IMAP over TLS and no SSH connections. (Im in Iran)
haakon1 reply#
Is it just by port, or do they detect SSL traffic at any port, and then block it?
emilsedgh#
They have packet inspection and detect encrypted traffic on any port.
Simon_M#
Is their filtering on a per TCP port basis? Or more advanced packet inspection?
Jach2 replies#
How do they distinguish an encrypted connection from a non-encrypted connection? How do they know those indecipherable bits are an encrypted message vs. a part of an image or video? I suspect they just block domains and IPs and common ports or they sniff for common handshakes and key exchanges and kill those.
rplnt#
Headers are encrypted too. Easy to decide I guess.
emilsedgh#
It works at different levels. First, they try to drop the connection during handshake (which is NOT encrypted yet). This works effectively. SSH has been taken down using this technique for a few months.

They also shape the bandwidth of encrypted connections. My guess is that they use something like L7 to guess the type-of-connection using different patterns.

rplnt3 replies#
So where would one find SSL over http implementation? You know, you send your usual POST to a proxy, only the body would be an actual request. Whole handshake could probably be done like this. Not even the proxy would (wouldn't have to) know the content. Encrypted body could be translated to valid XML for extra effect.
Jach1 reply#
I was just googling this and it looks like http://www.nocrew.org/software/httptunnel.html could handle that use case. (Another interesting idea I saw was to steg the data in cat pictures sent normally. I'm not sure if cat pictures are as big in Iran as in the US though such that even user-level analysis wouldn't be too suspicious if there's a ton of cats.)

Continue this thread — 1 reply

emilsedgh#
I personally use ProxyTunnel which does the same for SSH. There are other ways for bypassing their filter, but nothing that would work for everyone.
caf#
So it sounds like you need a tool that adds low-entropy content to encrypted traffic to make it appear as if it's unencrypted?

What unencrypted protocols are allowed / common?