TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tunneling Wikipedia through WhatsApp to (maybe?) get around WiFi restrictions

369 pointsby otrasalmost 3 years ago

38 comments

kmarcalmost 3 years ago
Cool pet project, admirable engineering etc.<p>My comment is about something else: net neutrality, as someone already mentioned.<p>I was teaching English in Laos for school kids. I was amazed that some of their families struggle with providing (nutritious enough) food for their children, yet, everyone had smartphones with always-on 4G,even in the countryside - however, no WiFi almost anywhere.<p>The brains of these kids are like sponge. They WANT to learn, they&#x27;re shy, but they want to speak, to read, to practice English. They also like to (constantly) sing (something that is badly missing from western schools), so at one point I referred them to &quot;simple English Wikipedia&quot;, where they can research their favorite singers with easy-to-process articles.<p>Empty stares.<p>&quot;so instead of Wikipedia.org, you go to simple.wikipedia.org.&quot;<p>Still nothing.<p>I had to realize later that even if they knew that this free, always available encyclopedia exists, it&#x27;s NOT included in their 4G subscription.<p>Yes, you guessed correctly: those subscriptions are sponsored by big US &#x2F; Chinese corps, so all these kids had were Facebook, Instagram, WhatsApp and TikTok, everything else costs ~10$ which is days worth of meals for whole families there.
评论 #31466377 未加载
评论 #31465832 未加载
评论 #31466389 未加载
评论 #31468034 未加载
评论 #31465762 未加载
joshvmalmost 3 years ago
My experience with in-flight message-only WiFi is that they&#x27;re just really slow and the ping times are long. Some services are actively blocked, e.g. Skype wouldn&#x27;t work at all even for text messages, but browsing the internet is usually allowed. My VPN wouldn&#x27;t work, but I suspect it might have if I used an obfuscated connection instead of OpenVPN or whatever the default is (e.g. over SSL). I could load GMail in the browser and Wikipedia probably would have worked. It&#x27;s strongly website dependent. Hacker News is extraordinarily resilient to lousy connections and generally the index would always load without any trouble. It works even on a 3 second ping over satellite internet. Very few websites are that tolerant.<p>The flight crew (BA) knew what&#x27;s up. They specifically warned us to check which package we were getting, because evidently they get a lot of complaints when people buy the message-only bundle and are surprised that nothing works.<p>Singapore gave out free passes for single devices last time I flew with them. It was possible to rotate MAC addresses by forgetting the connection and then re-joining. The connection was quite good, you could watch YouTube in potato resolution. It&#x27;s quite fun to chat to people and send them photos out of the window.
评论 #31464579 未加载
评论 #31466861 未加载
评论 #31466464 未加载
评论 #31464689 未加载
mmh0000almost 3 years ago
Many years ago (2012) Delta inflight wifi would allow DNS queries out without paying. Being a very frequent flyer I used to run an ip-over-dns tunnel using Iodine[1]. It was slow but worked. I wonder if they’ve blocked that hole yet.<p>[1] <a href="https:&#x2F;&#x2F;code.kryo.se&#x2F;iodine&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.kryo.se&#x2F;iodine&#x2F;</a>
评论 #31464206 未加载
评论 #31465481 未加载
评论 #31465099 未加载
评论 #31468109 未加载
评论 #31467015 未加载
评论 #31464109 未加载
评论 #31468001 未加载
userbinatoralmost 3 years ago
I wonder if anyone has stated a general law along the lines of &quot;if you can send and receive a bit, you can send and receive anything.&quot;<p><i>The only issues ended up being that 1) WhatsApp messages are limited to 1600 characters</i><p>Concidentally, that&#x27;s not much bigger than the MTU of standard Ethernet. I don&#x27;t know how &quot;transparent&quot; the data channel is with respect to non-ASCII (and probably Unicode), but if you use one of the various binary-to-text encodings that exist, you could probably implement Ethernet over WhatsApp. ;-)
评论 #31464487 未加载
评论 #31463900 未加载
评论 #31464182 未加载
评论 #31464799 未加载
评论 #31464019 未加载
评论 #31464474 未加载
mgarciaisaiaalmost 3 years ago
The real, important value of implementing IP over WhatsApp (in a proper, transparent way as other commenters are stating, and not from a chatbot as in the article) is not to avoid paying $5 for WiFi on a plane, but to protest the lack of net neutrality in an effective way.
jamal-kumaralmost 3 years ago
I&#x27;ve tried this before, it&#x27;s a fucking nightmare lol it&#x27;s not full-duplex at all so this severely limits your ability to do things at a reasonable speed for most shit. For me it was because at the time Zuckerbutt was giving out &#x27;free&#x27; internet in the third world, but only for whatsapp, instagram, and facebook, so me and my friends wanted to see if this was exploitable, but it was just way too slow. It really gave me an impression of how fast TCP runs at normally which I took for granted before, and ideally bidirectionally fast.<p>For airport wifi I use a DNS tunnel or simple MAC rotation, for in-flight... well if they could make it quality someday maybe but every time I&#x27;ve shelled out like 50 bucks for an hour or whatever the ripoff deal is it doesn&#x27;t work well enough to do anything. I hear the DNS tunnel method does work on some of them though, I should try that someday.<p>As a side note those in-flight screens in the backs of seats are interesting in this &#x27;why the hell would they do this&#x27; kind of way. I managed to crash one when I noticed it had a USB port (bad idea on their part)... It was super easy, I tried to read the USB key but then just removed it when it was accessing the thing and the whole thing just went down. Apparently it was running x-windows on some type of *nix because I could see that default background with an X for the cursor. They should really get rid of those because I&#x27;m sure that they could be misused for nefarious ends.
评论 #31465100 未加载
评论 #31465429 未加载
1vuio0pswjnm7almost 3 years ago
Of all the possible websites to choose as an example, Wikipedia is a strange choice since, unlike most websites, one can download its database and query it offline. For example,<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Wikipedia:Database_download" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Wikipedia:Database_download</a><p><a href="https:&#x2F;&#x2F;download.kiwix.org&#x2F;zim&#x2F;" rel="nofollow">https:&#x2F;&#x2F;download.kiwix.org&#x2F;zim&#x2F;</a><p>Some other ways to search and read Wikipedia offline:<p><pre><code> XOWA: (S: XOWA) WikiTaxi: S: WikiTaxi (for Windows) aarddict: S: Aard Dictionary BzReader: S: BzReader and MzReader (for Windows) Selected Wikipedia articles as a printed document: Help:Printing Wiki as E-Book: S: E-book WikiFilter: S: WikiFilter Wikipedia on rockbox: S: Wikiviewer for Rockbox</code></pre>
评论 #31467397 未加载
punnerudalmost 3 years ago
“WhatsApp messages are limited to 1600 characters” If that is UTF32 we have 51200 bytes or 50kB per message.<p>“the basic free accounts I was using rate-limit to ~1QPS” That is 400kbit&#x2F;s. Can we have multiple accounts? 40 accounts would give us a theoretical maximum speed of 16Mbit&#x2F;. Would probably closer to 10Mbit&#x2F;s in real life, enough to watch movies.<p>Example library for sending&#x2F;receiving WhatsApp text: <a href="https:&#x2F;&#x2F;github.com&#x2F;open-wa&#x2F;wa-automate-python" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;open-wa&#x2F;wa-automate-python</a>
Nextgridalmost 3 years ago
Almost a decade ago a French mobile carrier had their entire domain and subdomains zero-rated - one of the subdomains had a phpBB forum - someone created a little script to tunnel full layer 3 communication over the forum’s private messaging functionality. I’d imagine it would slaughter the DB if you tried to pass any significant traffic though it but as a demonstration it was cool and worked fine.
rschachtealmost 3 years ago
One thing that would be interesting is scanning for open ports. Once you find an open port, make a Twilio API and text the number (Since most airlines enable texting via SMS&#x2F;Whats APP) that triggers opening the port on your VPS that is opened on the airplane.<p>Once you do that, you can tunnel into your VPS through the airlines open port or SSH into the machine. If you create a SOCKS5 proxy, then all traffic in your browser will tunnel through the VPS.<p>Haven&#x27;t tried this, but just a thought.
评论 #31464702 未加载
评论 #31465094 未加载
jonathantf2almost 3 years ago
The last time I was on an flight that had WiFi (AA about 5 years ago) I tried 2 ways to get around the captive portal, both successful:<p>1. Setting my useragent to iOS Safari and trying to download the Gogo Player app to watch one of the free films. If you have Android this just serves the APK but on iOS it just has to dump you to the App Store. This seemed to give me a good half hour of connectivity.<p>2. I went on the live chat and asked for a free connection. The agent gave it to me.
xeromalalmost 3 years ago
This reminds me of back in the day when internet cost on mobile phones. An og &quot;hacker&quot; could text a website to some number he had set up and it would MMS him back a picture of the website. Worked in a pinch. This was in 2005-2008ish. I can&#x27;t remember who did it though. So many years ago.
MauranKilomalmost 3 years ago
Wait, is this filtering based on IP or DNS? How do they make sure their whitelist remains up to date? (I assume it&#x27;s HTTPS, so those are basically the only two options...)<p>If it&#x27;s DNS based, there should be simpler workarounds, so I guess it&#x27;s just IP based?
评论 #31464086 未加载
评论 #31464788 未加载
评论 #31464041 未加载
5-almost 3 years ago
nice! next up: encapsulate ip to provide full networking (with terrible latency)<p>also just in case someone is wondering, a more ergonomic solution specifically for reading wikipedia on a plane is <a href="https:&#x2F;&#x2F;kiwix.org" rel="nofollow">https:&#x2F;&#x2F;kiwix.org</a>
Gtex555almost 3 years ago
I actually had a very similar idea but the twist is in Africa we don&#x27;t have access to affordable internet for the average student but we have greatest discounted bundles for social media apps like whatsApp, instagram and facebook. I wanted to use whatsApp to send a screenshot of googles first result page for a given query.
quelltextalmost 3 years ago
This is basically a chat bot interface.<p>Google used to have a way to ask for searches via SMS a while ago: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=J937N9m-XtE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=J937N9m-XtE</a><p>But &quot;tunneling&quot; to me implies some transparent layer allowing you to browse Wikipedia via the same way of interaction.
Egrodoalmost 3 years ago
I think about creating this project every time I&#x27;m on a Delta flight, great to see someone actually did it.
can16358palmost 3 years ago
Would this be extended to tunnel an SSH session over WhatsApp?<p>While obviously not super convenient, it&#x27;d be interesting to type commands and get results.<p>Of course any interactive terminal wouldn&#x27;t work, but for simple commands, executing scripts and seeing logs etc. this should work.
Drblessingalmost 3 years ago
Had this exact same idea on my last flight! If Telegram is an approved messenger you could also create a pretty unrestricted bot there too. Very cool.
评论 #31465092 未加载
turdnagelalmost 3 years ago
For some reason I just eat these kinds of projects up. As a kid I went on a cruise with my parents with very limited internet access and discovered HTTP-over-DNS (using TXT records), which remains my favorite captive portal workaround.
Group_Balmost 3 years ago
These are my favorite kind of projects.
Shadonototraalmost 3 years ago
here an idea:<p>take a screenshot of the website and send it back as a compressed base64 text or what ever will produce smallest result<p>then decode that image from the text on your phone
评论 #31468015 未加载
Abishek_Muthianalmost 3 years ago
If anyone&#x27;s looking to reproduce this but in a no-code way then I have a setup to send and receive WhatsApp messages via email[1] using android VM and tasker which could be modified&#x2F;extended for retrieving other data.<p>But OP method has lesser moving parts and more easily reproducible if coding is not the barrier.<p>[1] <a href="https:&#x2F;&#x2F;abishekmuthian.com&#x2F;send-and-receive-whatsapp-messages-through-email&#x2F;" rel="nofollow">https:&#x2F;&#x2F;abishekmuthian.com&#x2F;send-and-receive-whatsapp-message...</a>
aledalgrandealmost 3 years ago
On a recent flight I bought a &quot;streaming&quot; package, was either the most expensive or second most. Could barely navigate to web pages.
hegzploitalmost 3 years ago
Would it be possible to spoof the host and get free internet, that&#x27;s something I&#x27;ve always thought about when facing such limits.
评论 #31464023 未加载
kgeistalmost 3 years ago
My first thought was to abuse the Web client. Run a server somewhere which hooks into JS in headless Chrome, parses commands and sends messages (requires a dummy user). The client could be based on the Web client, too. But I&#x27;m not sure if it&#x27;s feasible and it&#x27;s probably against the Terms of Use.
diebeforei485almost 3 years ago
Telegram has a lot of bots that do essentially this. But because WhatsApp is owned by Facebook, they have more business deals so you zero-rating in these situations.
smashahalmost 3 years ago
You&#x27;d be surprised what kind of automations people build on top of WhatsApp. Also, you can use free alternatives to the Twilio API to do more than just text-based automation.
dTalalmost 3 years ago
How is it technically possible for Delta to limit WhatsApp to &quot;text and emojis&quot;? Is media not end-to-end encrypted?
DeathArrowalmost 3 years ago
I fail to see the practicality of this. Since the reason presented was not to pay for WiFi but you still have to pay a service like Twillio if you want to construct a Whatsapp to whatever gateway.<p>Also, why not construct a Whatsapp to HTTP gateway, since pictures and other binary data can be transformed with ease into text by something like base64 encoding. Sure, it would still not be practical, but it would be a better proof of concept.
timetraveller26almost 3 years ago
In a good world we would have free wikipedia access anywhere, no cost.<p>Then we could learn anything we needed.<p><a href="https:&#x2F;&#x2F;xkcd.com&#x2F;548&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;548&#x2F;</a>
评论 #31464797 未加载
评论 #31464956 未加载
anthkalmost 3 years ago
Iodine+Mosh against a VPS&#x2F;Unix Tilde=huge array of text based services.<p>IM, Mail, Text web, ebook reading...
c_o_n_v_e_xalmost 3 years ago
Cool project.. reminds me of all the phreaking websites I used to read as a teen.
antmanalmost 3 years ago
Looks like a generalizable solution. Is there an option to also embed images?
umvialmost 3 years ago
Cool project, but to me this feels like the &quot;how to make a meal out of free condiments at restaurants&quot; life hacks.<p>In my opinion, just pay for the service. Satellite internet systems are not cheap to stand up or operate.
hamiltoniansalmost 3 years ago
cool hack
anon4da8e87falmost 3 years ago
nice project, I&#x27;ve did something like this too, except I tunneled the internet traffic through SMS, so I could access the internet through my feature phone lol
7402almost 3 years ago
Sure, it&#x27;s always interesting to investigate vulnerabilities and design deficiencies, and it can be beneficial especially when the goal is improving security for everyone.<p>But it&#x27;s hard for me to celebrate someone whose motivation seems to be that they are simply too cheap to pay for something that other, more honest, people are willing to pay for. In this case, it probably doesn&#x27;t affect anyone else if the author only downloads a few articles, but in general, if internet bandwidth on an airplane is a limited resource, then using large amounts up in this way to the detriment of others would just be stealing.
评论 #31468640 未加载