Posts

Post not yet marked as solved
5 Replies
4.5k Views
I am trying to run Simple TunnelHowever there are couple of issues and the app never functions properly:1. Running tunnel_server on OSX El Capitan is successful but what is the server address that needs to be specified on the client: newManager.protocolConfiguration?.serverAddress = ?Specifying the IP address of the machine where the server is running, doesn't help and the app remains in "Connecting State".Keeping it default as "TunnelService" doesn't help, though I can a bonjour service getting published.I also see utun interface getting created on client but packets don't get transmitted. What is it that I am not doing right?Here are the client logs:Aug 24 16:22:55 iPhone nesessionmanager[119] <Notice>: NESMVPNSession[Demo VPN:1A7C2543-C547-4F08-AAD8-8D191716B912]: Received a start command from SimpleTunnel[2297] Aug 24 16:22:55 iPhone nesessionmanager[119] <Notice>: NESMVPNSession[Demo VPN:1A7C2543-C547-4F08-AAD8-8D191716B912]: status changed to connecting Aug 24 16:22:55 iPhone SimpleTunnel[2297] <Error>: __58-[NEVPNConnection updateSessionInfoWithCompletionHandler:]_block_invoke: Failed to retrieve connectTime Aug 24 16:22:55 iPhone configd[34] <Notice>: network changed Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0: BSSID changed to 00:24:6c:7c:99:c1 Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0: channel changed to 1 Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0::IO80211Interface::postMessage bssid changed Aug 24 16:23:05 iPhone kernel[0] <Notice>: 029894.768641 wlan0.A[3228] updateLinkQualityMetrics@1984:Report LQM to User Land 50, fAverageRSSI -85 Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0: BSSID changed to 6c:f3:7f:fa:bf:51 Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0: channel changed to 157,+1 Aug 24 16:23:05 iPhone kernel[0] <Notice>: en0::IO80211Interface::postMessage bssid changed Aug 24 16:23:05 iPhone kernel[0] <Notice>: 029894.779174 wlan0.A[3229] configureRoamingProfile@1211:Roam profile is already in effect (profile=3) Aug 24 16:23:05 iPhone wifid[39] <Error>: WiFi:[462151385.824608]: __WiFiLQAMgrSetCurrentNetwork: SSID: Guest BSSID: 0:24:6c:7c:99:c1 RSSI: -57 ApEnv: 4 Aug 24 16:23:19 iPhone nesessionmanager[119] <Notice>: NESMVPNSession[Demo VPN:1A7C2543-C547-4F08-AAD8-8D191716B912]: Received a stop command from SimpleTunnel[2297] with reason 1 Aug 24 16:23:19 iPhone nesessionmanager[119] <Notice>: NESMVPNSession[Demo VPN:1A7C2543-C547-4F08-AAD8-8D191716B912]: status changed to disconnecting Aug 24 16:23:19 iPhone kernel[0] <Notice>: SIOCPROTODETACH_IN6: utun0 error=6 Aug 24 16:23:19 iPhone SimpleTunnel[2297] <Error>: __58-[NEVPNConnection updateSessionInfoWithCompletionHandler:]_block_invoke: Failed to retrieve connectTime Aug 24 16:23:19 iPhone nesessionmanager[119] <Notice>: NESMVPNSession[Demo VPN:1A7C2543-C547-4F08-AAD8-8D191716B912]: status changed to disconnected, last stop reason Stop command received Aug 24 16:23:19 iPhone SimpleTunnel[2297] <Error>: __58-[NEVPNConnection updateSessionInfoWithCompletionHandler:]_block_invoke: Failed to retrieve connectTime Aug 24 16:23:19 iPhone symptomsd[117] <Error>: nw_interface_get_agents SIOCGIFAGENTIDS failed for interface "utun0" (index 11, type other): [6] Device not configured Aug 24 16:23:19 iPhone configd[34] <Notice>: network changed Aug 24 16:23:19 iPhone symptomsd[117] <Error>: nw_interface_get_agents SIOCGIFAGENTIDS failed for interface "utun0" (index 11, type other): [6] Device not configured2. How to see logs from the extensions? Logs from print don't get printed on console? How to debug the extensions then?3. Not sure if it is a bug in XCODE 7beta 5 but as soon as I switch on app groups in all targets and add it in app-ids and provisioning profile, the app fails to run on device complaining "Entitlements are invalid"
Posted Last updated
.
Post not yet marked as solved
2 Replies
5.6k Views
Is there a way to access routing table on iOS9? I see an app on app store "System Guard" that displays routing table. Is this achieveable on iOS9 using the new Network Extension Framework?
Posted Last updated
.