Post

Replies

Boosts

Views

Activity

Reply to 2 entries of Transparent App proxy
thank you Matt . Checked the logs LoadAllPref has succeeded. SavePref has succeeded. startVPNTunnelAndReturnError has succeeded . since all apis are returning success it should connect . but the behaviour is something different . are there any race conditions where apple networking components are still not fully ready and the tunnel connection is initiated and hence returns success but in actual it is failing (which we cannot debug since the apis are returning success) .
Sep ’20
Reply to 2 entries of Transparent App proxy
I am sure I have removed the network system extension completely . in fact on installation it goes in green state . After reboot (where I am starting the tunnel from daemon) the status in Network Preferences is yellow . I have to manually start it again . it seems to be consistent now . is there any requirement that the user must be logged in for the tunnel to be started ?
Sep ’20
Reply to Avoiding my own flows in Transparent App Proxy
excludedNetworkRules will not work here since 1 ). for client : source ip would be localhost and some volatile port and connecting to server ip & port 2) for proxy. : source ip would be localhost and some volatile port and connecting to server ip & port so no sure what rule to set here . there is no provision to filter by process id. /. token /bundle id, etc. so still not clear how to avoid these flows .
Aug ’20
Reply to Not able to see flows using NETransparentProxy
Use NETransparentProxyManager and not NETunnelProviderManager.after your code of save preferences call StartTheConnectionStartTheConnection(){-NETransparentProxyManager loadAllFromPreferences-From the array returned above point your NETransparentProxyManager object (TransProxy) to first element-NEVPNConnect connection = TransProxy.connection-connection.startVPNTunnel()}check if this helps .
May ’20
Reply to Starting App Proxy
thank you Matt !That helped; Now getting called at handleNewFlow (but with faults in between )few observations though:1 > with endpointWithHostname: 0(dot)0(dot)0(dot)0 (where i am trying to fetch all the flows to a port) i see the above error "prefix must be less than or equal to 32" and proxy is disconnected .2 > with endpointWithHostname: "0" : same problem as above3 > with endpointWithHostname: "" , gets called at handleNewFlow but on the way see fault "nw_endpoint_create_host_with_numeric_port invalid empty string hostname"so what is the right string to use in endpointWithHostname to get all the traffic to a port ?
May ’20