Post

Replies

Boosts

Views

Activity

Reply to dns proxy sys ext process can take > 1 minute to respawn
Thanks Matt for the reply. Is there anything out of the ordinary going on in your provider that the system may be trying to clean up before respawning the System Extension? For example, if you take a blank NEDNSProxyProvider and start it on a fresh test machine, does it take the same amount of time to respawn as your application? Minimised my project with NEDNSProxyProvider only and inside handleUDPFlow, doing nothing but return true directly like blew, same behaviour reproduced. Interesting thing is that when it happens, the respawn time is constant at around one minute five seconds (after sys ext process got killed). But if you rest it for a while before the next process kill, it might return back to normal again until you keep trying for multiple times (< 10 times normally). import NetworkExtension class DNSProxyProvider: NEDNSProxyProvider {   override func startProxy(options:[String: Any]? = nil, completionHandler: @escaping (Error?) -> Void) { completionHandler(nil)   }       override func stopProxy(with reason: NEProviderStopReason, completionHandler: @escaping () -> Void) {     completionHandler()   }       override func sleep(completionHandler: @escaping () -> Void) {     completionHandler()   }   override func wake() {   }   // MARK: Flow Handling & filtering   override func handleNewFlow(_ flow: NEAppProxyFlow) -> Bool {     if flow is NEAppProxyTCPFlow {       return false     } else if let udpFlow = flow as? NEAppProxyUDPFlow {       return self.handleUDPFlow(udpFlow)     }     return false   }       @available(macOS 10.15, *)   private func handleUDPFlow(_ flow: NEAppProxyUDPFlow) -> Bool {     return true   } } Also, does this same thing reproduce on multiple machines? Tried on a fresh installed Big Sur 11.6.2, same thing reproduced.
Topic: App & System Services SubTopic: Drivers Tags:
Feb ’22
Reply to netbiosd cpu usage > 100% after appproxy sys extension restarted
Thanks Matt for the suggestion. Submitted TSI 9915482 and uploaded system diagnosis via Feedback Assistant.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to dns proxy sys ext process can take > 1 minute to respawn
Thanks Matt for the reply. Is there anything out of the ordinary going on in your provider that the system may be trying to clean up before respawning the System Extension? For example, if you take a blank NEDNSProxyProvider and start it on a fresh test machine, does it take the same amount of time to respawn as your application? Minimised my project with NEDNSProxyProvider only and inside handleUDPFlow, doing nothing but return true directly like blew, same behaviour reproduced. Interesting thing is that when it happens, the respawn time is constant at around one minute five seconds (after sys ext process got killed). But if you rest it for a while before the next process kill, it might return back to normal again until you keep trying for multiple times (< 10 times normally). import NetworkExtension class DNSProxyProvider: NEDNSProxyProvider {   override func startProxy(options:[String: Any]? = nil, completionHandler: @escaping (Error?) -> Void) { completionHandler(nil)   }       override func stopProxy(with reason: NEProviderStopReason, completionHandler: @escaping () -> Void) {     completionHandler()   }       override func sleep(completionHandler: @escaping () -> Void) {     completionHandler()   }   override func wake() {   }   // MARK: Flow Handling & filtering   override func handleNewFlow(_ flow: NEAppProxyFlow) -> Bool {     if flow is NEAppProxyTCPFlow {       return false     } else if let udpFlow = flow as? NEAppProxyUDPFlow {       return self.handleUDPFlow(udpFlow)     }     return false   }       @available(macOS 10.15, *)   private func handleUDPFlow(_ flow: NEAppProxyUDPFlow) -> Bool {     return true   } } Also, does this same thing reproduce on multiple machines? Tried on a fresh installed Big Sur 11.6.2, same thing reproduced.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to dns proxy sys ext process can take > 1 minute to respawn
TSI submitted: Follow-up: 794081746
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to iOS failed to launch dnsproxy network extension and no network anymore
Those device are running our app released a couple of years ago. If I try fresh install this old version app on a device, it will just fail with the prompt saying this app cannot be installed because its integrity could not be verified. So it should be the provisioning profile built into that app binary expire already. Thanks Richard
Replies
Boosts
Views
Activity
May ’22