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

Earlier comments
wolpoli8 replies#
Slightly off topic: is there a way to tunnel internet over the phone system on a smartphone in the event that phone works but internet doesn't?
anamexis#
Love insightful StackExchange answers like that, thanks!
wolpoli1 reply#
Thanks for digging this up. It is quite a bit slower than I expected. At 2.4kbps, it might be enough for ssh.
sedatk#
Just don’t try to read a man page and you’re good to go :)
cpeterso1 reply#
It's built into iOS: https://support.apple.com/en-us/HT204023

  A Personal Hotspot lets you share the cellular data connection of your iPhone or iPad (Wi-Fi + Cellular) when you don't have access to a Wi-Fi network.
nazgulsenpai1 reply#
That still requires cellular data/internet and not just voice.
cpeterso#
Oops. I misunderstood “the phone system on a smartphone” to mean the smartphone’s cellular network, not using the smartphone as a modem connected to a landline.
Spooky231 reply#
You could use Slow Scan TV. There’s an iOS app to try it: https://apps.apple.com/us/app/sstv-slow-scan-tv/id387910013

Never did IP with it, but i worked with a team that jerry rigged this to transmit some telemetry from a remote location where external data access was cutoff for several weeks using portable radios.

Scoundreller1 reply#
I would love a youtube/vimeo/whatever video on this. And someone publishing regular SS pictures like news footage or something otherwise particularly relevant if I was somehow in the middle of nowhere with an HF radio and an iphone.
Spooky23#
It would be tough. More like a virtual flip book than a video!

In our case, we embedded some data in a QR code. It was one of the more fun little projects but only marginally practical.

Gasp0de#
We used to call that a 56k dialup modem and when we used it it wouldn't be long until our parents would scream up the stairs "Get off the internet, I'm expecting a call!"
peoplefromibiza#
TCP/IP over GSM
quickthrower2#
Call a mate and get them to browse on your behalf
qbasic_forever9 replies#
Termux is such an awesome hidden gem for tunneling cell data. My carrier doesn't allow wifi hotspot use on my phone (and android happily enforces their rules), but I can run sshd on termux and SOCKS5 proxy to my laptop with ssh. It's instant wifi tethering to my laptop without my carrier knowing or blocking it. I can even use adb networking and a USB cable if the laptop can't connect to the phone over wifi for some reason.
aleixrodriala1 reply#
Yh it's awesome this project could run on termux without having to modify much or even iodine https://github.com/yarrick/iodine which is another awesome tool to avoid network restrictions.
derwiki#
Wow, thanks for the iodine throwback! I distinctly remember using this on United flights in the early 2010s via my Slicehost server.
easrng1 reply#
omg another person who does this!
aleixrodriala1 reply#
Couldn't find any other library that actually worked with HTTPS traffic also, do you have any? Thanks :)
easrng1 reply#
Sorry, I don't quite understand what you're asking. Did you reply to the wrong person?

Continue this thread — 1 reply

NotPractical4 replies#
Kind of absurd that your OS (which is supposed to always be acting in your best interest) enforces these arbitrary carrier data limits -- it's objectively anti-user behavior and wouldn't exist if Android were truly FOSS (emphasis on "free").

This solution is great for permanently bootloader-locked phones (which is unfortunately, most phones).
Alternatively, if installing a custom OS is an option, most Android forks remove the tethering restrictions. I use and highly recommend GrapheneOS [1] if you have a supported phone (Pixels only as of now). DivestOS and LineageOS have much wider device support. ProtonAOSP and CalyxOS are other options for Pixels and a few others.
[1] https://github.com/GrapheneOS/os-issue-tracker/issues/70

doorman2#
The cell network is property of the carrier. It’s in the user’s best interest that they have access to the cell network, which means playing by the carrier’s rules. The user is free to pick a different cell carrier or find a work around.
judge20201 reply#
Tethering is mostly a relic of the late 2000's when 3G cellular networks were pretty sketchy; if enough people tethered back then it'd put a huge strain on the network for anyone on that tower. Nowadays the capacity is already planned out with tethering in mind (all tier A plans, eg. direct-from-carrier plans, have some amount of tethering), but it gets pretty murky when you consider people trying to tether on their MVNOs network at peak times/rush hour, really straining the capacity allocated to that MVNO, degrading the service for others.
Spooky232 replies#
Even with large accounts the carriers still impose limits on tethering. If you’re getting unlimited tethering, it’s probably actually a “pool” of data.”

Even there, there’s some differences as prioritization works differently when you are using pool resources.

Continue this thread — 2 replies

jimmySixDOF1 reply#
To be fair Android as in ASOP is truly FOSS but because all drivers are baked into the kernel for reasons better lost to the sands of time, Vendor/Carrier pairs can enforce what they like in their required custom builds. This is what Google's project Fushia was/is supposed to solve.
phonedog1 reply#
Not since Project Treble they're not.

The more pressing issue is that bootloader unlocking isn't as ubiquitous as one might like.

Continue this thread — 1 reply

jonas216 replies#
This isn't anti-user behavior. It's anti-asshole behavior. There are plenty of plans designed for tethering if you care to purchase them.

Tethering on a plan that doesn't allow it is like showing up at an all-you-can-eat buffet and leaving with a backpack full of food.

Grimburger7 replies#
You are paying for a mobile data connection, what does it matter how the bandwidth is consumed?

Continue this thread — 7 replies

WillDaSilva#
If your business model isn't compatible with the freedom of your customers, you should generally find a new business model, rather than working to reduce that freedom.

See also: modern intellectual "property" laws & enforcement, the businesses that push for it (typically large companies with a wealth of IP), the organizations that facilitate the control of information (governments, Microsoft, Google, Apple, Netflix, etc.), and the business models that depend on it.
There are cases where the benefits are worth a reduction in freedom, but this ain't it.

telchar2 replies#
I'd say it's more like showing up at an all-you-can-eat buffet and eating with a fork. It's not anything that one should be charged extra for. If the bandwidth is the issue, they can charge realistic prices for bandwidth.

Continue this thread — 2 replies

public_defender4 replies#
This analogy is no good. Plans have data limits. It is not an all-you-can-eat buffet. Tethering restrictions are an attempt to paywall features which the device can do without harming anyone else on the network.

A better analogy is a gas station which charges more for gas that goes into sports cars than gas that goes into minivans.

Continue this thread — 4 replies

causality02 replies#
No, it's like using my shower nozzle to fill up my bath tub because I didn't want to pay the water company an extra "soaking" fee.

Continue this thread — 2 replies

qbasic_forever#
I'm paying for 25G of data a month. How I want to use it should be entirely up to me.
0xfaded#
Thank You! I used to do this on my rooted phone back in the day. I've been trying to figure out how to run sshd again, but there seems to be a lot of dodgy stuff on the play store I was never comfortable running.

This is it!

graton#
The carriers will oftentimes use the TTL to determine if you are tethering or not. So if you adjust the default TTL to 65 on your tethered device it may work.
ViViDboarder#
This is what I did on my jailbroken iPhone 3G way back in the day when AT&T wanted to force you onto a special plan for tethering.

Continue this thread — 3 more replies

Continue this thread — 1 reply

netsharc#
Since WhatsApp sends binaries (images, documents like PDFs, probably Zip files as well), I wonder if this proxy also encodes the data as binaries. It recompresses JPEGs though, although there is an option to turn that off, and in any case the recompression probably happens client (sender) side.

Load more comments