Lurker News
Side project tunneling a TCP port through WhatsApp, can be useful on airplanes or any WiFi/carrier that has unlimited social network data limits. Appreciate feedback :)

Comments (123) 17 threads

Show all comments

Showing thread 4 of 17

Dylan168071 reply#
Fun, but when the comparison is unlimited WhatsApp versus "not many gigabytes" of other data, my first question is what speed this goes. How long does it take to transfer a gigabyte over WhatsApp?
aleixrodriala3 replies#
Depends on the throttle you add and then risking to get your WhatsApp account banned, but can be used to surf when you have no data or use other apps which can be useful, not intended for large files downloading or video streaming although got like 300kbps which wasn't too bad
yellow_lead1 reply#
Nice, seems useful for airplanes.
aziaziazi1 reply#
Did you click the link ? Planes are mentioned at the second sentence.

Continue this thread — 1 reply

Matt3o12_1 reply#
Have you tried different throttles? Did you get any whatsapp account(s) banned at higher speed?
aleixrodriala2 replies#
Yes, used different messages max sizes, with 2000 characters got the best speed but got the account banned, using 20000 is a great middle term and not banned for now, could get banned anyway, its an educational project
cyclotron3k1 reply#
Could you try encoding data as images for better bandwidth (and probably worse latency)?
allanrbo1 reply#
Images are often blocked on the free WhatsApp on airplanes
cyclotron3k3 replies#
I wonder how that's implemented if all the traffic is encrypted. Presumably images are sent via a different domain or IP address?
blowski1 reply#
Message size, perhaps.
ISL1 reply#
And volume.
codetrotter2 replies#
I was on a boat recently where WhatsApp was free to use, and you had to pay to use the rest of the internet. You could send and receive messages but attempting to send an image, which wasn’t even all that big in size, did not work on the free connection.

It must be either message size, or WhatsApp using a separate host name for attachments.

zorr#
I would not be surprised if the free WA messaging is implemented by whitelisting the signaling ports and domains (XMPP or similar) which only handle text content and small inline attachments. While larger images are uploaded and fetched out of band (HTTP or similar) with only a URL or reference passing over the signaling channel.
Thlom#
They probably use some deep packet inspection on shore side firewall which blocks audio/video. Quite normal on congested satellite connections. Most “next-generation” firewall providers have predefined signatures for WhatsApp file transfer.
projektfu#
During the Facebook outage of a few years ago, WhatsApp messages still worked but I couldn't send an image. I think images are uploaded to Facebook-related servers and messages are through a separate real-time infrastructure, and it's likely that the message includes the fuzzy thumbnail and a url for the image from the other server.
tambourine_man#
Perhaps the client knows it’s on a free internet tire and blocks anything other than text.

Much easier to implement than encrypted package inspection.

Thorrez2 replies#
Using less characters got you banned? I don't understand why that would happen. I would think using more characters would be more likely to get you banned since it's less like what normal users do.

Continue this thread — 2 replies

gnfargbl1 reply#
It looks like you're using base64 encoding. If WhatsApp allows an extended alphabet then you might be able to switch to base85 for a slight performance bump.
kevincox5 replies#
Since WhatsApp is end-to-end encrypted you can probably just send bibary data. Stick a prefix on it so that the real client is guaranteed to ignore it as corrupted.

I think the only risk is that if you have a real client running it reports the invalid messages and WhatsApp uses this as a signal to van your account.

Continue this thread — 5 replies