Posts

Post not yet marked as solved
2 Replies
180 Views
Hi, in my Extension FilterDataProvider class that is inherited from NEFilterDataProvider i am trying to insert logs into my CoreData entity, but when i insert it gives me error "NSCocoaErrorDomain: -513 "reason": Unable to write to file opened Readonly Any suggestions please to update the read write permission i already have tried this way but no luck let description = NSPersistentStoreDescription(url: storeURL) description.shouldInferMappingModelAutomatically = true description.shouldMigrateStoreAutomatically = true description.setOption(false as NSNumber, forKey: NSReadOnlyPersistentStoreOption) ?
Posted
by mabubakar.
Last updated
.
Post not yet marked as solved
7 Replies
232 Views
Hello, i am trying to record logs in my network extension class, and then i want to read it in my application class, i.e. viewModel. However, i am unable to read the data. I have tried different ways like UserDefaults, Keychain, FileManager, NotificationCenter and CoreData. I have also used Appgroups but still there is blocker for reading data outside the scope of Extension class.
Posted
by mabubakar.
Last updated
.
Post marked as solved
8 Replies
625 Views
Looking forward to read SourceAppId from packetFlow.readPacketObjects() of my PacketTunnelProvider. Note: I've implemented the Per app VPN too. looking forward for the further steps, regards:
Posted
by mabubakar.
Last updated
.
Post not yet marked as solved
3 Replies
413 Views
Hi, We are writing a vpn based filter network extension app for closed group which is provided over managed devices. Our algorithm and filter works fine but we are facing an issue with identifying the source application for a specific request from the tunnel. packetFlow.readPacketObjects provides a packet but packet.metaData is always nil We also tried using content filter extension and it provides correct bundle if for the source application but it execute independently on the system and we can not figure out a way to transfer control between extensions. Also, When trying to enable both capabilities (tunnel provide and content filter) seem impossible because in the plist of extension we can only define 1 NSExtensionPrincipalClass Thank you for the help in advance
Posted
by mabubakar.
Last updated
.