Hacker News new | ask | show | jobs
by timvdalen 3300 days ago
I didn't realize you could do this on iOS. How does this work?
1 comments

Yeah, this is really tricky. Apple has released Network Extension API since iOS 9 which only exposes IP packets. What I did is to parse the IP packets and redirect them into different proxies. (Most tough part though only one sentence)
Interesting, do you think the APIs could be used for on device packet capture?

(I know how to set up a remote interface so I can grab the network traffic from a Mac already, interested in exploring alternatives)

You could ask a mod to add "Show HN" flair to the submission as you are the author of the program. It will be more sticky that way.
Thank for your suggestion. I'm new here. Who should I ask for?
dang and sctb, but your best bet for reaching out effectively is probably to email news@ycombinator.com.
Huh, interesting approach. Do you think Apple will allow this in the store? Did you have any trouble with the approval process?
It's already on the App Store so of course they must've allowed it.

There are several similar apps that do basically the same thing. The original one is called Surge, but it's super expensive. Potatso is one of the cheaper clones.

No problem. This is public API and Apple encourages developing custom proxy.
Is your app able to track data usage?
Noe yet. It should be able to. Thank you for your suggestion.
Would love to see that, like track by day/app/wifi/cellular, just more finer then the settings app is doing it :)