Hi,
we have observed in BigSur that if proxy-server fails which is provided in system settings then NSURLSessionDownloadTask falls back to go direct.
So is there a way to find whether NSURLSessionDownloadTask response has come through proxy or direct. ?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Not able to startTunnel from App proxy provider or NETunnelProvider , when there is no network on the machine.
Whenever I am starting tunnels , I get change of status to disconnected.
in the system log I get as below
[com.apple.networkextension:] NESMVPNSession[Primary Tunnel:XXXXX:YYYYY:(null)] in state NESMVPNSessionStateIdle: received start message
[com.apple.networkextension:] NESMVPNSession[Primary Tunnel:XXXXX:YYYYY:(null)]: Leaving state NESMVPNSessionStateIdle
[com.apple.networkextension:] NESMVPNSession[Primary Tunnel:XXXXX:YYYYY:(null)]: Entering state NESMVPNSessionStatePreparingNetwork
[com.apple.networkextension:] NESMVPNSession[Primary Tunnel:XXXXX:YYYYY:(null)]: No network available
[com.apple.networkextension:] NESMTransparentProxySession[Primary Tunnel:XXXXX:YYYYY:(null)]: Leaving state NESMVPNSessionStatePreparingNetwork
[com.apple.networkextension:] NESMTransparentProxySession[Primary Tunnel:XXXXX:YYYYY:(null)]: Entering state NESMVPNSessionStateStopping, timeout 20 seconds
Please let me know is there a way to start tunnels when there is no network ?
Hi,
We have implemented NETransparentProxyProvider with following network Rules:
includedNetworkRules = [NENetworkRule(remoteNetwork: nil, remotePrefix: 0, localNetwork: nil, localPrefix: 0, protocol: .TCP, direction: .outbound) ,
NENetworkRule(remoteNetwork: nil, remotePrefix: 0, localNetwork: nil, localPrefix: 0, protocol: .UDP, direction: .outbound) ]
Now on the same machine I have started the webserver like: python -m SimpleHTTPServer
Now if I execute "curl 127.0.0.1:8000" or "curl localhost:8000", I don't see any flows captured by NETransparentProxyProvider, but I see request reaching properly to the web server, and if I execute "curl example.com", I see flows related to it.
Please let me know how to capture flows of local network in NETransparentProxyProvider.
Thanks