Post

Replies

Boosts

Views

Activity

Comment on Can't create outbound TCP connection from NEFilterDataProvider
Hi Matt, Thanks for the reply. Indeed, looks like connections made from an NEFilterControlProvider do work. (It would be helpful if the docs for NEFilterDataProvider mentioned that its implementation of the stream-creation methods is designed to fail.) However, it seems that an NEFilterDataProvider is disallowed from writing to the filesystem at all, even in a shared app group container; is that right? My goal is to log network activity happening on the device, and it appears that an NEFilterDataProvider is the most capable agent for this (making it possible to ascertain new connections, their terminations, and also classify such traffic such as based on destination port or address). NEFilterControlProvider is significantly more limited in that regard. As such, I was hoping I could use an NEFilterControlProvider as a bridge for exfiltrating these data, but it looks like I'm pushing on a rope here—XPC is unavailable on iOS, and neither named pipes nor plain files seem writable by the NEFilterDataProvider. Can you suggest an alternative approach? thanks, -ben
Apr ’22