Hi,
I'm responsible for extending my company's Firewall application with MacOS support. The easiest and fastest way requires a simple API similar to netmap/nfq in Unix/Linux systems or NDIS/WinDivert in Windows platform where
All network traffic passing NIC's or WiFi adapter should beforwarded to our FW application,
FW application should process the raw packets with its own connection tracking mechanism, modify them if needed, generate new ones if needed,
FW application should inject forwarded or new packets to continue their ways.
In other words, the required API should stand between NIC/WiFi driver and networking stack and allow packet manipulation. My questions follow:
I can't decide on which method to focus further, throughout three alternatives;
kext - It can satisfy the requirements, but deprecated, difficult to progress and have no guarantee to be applicable in future versions of MacOS, am I right ?
networkingdriverkit - It can satisfy the requirements, am I right ?
networkextension - can it satisfy the requirements? Also there is a serious performance problem as mentioned in https://developer.apple.com/forums/thread/757071.
Can anyone help me to decide on the most proper method for?
Thanks.