Hi,
I am trying to develop a Firewall using the new Network Extension API, since the KExt API will be deprecated soon.
The new API provides everything I need through the NEFilterDataProvider, but that only works for TCP and UDP sockets.
NEFilterPacketProvider captures packets for all protocols, but it does not provide any other information about the packet. My question is, then, how would I go about, for example, blocking all outgoing non-TCP/UDP packets coming from a certain App? More specifically, how can I tie a Packet to its corresponding App using the NEFilterPacketProvider? Am I even using the right NEProvider class at all?
Thanks!
I am trying to develop a Firewall using the new Network Extension API, since the KExt API will be deprecated soon.
The new API provides everything I need through the NEFilterDataProvider, but that only works for TCP and UDP sockets.
NEFilterPacketProvider captures packets for all protocols, but it does not provide any other information about the packet. My question is, then, how would I go about, for example, blocking all outgoing non-TCP/UDP packets coming from a certain App? More specifically, how can I tie a Packet to its corresponding App using the NEFilterPacketProvider? Am I even using the right NEProvider class at all?
Thanks!