Hi Experts,
I know there are replacements for KAUTH, socket and IP filters in system extension according to https://developer.apple.com/support/kernel-extensions/.
Could you please share with me the replacement for interface filters in the network extension? thanks.
Take a look at NetworkExtension filter packet providers (
NEFilterPacketProvider
). The
NEFilterPacketHandler
callback is given both the interface (via the
interface
parameter) and the link-level header (at the start of the buffer pointed to be
packetBytes
).
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"