I am new to iOS development and boldly decided to work on a project using the Network Extension with the goals of intercepting all incoming packets (not exclusive to my app), creating temporary copies, passing through the original unmodified packet, and then processing the copy.
I currently have a Packet Tunnel that intercepts all IPv4 packets, but I do not know how to route them. The goal is to keep everything on the device for privacy concerns.
So I have a few questions in mind:
Is a packet tunnel necessary? I am reading into the Content Filter, but I am unsure if I can use it due to Apple's own apps possibly bypassing it.
Is it possible to route packets collected from the tunnel? I thought about using NE Relays, but to my knowledge I cannot use the packets I obtained to do this.
Are there any references to existing implementations I can look through?
Are there any other unforeseen issues I might encounter while developing this?
I can provide more information about the project I am working on if necessary. Any advice, references or sample code will be appreciated.
Thanks in advance!
Selecting any option will automatically load the page