I am seeing an issue with NETransparentProxyProvider where the extension successfully transitions from sleep to wake, but stops receiving handleNewFlow(_:) calls.
Only below two methods gets called, We don't apply rules in these methods:
override func wake()
override func sleep(completionHandler: @escaping () -> Void)
This breaking complete proxy workflow as it stops intercepting traffics.
We are not observing this issues always.
FYI: com.apple.developer.endpoint-security.client is not present in .entitlement file. I am not sure adding this will help.
- Any possibilities nesessionmanager might fail to re-bind the traffic rules for this extensions?
- Any thing we can do to avoid this issues?