156 points · by waffle_ss · 10y ago · 84 comments
Therefore Whatsapp simply said OK, let's just improve the users experience by giving them an immediate error informing them.
It seems as if WhatsApp is short circuiting this frustrating series of timeouts to improve a flaky seeming UX. That strategy does negatively effect people on the internet who register for WhatsApp with Saudi VoIP numbers when they're in France, but it is a much clearer UX for almost everyone who is actually a Saudi WhatsApp user or calling actual Saudi users. What the author is demanding is a worse UX for the same outcome.
It sounds like there might be room for improvement, but I have a feeling that if WhatsApp were recording their users' locations in order to provide a more advanced location-aware version of the same strategy, people would not be very happy about that.
They don't need to record your location. WhatsApp client can just query your IP address and silence the call-prohibiting UX if it finds out you're outside Saudi address space. This is an exceedingly obvious solution with no effect on user privacy.
In order to know when ZRTP will fail WhatsApp would need to maintain lists of address space where ISPs drop such packets. It would have to be done on the client side, but then clients can't easily discover their public address because NAT. The signaling server that sets up the call could check easily, but if the server decided when not to use encryption that would be a backdoor.
It's easier to just do it by country code, despite the drawbacks.
So I don't think saying "there's no way to tell" is entirely accurate
All you need to do is profile for relatively constant data transfer rates over the course of many minutes that exceed a very low minimum.
If Whatsapp uses a media proxy for calls then you could just trigger on connections made to these servers where these data transfers in question occur.
But even if they don't use a media proxy they'll the clients will connect to specific IP's for call signalling and that's when you'll also know that a call was attempted.
I'm neither defending Saudi Arabia nor Whatsapp, just wanted to let you know that there are very simple ways to detect calls. I'm sure that there are even better, much more advanced techniques that are currently in use by both oppressive (and likely our) governments.
I live in the UAE and it's exactly the same over here.
Write a bunch of different protocols and switch randomly - or use steganography - use machine learning to evade the block - buy a bunch of existing apps and hide the data in their protocols - put up a fake weak encryption, detect "dissident" talk, and in that case generate a long nonsense recording for the censors from the voices of the speakers, hiding the true message steganographically :-) - or basically anything they can come up with.
Or - Saudi Arabia is not such a big market - make a complete theatric fuss about it and complain about human rights and so on, close all FB and WhatsApp connections and burn all bridges, and milk it for publicity.
(Only being half serious here :-) but I would be really tempted to do something mischievous in their case rather than comply.)
Maybe it's just a use case they missed - but quite a significant one!
But seriously, deep packet inspection is evil now? It's an extremely useful security tool.
Yes, it might be useful for some folks - it's really bad for others. People have died because of oppressive regimes targeting dissidents that way.
The idea that anyone working on technology that could be used for surveillance is morally culpable is flat wrong.
People have died because of fertilizer and particle physics. It does not make chemical engineers or physicists evil.
Or moxie's, for that matter. He's been contacted by the Saudi government before and publicly turned down their offers to be complicit in their human rights violations. (He also wrote the encryption that WhatsApp uses.)
https://moxie.org/blog/saudi-surveillance/
More importantly, can anyone independently verify this? :)
The author's suggestion that it's impossible for SA to block VoIP without blocking messaging is incorrect.
We worked around it by installing Signal, but she needs a VPN to be able to access it since it's completely blocked in the UAE (as well as Oman).
We get around this by texting each other before hand on whatsapp with the keyword "vpn" and then talk to each other over Signal. Quite the hassle.
Ironic that Saudi is chairing there world's human rights office and denying an essential human right - right to private communication
In the PRC, censorship is an inextricable part of the deal.
Quite ironically, I wonder if the Saudis remember Moxie at all ...
An extensible solution would be to use URNs as usernames, with tel: (https://tools.ietf.org/html/rfc3966) — or maybe sms: (https://tools.ietf.org/html/rfc5724) — URNs, e.g. tel:+1-201-555-0123 or sms:+12015550123. Then anyone who wanted to could also register a client using mailto:jsmith@example.invalid.
Even better would be to use opaque user identifiers (maybe using their own URI scheme …), with all the above used to search for other users.
Combine that with a server-mediated privacy-preserving contact list search scheme, and you'd have a huge end-user benefit: persistent identities across multiple devices, freed of the tiedown to telephones. Heck, it might even form the nucleus of a smart PKI based on SPKI/SDSI, better than either the PGP Web of Trust or XPKI's lunatic trust-all-of-the-CAs-in-the-world-to-certify-everything-in-the-world model …