Bradley Bennett created GUACAMOLE-2288:
------------------------------------------
Summary: Provide runtime connection metadata through guacd
statistics socket
Key: GUACAMOLE-2288
URL: https://issues.apache.org/jira/browse/GUACAMOLE-2288
Project: Guacamole
Issue Type: Improvement
Components: guacd
Affects Versions: 1.6.1 [staging]
Reporter: Bradley Bennett
Add a *HAProxy-style* statistics socket to *guacd* to improve runtime
observability and simplify monitoring, debugging, and performance analysis.
The implementation could createa single Unix domain socket owned guacd.
Consumers can query this socket to retrieve information about active connection
processes and sessions in a structured format (JSON).
The socket could provide information such as:
* Connection process PID
* Connection ID/UUID
* Protocol (RDP, SSH, VNC, etc.)
* Session start time/uptime
* Username
* Host/port
* Connection state
* Traffic counters (bytes sent/received)
To avoid creating a socket per connection process, the design could be extend
the existing socket pair between guacd process forked connection processes.
This allows connection processes to publish additional session details
(username, host, port, counters, etc.) to the guacd, which then aggregates and
exposes the information through a single statistics interface.
The user credentials associated with the socket connection can be used to
control access to sensitive information. For example, non-root users may be
restricted from viewing usernames or credentials.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)