Multiple providers within same network extension

Is this kind of setup supported in macOS?
Code Block
<key>NEProviderClasses</key>
<dict>
<key>com.apple.networkextension.dns-proxy</key>
<string>DNSProxyProvider</string>
<key>com.apple.networkextension.app-proxy</key>
<string>TrProxyProvider</string>
</dict>


I'd like to have one extension that handles both providers - NEDNSProxy and NETransparentProxy, but request to activate it always fails
Code Block
2021-03-05 08:54:41.881438-0800 ZCC SysExt[2171:37682] [] -[AppDelegate request:didFailWithError:] <OSSystemExtensionActivationRequest: 0x600000477300> Error Domain=OSSystemExtensionErrorDomain Code=4 "Extension not found in App bundle" UserInfo={NSLocalizedDescription=Extension not found in App bundle}

Extension is in the app bundle.
I would recommend that you create one provider extension for each extension. This will clearly define the logic in each extension and will make it easier down the road to debug issues.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Multiple providers within same network extension
 
 
Q