by united893 · 10y ago · 0 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.
On iOS, you would get an error saying "Call couldn't connect. X's mobile carrier or WiFi doesn't support WhatsApp calls".
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.
Signal does use ZRTP. It just doesn't use SIP. ZRTP is currently the best choice for voice.
So I don't think saying "there's no way to tell" is entirely accurate
No one that worked there wanted to do it, but refusing to do so would be reason to have them dismissed from their jobs.
Many employees are expats; leaving their jobs would mean a loss of their residence and thus deportation.
Such is life in a police state.
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.
Once you have that you can block media transfer, or if the clients use peer to peer media transfer at least block the call signalling.
After this it is only a matter of keeping the list of IP's updated which you could easily do by ongoing logging of bandwidth used.
Bandwidth usage pops up in your logs that somehow resembles the profile of a call - investigate by doing a simple test and then block the IP.
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!