Error in socket communication with SystemExtension (PacketTunnelProvider)

Hi,

Platform: MacOs 10.15.6

I am working on modifying my legacy remote access solution to make use of PacketTunnelProvider SystemExtension.
Both my app and the extension are not sandboxed.
I need to transfer many messages between my app and the extension.
As I am dealing with a legacy code, I have some restrictions and have to make use of unix domain sockets to make data transfer between app and extension possible.

When I try to test my application, I find that system extension is not able to read data from the socket even if the write operation from other end is successful. Ideally this should not be an issue as the extension and app are not sandboxed.

Do I need any special entitlement for my extension so that I can get rid of this issue?

Thanks
Where have you placed the listening socket in the file system?

Is this a SOCK_STREAM socket? Or a SOCK_DGRAM one?

Are you sure you set the permissions correctly?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Error in socket communication with SystemExtension (PacketTunnelProvider)
 
 
Q