Thanks Matt for your reply. I got the looping issue resolved.
No problem. Glad that worked out for you.
Is it a must to implement transparent proxy provider as a system extension inside an app?
With this approach, we are observing 2 popups , one popup for system extension, one popup while adding VPN configuration (for monitoring network). The other issue is user can see the transparent proxy in the Network Preferences, which is weird.
Yes. The container app is used as a mechanism to install the Network System Extension and to display to the user with these popups what is happening during this process.
Can we avoid above popups and proxy inside network preferences?
For a Transparent Proxy Provider, auto-allowing the Network Configuration prompt is not possible. This would be an
enhancement request. To auto-allow the System Extension pop-up you would need to use
MDM here.Before trying anything, I would like a guidance whether trying that approach worth or not.
We are thinking to try implementing transparent proxy provider inside a launchdaemon?
A few issues off the top of my head: your Transparent Proxy Provider will need a container app for System Extension to be installed. The container app and Network System Extension for your
NETransparentProxyProvider will also need a Sandbox and the App Sandbox just wasn’t designed for daemons.
Having said that your Network System Extension could communicate with a System Daemon, just not installed and run from one.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com