Forum Discussion

ddaniel's avatar
ddaniel
Icon for Making Connections rankMaking Connections
4 hours ago

Are there any APIs for local/client information?

Are there any approved ways to query Cato SDP client information on the local workstation?  (FYI - My clients are 90% Windows).  For example I would like to query things like:
session info:  public IP address (before Cato), Public IP address after Cato, session time, stats, any DEM/session quality info, connect/disconnect events, other(?)

I don't know if this is available in any supported way.  I had a local API with my last VPN vendor and found it useful.  I don't cuirrent know if this is available and/or if anyone else would find it useful.

I can use the current graph API to go to the cloud - find my session, and get details, but wondered if any of this is available locally.


 

1 Reply

  • ddaniel's avatar
    ddaniel
    Icon for Making Connections rankMaking Connections

    I will reply to my own post to add a little more clarity and maybe someone can give me a workaround.  
    I am trying to make sure my windows laptops are adjusting their timezone when users travel, or when we send machines to other offices in the USA.
    I can use a geolocation api like ipapi.co (example) but my users are connected via SDP client (or in Socket connected site.)   So, any queries to a geolocation API use the external public IP of the Cato POP.  
    We are in a busy area so sometimes SDP users get send to a less busy Cato POP which may be in our route traffic out a network in a different time zone.  This is currently happening.  I cannot tell my users approximate location with accuracy if they are using the SDP client.
    unfortunately, a Cato split tunnel policy will not allow me to use a specific domain name for the split tunnel.  I can also not use a Cato custom App that points to that domain name.
    So if I could easily query the local ISP public IP address from the SDP client, etc.  I could lookup THAT IP Address with a geolocation ASPI.

    So, is there a way to query the local ISPs public address on a windows workstation?
    Is there an API for the Cato (SDP) client?

    I can use the general Cato client and get the information, but it seems like the information should be available locally.

    I am open to ideas.  Thank you.