Random global network outage triggered by NEFilterDataProvider extension – only reboot helps, reinstall doesn't

I’m encountering a persistent issue with my Network Extension (specifically NEFilterDataProvider) and would really appreciate any insights.

The extension generally works as expected, but after some time — especially after sleep/wake cycles or network changes — a global network outage occurs. During this state, no network traffic works: pings fail, browsers can’t load pages, etc. As soon as I stop the extension (by disabling it in System Preferences), the network immediately recovers. If I re-enable it, the outage returns instantly.

I’ve also noticed that once this happens, the extension stops receiving callbacks like handleNewFlow(), and reinstalling the app or restarting the extension doesn’t help. The only thing that resolves the issue is rebooting the system. After reboot, the extension works fine again — until the problem reoccurs later.

I asked AI about this behavior, and it suggested the possibility that the kernel might have marked the extension as untrusted, causing the system to intentionally block all network traffic as a safety mechanism.

Has anyone experienced similar behavior with NEFilterDataProvider? Could there be a way to detect or prevent this state without rebooting? Is there any logging or diagnostic data I should collect when it happens again?

Any guidance or pointers would be greatly appreciated. Thanks in advance!

Answered by DTS Engineer in 886081022
I've submitted new FB22576068

Thanks!

I’m gonna ask you to retry on 26.5b4 (25F5068a). This isn’t just a random request. I followed a multi-step path from your bug to a bug from another third-party. We made changes based on that, and they’ve just reported that they can no longer reproduce the problem with the latest beta.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

On FB22576068: This is resolved

Cool.

However, I've added a new sysdiagnose to FB19734992.

Hmmm. Due to the confusing cluster of bugs about these issues, FB19734992 has kinda fallen by the wayside. Normally I’d work to get it back on track, but in this case I think it’s best if you start from scratch. That is:

Feel free to mention FB19734992, but stress that this bug still reproduces with the latest system.

Once your done, please reply back here with the bug number.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Random global network outage triggered by NEFilterDataProvider extension – only reboot helps, reinstall doesn't
 
 
Q