Hello Team,
I want to know if there's a way to uninstall System Extension without prompting the user for authorisation.
These are ways I found to uninstall System Extension
The deactivationRequest api prompts the user for uninstalling System extension.
If I use Apple script to drag and drop the application[which is embedded with System Extension] to trash also prompts the user.
The only workaround that doesn't prompt is by disabling SIP and using the systemextensionsctl uninstall command.
I want to know if there's any other solution that can uninstall System Extension without prompting the user for authorisation.
Thanks!
Post
Replies
Boosts
Views
Activity
I explored Apple's Filtering Network Traffic sample.
I noticed for me, FilterDataProvider's startFilter method is called only when I make filterManager.grade = .inspector before calling filterManager.saveToPreferences.
Could someone help why the startFilter is not called when I leave the filterManager's grade property with it's default value. i.e NEFilterManagerGradeFirewall?
https://developer.apple.com/documentation/networkextension/filtering_network_traffic
By calling the deactivationRequest from the main app bundle, we see Privacy & Security prompts for TouchID to deactivate the System Extension.
We want to know if there's way to avoid that prompt. And also need know why the prompt pops up to deactivate our own app's System Extension component.
We even tried to call the deactivate request from Daemon which contain the root access. We still see the prompt.
https://developer.apple.com/documentation/systemextensions/ossystemextensionrequest/deactivationrequest(forextensionwithidentifier:queue:)
I tried to unit test the method "FilterDataProvider.handleNewFlow" from the sample project
https://developer.apple.com/documentation/networkextension/filtering_network_traffic
I always get this below issue,
Undefined symbols:
Linker command failed with exit code 1 (use -v to see invocation)
Could someone help with it?
Hey team,
We have a use case where we need to block all the MacOS network traffic except our app's network traffic.
But I don't find any apis from apple with that capability.
I see using NEFilterSettings, we can allow the required endpoints and block all the other endpoints we get from handleNewFlow(_ flow:. But this api has a control in endpoint level not the app level.
Could you suggest if we have any other apis for this use case? Thanks