Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Detecting connection type from BDL  (Read 7007 times)
Huy H.
Posts: 45


« on: January 21, 2019, 07:55:47 pm »

In our current setup, are allowing the GDC to connect to the application either through direct SSH, or via GAS http connection.  We are running into a situation where we would like to determine which connection type was used by the frontend to reach our application.  We've search various documentation, but couldn't find a supported API call to determine the connection type.  If anyone knows of one, please let us know.

As a current work-around (not sure if this is the best approach), but we notice that in the uaproxy log, there are quite a few environment variables that's setup by GAS.  For example: $FGLASXCF, $FGL_VMPROXY_SESSION_ID, $FGL_VMPROXY_CONNECTOR_URI to new a few.  We could detect whether if these environment variables are available to determine if it was a GAS or SSH connection.
Leo S.
Four Js
Posts: 126


« Reply #1 on: June 28, 2019, 12:01:07 am »

For the records,
this has been answered in the EAP 2019 mailing list.
FGL_VMPROXY_SESSION_ID or FGL_WEBSERVER_HTTP_USER_AGENT can be queried with fgl_getenv()
Leo
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines