You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by krogac <ro...@gmail.com> on 2020/11/29 16:42:17 UTC

Send notification @ to administrators

Hello,

there is any solution to send notification @ when anyone use "connections"
in Guacamole?



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Send notification @ to administrators

Posted by krogac <ro...@gmail.com>.
Thanks Nick! I'll be waiting for code.



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Send notification @ to administrators

Posted by sciUser <sh...@securitycentric.net>.
You will need a few items for this, its not as simple as you think it maybe.
We have a product called Provisioner v2.0 which handles all the connection
request first then passing it to Guacamole, this allows us to control user
accounts and all the functions Guacamole natively comes with.  
In our Provisioner we know when someone connects and disconnects from a
session.  

You can build an application (3rd party) that process the connection first,
then passes it to Guacamole; you will be able to control the events, and
those event emailed to you using a local smtp (postfix) system. 

Hope this puts you on the correct path.

Thank You



-----
A Cybersecurity Enablement Company 
We don't just run you through the motions, Our labs teach you how to think! 
Known good Guacamole  installations

--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Send notification @ to administrators

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Dec 2, 2020 at 6:04 AM krogac <ro...@gmail.com> wrote:

> I studied the manual and did not find an option there how to add sending
> smtp
> notifications
>
>
The manual doesn't contain any specific examples of how to send SMTP
notifications, just the basics of how to implement an Event Listener that
takes actions based on certain events. You would need to implement an Event
Listener extension, including the bits that send SMTP notifications. I've
got one in the works right now that I'm trying to get finished up - if I
get it done I'll post the link to the code, here.

-Nick

Re: Send notification @ to administrators

Posted by krogac <ro...@gmail.com>.
I studied the manual and did not find an option there how to add sending smtp
notifications



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Send notification @ to administrators

Posted by krogac <ro...@gmail.com>.
Thanks!



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Send notification @ to administrators

Posted by Nick Couchman <vn...@apache.org>.
On Sun, Nov 29, 2020 at 11:42 AM krogac <ro...@gmail.com> wrote:

> Hello,
>
> there is any solution to send notification @ when anyone use "connections"
> in Guacamole?
>
>
There is no "stock" functionality that supports this; however, the
functionality is there to implement it fairly easily through Event
Listeners:

http://guacamole.apache.org/doc/gug/event-listeners.html

There are four basic event listeners available:
- AuthenticationSuccessEvent
- AuthenticationFailureEvent
- TunnelConnectEvent
- TunnelCloseEvent

The TunnelConnectEvent is the one that would be fired when a connection is
established, and could be acted upon in whatever way desired to notify an
admin that someone has connected to a tunnel (e.g. SMTP e-mail).

-Nick