Could you elaborate on that? What do you mean by "claim the app or routes that you need"?
I want to use PacketTunnelProvider to basically log all in- or outgoing network packets. Any pointers in the right direction are very welcome :)
Post
Replies
Boosts
Views
Activity
Thank you for your reply and the useful information.
I ended up creating a new thread https://developer.apple.com/forums/thread/716813.
Any help would be very welcome :).
Thank you for your response and all the effort you put into the explanations.
As far as I can see, the applySettings: method as well as the NEFilterSettings class are marked API_UNAVAILABLE(ios, tvOS). So I can't use them, since we're operating on iOS devices only.
If it helps, this is the code we currently use to enable the filter:
let filterManager = NEFilterManager.shared()
try await filterManager.loadFromPreferences()
if filterManager.providerConfiguration == nil {
let config = NEFilterProviderConfiguration()
config.filterBrowsers = true
config.filterSockets = true
filterManager.providerConfiguration = config
}
filterManager.isEnabled = true
try await filterManager.saveToPreferences()
Any updates? We're noticing more and more network traffic that is not fed to an active NEFilterDataProvider. For example, if you ping the device with the filter running from another device in the same network, that network activity also doesn't show up.
It might be worth reiterating that the overall system of database sharing works without issue on devices where FamilySharing is not enabled. So I would boldly claim that there should be no major mistake in the implementation from my side.