confirmedcode / Lockdown-iOS

GNU General Public License v3.0
886 stars 86 forks source link

Firewall stops working without displaying updated status #46

Closed dantheman3333 closed 3 years ago

dantheman3333 commented 4 years ago

Every couple hours see ads while the firewall icon reports that it's on. Turning it off and on again gets it to work again.

iOS 13.3.1

relikd commented 3 years ago

I have a question, does this start to happen after using an app that have many web requests? You can try it with this app Stack Colors! which has especially many requests (over 100 per minute).

I stumbled upon this issue while trying to resolve why my app was crashing and it seems NEKit (or GCDAsyncSocket) can't handle that many requests. Memory piles up fast, 15 MB is the limit for network extension. Then the VPN server crashes leaving you with a disabled firewall.

If someone from the team could verify this… Let me know if you find a solution for the memory allocations. Already trying to pinpoint the root cause. Will update this if I succeed.

relikd commented 3 years ago

@kramer425 May I ask why you closed this issue? Was it resolved since your initial post or does it still happen?