Hi,
i have a daemon service written in Objective-C and C++.
i need to detect user change events and reboot my service.
I'm using SCDynamicStoreKeyCreateConsoleUser and get notifications for user switch events but not for fast user switch events.
is there a way to reliably subscribe to all kinds of user switch events including VNC connection?
Post
Replies
Boosts
Views
Activity
My macOS application utilizing NEDNSProxyProvider.
i have a requirement to intercept only DNS requests of a certain query type, while others are expected to continue to their respective origin.
For TCP there are two kinds of extensions NEAppProxyProvider and NETransparentProxyProvider. The latter is capable of returning NO from handleNewFlow causing the flow to proceed to communicate directly with the flow’s ultimate destination, instead of closing the flow.
Is there a way to configure NEDNSProxyProvider to work in transparent mode for letting the flow to proceed to communicate directly?
Current NEDNSProxyProvider limitation of dropping the connection when NO is returned requies me to open new socket and proxy the requests which causes noticable performance degradation under load.