In the good old times of Kernel Extensions, when using a socket filter, it was possible to be informed that a socket entered the listen state.
Now, with the NEFilterDataProvider API there does not seem to be an obvious or intuitive way to be notified about this "event".
Questions:
Now, with the NEFilterDataProvider API there does not seem to be an obvious or intuitive way to be notified about this "event".
Questions:
Is a new flow supposed to be created for a listen "event"?
If this is the case, are we supposed to check that the flow is an incoming one with a nil remote endpoint?
without mentioning in which cases the endpoint object would be nil.This endpoint object may be nil when [NEFilterDataProvider handleNewFlow:] is invoked;