[ 
https://issues.apache.org/jira/browse/GUACAMOLE-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Jumper resolved GUACAMOLE-2288.
------------------------------------
    Resolution: Done

> 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
>            Reporter: Bradley Bennett
>            Priority: Major
>             Fix For: 1.6.1 [staging]
>
>
> 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)

Reply via email to