9 ms·
This is basically a MITM proxy, which I'd say is really essential for true adblocking and content filtering, especially on the locked-down mobile platforms and
by userbinator 7y ago
This is basically a MITM proxy, which I'd say is really essential for true adblocking and content filtering, especially on the locked-down mobile platforms and with the rise of HTTPS. The question is then who runs the proxy and whether you trust them.
I've been doing the same with Proxomitron for years, although in that case I run the proxy, I certainly trust myself, and --- I'm not sure about whether these apps even have such a feature --- I can modify how/what it filters/blocks at any time.
- saagarjha 7y agoIt should be entirely possible to run the MITM proxy completely on-device, in which case you don't need to trust anything.
- judge2020 7y agoThis is generally possible (With how Wireguard-based VPNs currently work) but Apple would much rather you use the Safari content blocker API for defining rules.
- 3fe9a03ccd14ca5 7y agoI can never trust anything downloaded from the App Store to MITM my traffic, so I’ll take the safari content blocker.
- cortesoft 7y agoHow do you block the app from phoning home with the data? You have to trust it not to do that.
- saagarjha 7y agoYou sandbox the VPN extension.
- hug 7y agoSandbox it from what, exactly? The ability to access things you care about and arbitrary internet addresses are intrinsic to a proxy. If you stop it being able to see your traffic, it stops working. If you stop it being able to get to the Internet, it stops working.
- saagarjha 7y agoYou load a list of rules into it, and the only thing it is allowed to do is make a classification of where the URL should go (if you're paranoid, make this classification strictly binary). It cannot write any state out, nor connect to the internet itself.
- Dylan16807 7y agoWhat you are describing is not a VPN extension, and it's not a MitM proxy.
- saagarjha 7y agoIt's a solution for content filtering.
- BubRoss 7y agoA VPN is for hiding your IP address, not filtering. Whatever goes through the VPN, the VPN controller sees.
- saagarjha 7y agoOn iOS, general content filtering needs to go through a VPN extension.
- Dylan16807 7y agoIt's a solution for some situations, but not the one userbinator was talking about. The problem here is needing to trust the filter program. Moving code into a sandbox doesn't help, because you still need an app outside the sandbox to make it actually filter, and the problem is not being able to trust an app.
- 3xblah 7y agoI use two devices. The first runs a kernel+userland I can edit and acts as the gateway/AP and DNS server for the second, which runs some commercially-motivated, "locked-down" consumer OS.
- sneak 7y agoWhat hardware are you using for the gateway/AP? What's the backhaul, a USB LTE modem? Do you carry it in a handbag with a USB battery pack? I've been thinking about doing this and scrapping all but one of my data plans, and having a robust default-deny whitelist of allowed IPs/netblocks/hostnames on the phone vlan/ssid, but haven't worked out all the details yet. How are you doing it?
- 3xblah 7y agoThe gateway is a small form-factor computer with a rechargeable battery, e.g., a netbook or laptop. The AP is a SBC that the preferred kernel, e.g., NetBSD, OpenBSD, Linux, etc., supports. The AP draws power from the gateway's battery via USB. Regarding LTE modems, I do not use a data plan on "locked-down" mobile devices for personal use. Somehow I have been able to survive on WiFi alone.
- sneak 7y agoSo you carry around a laptop powered on all day when you are out? What about battery life? I’m looking at something like a raspberry pi zero, using the built in wifi to serve as an AP, powered from a large-ish USB battery pack, something that could run 18h+, with a USB LTE modem. Ideally I could get it small enough to strap to an ankle or something so I don’t need to bring a bag.
- deleted 7y ago[deleted]
- khc 7y agoYou still need to trust the on device proxy
- Chris2048 7y agoIt's funny though; I know and love Proxomitron, but the source code is lost to time, no? doesn't that make it an unknown risk?
- userbinator 7y agoIt's from an era when software was largely not ad-supported nor infused with "telemetry", and written by one person who never "sold out" (and sadly passed away long ago), so I trust it far more than all the shady "privacy" services today. It's been around long enough that many others have reverse-engineered and analysed it substantially, understanding it enough to make patches to improve and fix, as well as near-equivalents. Look up "Proxydomo" if you want to go down that rabbit hole...