Re:How can phone companies detect tethering?
by adammenges on Wednesday July 17, 2019 @02:54PM
(#20462832)
Where’s the python code you’re running?
[ Parent
| on HN ]
Re:How can phone companies detect tethering?
by nneonneo on Wednesday July 17, 2019 @03:43PM
(#20463238)
I didn't upload it anywhere because it's _shamefully_ hacked up - it's a quick bodge-job on top of some existing Python SOCKS proxy, where I added PAC support so my iPad can also use the hotspot (since you need PAC to convince iOS to use a SOCKS proxy).
But, hey, if you want to see some random person's SOCKS code bodged up with some extra hacky bits from me, here you go: https://gist.github.com/nneonneo/fc770965944a4640e2aef34e0f8...
If you want to use PAC, set the "automatic proxy URL" to http://172.20.10.1/wpad.dat when using this as a tethering proxy (yes, iOS lets you bind port 80 without root - your app just needs to be running).