Let's say Mac has two Internet connections. One is LAN, the other is Wifi. LAN is primaryInterface. In NE Transparent Proxy provider, I want to split tunnel based on App/Process or destination IP address. For example, in [MyNEAppProxyProvider(subclass of NEAppProxyProvider) handleNewFlow:flow], if the destination IP is IP1, I want this traffc to go through Wifi. So I call BSD bind() to Wifi address, connect() to IP1, then transfer data between flow and the new connection(via Wifi). Is it possbile to do it in this way? Any help would be appreciated.
Post
Replies
Boosts
Views
Activity
My question is how can I use NETransparentProxy to proxy a specific App's traffic without knowing its network traffic destination information?For example, for most of web accessing, we know the destination port is 80 or 443. We can set the detination port 80 and 443 to NETransparentProxyNetworkSettings.includedNetworkRules, in [NEAppProxyProvider handleNewFlow] method, we can figure out which App the traffic belongs to via NEAppProxyFlow.metaData, then we can decide if we want to proxy it or not.However, for some Apps, especially for those Video/Audio Apps like Zoom, we don't know the network destination info, then how can we proxy its network traffic?Thanks,Xin
In System Preferences -> Sharing, we can see and change Computer Name, like "Bob's Macbook Pro", the system will convert it to Local Hostname like "Bobs-Macbook-Pro". Is there any documents describe how to convert the special characters in Computer Name to Local Hostname? Thanks,xhu
First of all, it's only for Developer ID App, not for Mac Store App.We have legacy Cocoa Application A. We don't want to embed the System Extensions in it because the changing would be too much. Instead, we're thinking of developing the other container App B to embed the System Extensions, and adding B to A as Helper App (like Build Phase->Copy Bundle Resources). Then A application can simply launch B application to enable the System Extensions. I want to know if it's actually feasible? Could it pass Notarization? Thanks,Xin