Commit Graph

240 Commits

Author SHA1 Message Date
Michael Jumper
534f4f45c1 GUAC-340: Add support for "username" parameter type. 2014-11-23 12:57:19 -08:00
Michael Jumper
48382b8285 GUAC-915: Clean up all log messages within Guacamole. 2014-10-30 17:12:54 -07:00
Michael Jumper
ca199e1ea6 GUAC-914: Migrate to logback and latest SLF4J. Read logback.xml from GUACAMOLE_HOME if present. 2014-10-30 11:42:22 -07:00
Michael Jumper
c20adb46a9 GUAC-907: Log source address, using X-Forwarded-For if available (after validation). 2014-10-27 15:38:48 -07:00
Michael Jumper
6f81584aed GUAC-909: Log full exceptions only in debug level. Rephrase log messages. 2014-10-27 13:03:20 -07:00
Michael Jumper
770105de06 GUAC-909: Log "unsupported operation" exceptions at debug level. 2014-10-27 10:27:13 -07:00
Michael Jumper
b83c83c324 GUAC-906: Implement GuacamoleConnectionClosedException. Throw when read/write fails due to closure. 2014-10-26 15:14:35 -07:00
Michael Jumper
04ba001f15 GUAC-867: Add periodic keep-alive ping to ensure the session does not perish while a connection is active. 2014-10-13 03:25:31 -07:00
Michael Jumper
115f647f7a GUAC-878: Prefer WebSocket from JSR. Warn if HTTP used instead. 2014-10-12 22:17:59 -07:00
Michael Jumper
59356af44e GUAC-821: Properly handle null tunnels. 2014-10-12 21:52:36 -07:00
Michael Jumper
39ac1a191c GUAC-881: Properly handle missing parameter values. 2014-10-12 21:10:51 -07:00
Michael Jumper
e26a4c3b7d GUAC-878: Add support for Jetty 9.0.3 WebSocket. 2014-10-10 15:12:49 -07:00
Michael Jumper
b6f45c585f GUAC-878: Generalize loading of WebSocket classes in WebSocketSupportLoader. Note that Jetty support is specific to Jetty 8. Update documentation. 2014-10-10 13:54:20 -07:00
Michael Jumper
d3e625d0a3 GUAC-442: Remove enable-websocket property (enable by default). 2014-10-09 21:24:08 -07:00
Michael Jumper
b7548675df GUAC-442: Clean up packages. 2014-10-09 21:16:37 -07:00
Michael Jumper
8b13bfdb80 GUAC-442: Move base JSR implementation of WebSocket tunnel to guacamole-common. 2014-10-09 21:06:07 -07:00
Michael Jumper
c30afba91d GUAC-442: Tie new WebSocket implementation into authentication layer. Generalize tunnel requests. 2014-10-09 21:01:34 -07:00
Michael Jumper
99f59a6a4c GUAC-442: Add annotation-driven onMessage() as well - Jetty will not call MessageHandler.onMessage() at least when annotations are used. Not sure if this is different for programmatically-loaded endpoints. 2014-10-09 19:06:19 -07:00
Michael Jumper
7927ffa9b0 GUAC-442: Add JSR 356 implementation of WebSocket tunnel. 2014-10-09 18:22:14 -07:00
Michael Jumper
68f7afb8c9 GUAC-442: Restrict access to WebSocket tunnel using filter (rather than RestrictedHttpServlet like the rest of guac). 2014-10-09 15:29:45 -07:00
Michael Jumper
16b0f047ea GUAC-442: Use filter to authenticate and restrict access. 2014-10-09 14:50:08 -07:00
Michael Jumper
01b366bc19 GUAC-798: Call init() of superclass in WebSocket implementations. 2014-10-09 11:15:06 -07:00
Michael Jumper
2db4a783d7 GUAC-832: Use "enable-http-auth" property to control whether the "Authorization" header is considered during authentication. 2014-08-22 14:47:21 -07:00
Michael Jumper
045d5375e3 GUAC-832: Pull username/password from Authorization header if HTTP Basic is used. 2014-08-22 14:33:59 -07:00
Michael Jumper
84ac5cad99 GUAC-672: Add "telnet" to list of known protocols. Associate terminal icon with telnet. 2014-05-07 15:58:21 -07:00
Michael Jumper
0537a6afbc GUAC-609: Migrate outbound clipboard integration to new streams. 2014-04-10 16:41:05 -07:00
Michael Jumper
84b505dcb7 GUAC-589: Fix regression in clipboard support - do not handle Ctrl-V unless clipboard integration is actually enabled. 2014-03-28 15:00:06 -07:00
Michael Jumper
e993e96752 GUAC-565: Remove experimental code from master (it will be restored in a branch for the corresponding epic). 2014-03-24 22:23:58 -07:00
Michael Jumper
11b8e3673a GUAC-558: Send proper error when unable to connect due to lack of context. 2014-03-21 19:35:04 -07:00
Michael Jumper
1289c16869 GUAC-558: Send status along WebSocket when end-of-stream is received. 2014-03-21 11:06:31 -07:00
Michael Jumper
5eb84053cd GUAC-553: Send Guacamole status code as sole content of WebSocket close frame. 2014-03-19 11:26:09 -07:00
Michael Jumper
1a4ddb5660 GUAC-547: Send status code as header. Use status code wherever GuacamoleExceptions are handled. 2014-03-18 17:23:16 -07:00
Michael Jumper
390ddcd694 Synchronize on getContents() as well, for sake of consistency and predictability. 2014-03-06 10:43:42 -08:00
Michael Jumper
e4f67e5aff Fix possible NPE in MonitoringGuacamoleReader read() and readInstruction(). 2014-03-06 10:42:25 -08:00
Michael Jumper
3c8d72653e Add controlling enable-clipboard-integration property. 2014-03-03 09:48:32 -08:00
Michael Jumper
65451a37f8 Use monitor to wait for changes, rather than universally waiting for entire timeout period. 2014-03-03 09:48:32 -08:00
Michael Jumper
4334cf7d76 Use servlet to retrieve clipboard state. 2014-03-03 09:48:31 -08:00
Michael Jumper
2a178d11fc Move to clipboard state tracking, rather than events. 2014-03-03 09:48:31 -08:00
Michael Jumper
893a3f0d84 Route all instructions through monitoring reader. 2014-03-03 09:48:29 -08:00
Michael Jumper
a11103ce4c Implement GuacamoleReader which intercepts instructions. 2014-03-03 09:48:29 -08:00
Michael Jumper
d528ca10dc Add clipboard change event and listener. 2014-03-03 09:48:28 -08:00
James Muehlner
3a91dfbb68 Ticket #362: Added parentID property for connection and group. 2014-03-02 22:38:19 -08:00
Michael Jumper
76fce28d01 #518: Close connection on end-of-stream. 2014-02-03 11:54:04 -08:00
Michael Jumper
f57d2c167e #518: Send roughly-appropriate codes and close the WebSocket connection when errors are encountered. 2014-02-03 11:36:27 -08:00
Michael Jumper
c2852d4a22 Re-license guacamole as MIT. 2013-12-28 20:32:51 -08:00
Michael Jumper
b722cf5977 Add support for DPI within size instruction and client info. 2013-12-27 00:35:21 -08:00
James Muehlner
b2f00879b8 Ticket #362: Moved all HTTP Exception handling into AOP magic. 2013-12-21 21:37:56 -08:00
James Muehlner
f32bb558e3 Ticket #362: Using FORBIDDEN for GuacamoleSecurityException. 2013-12-20 15:12:23 -08:00
James Muehlner
8e3a73a9a2 Ticket #362: Fixed inefficient map iteration. 2013-12-19 19:16:12 -08:00
James Muehlner
f115ae934c Ticket #362: Fixed comment. 2013-12-16 17:05:06 -08:00